PDK API Guide for J721E

Introduction

These are display FVID2 APIs that can be called by the application. Display M2M driver supports additional IOCTLs from other modules/drivers and those are follows:

  1. IOCTLs from Display Controller Driver (Refer to Display Controller IOCTLs):
    • IOCTL_DSS_DCTRL_SET_OVERLAY_PARAMS
    • IOCTL_DSS_DCTRL_SET_LAYER_PARAMS
    • IOCTL_DSS_DCTRL_SET_GLOBAL_DSS_PARAMS
      • These Global Parameters are common across multiple driver handles across multiple DSS drivers like DISP, DCTRL and M2M.

Macros

#define IOCTL_DSS_M2M_SET_WB_PIPE_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0001U)
 Command to set DSS display M2M pipeline parameters. More...
 
#define IOCTL_DSS_M2M_SET_WB_PIPE_MFLAG_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0002U)
 Command to set MFLAG parameters for WB pipe. More...
 
#define IOCTL_DSS_M2M_GET_CURRENT_STATUS   (DSS_M2M_IOCTL_BASE + 0x0003U)
 Command to get the display status. More...
 
#define IOCTL_DSS_M2M_SET_WB_PIPE_CSC_COEFF   (DSS_M2M_IOCTL_BASE + 0x0004U)
 Command to program the CSC coefficients for WB Pipe. By default BT 601 coefficients are set. More...
 
#define IOCTL_DSS_M2M_SET_WB_PIPE_DMA_CFG   (DSS_M2M_IOCTL_BASE + 0x0005U)
 Command to program the write-back pipe DMA configuration parameters. More...
 
#define IOCTL_DSS_M2M_SET_PIPE_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0006U)
 Command to set DSS display pipeline parameters. More...
 
#define IOCTL_DSS_M2M_SET_PIPE_MFLAG_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0007U)
 Command to set MFLAG parameters for video pipe. More...
 
#define IOCTL_DSS_M2M_SET_PIPE_CSC_COEFF   (DSS_M2M_IOCTL_BASE + 0x0008U)
 Command to program the CSC coefficients for Video Pipe. By default BT 601 coefficients are set. More...
 

Macro Definition Documentation

◆ IOCTL_DSS_M2M_SET_WB_PIPE_PARAMS

#define IOCTL_DSS_M2M_SET_WB_PIPE_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0001U)

Command to set DSS display M2M pipeline parameters.

This IOCTL is used to program the DSS display parameters. Refer to structure Dss_WbPipeCfgParams for details on DSS parameters.

Parameters
cmdArgs[IN] Pointer of type Dss_WbPipeCfgParams
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_WB_PIPE_MFLAG_PARAMS

#define IOCTL_DSS_M2M_SET_WB_PIPE_MFLAG_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0002U)

Command to set MFLAG parameters for WB pipe.

This IOCTL can be used to set the MFLAG parameters for the given WB pipe.

Parameters
cmdArgs[IN] Pointer of type Dss_WbPipeMflagParams
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_GET_CURRENT_STATUS

#define IOCTL_DSS_M2M_GET_CURRENT_STATUS   (DSS_M2M_IOCTL_BASE + 0x0003U)

Command to get the display status.

This IOCTL can be used to get the display status like number of frames displayed, repeated, queued. dequeued, etc. Note: These counters will be reset either at the time of driver create or while starting the display operation. See respective counter comments for details.

Parameters
cmdArgs[IN] Pointer of type Dss_WbStatus
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_WB_PIPE_CSC_COEFF

#define IOCTL_DSS_M2M_SET_WB_PIPE_CSC_COEFF   (DSS_M2M_IOCTL_BASE + 0x0004U)

Command to program the CSC coefficients for WB Pipe. By default BT 601 coefficients are set.

Parameters
cmdArgs[IN] Pointer of type CSL_DssCscCoeff
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_WB_PIPE_DMA_CFG

#define IOCTL_DSS_M2M_SET_WB_PIPE_DMA_CFG   (DSS_M2M_IOCTL_BASE + 0x0005U)

Command to program the write-back pipe DMA configuration parameters.

Parameters
cmdArgs[IN] Pointer of type CSL_DssWbPipeDmaCfg
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_PIPE_PARAMS

#define IOCTL_DSS_M2M_SET_PIPE_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0006U)

Command to set DSS display pipeline parameters.

This IOCTL is used to program the DSS display parameters. Refer to structure Dss_PipeCfgParams for details on DSS parameters.

Parameters
cmdArgs[IN] Pointer of type Dss_PipeCfgParams
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_PIPE_MFLAG_PARAMS

#define IOCTL_DSS_M2M_SET_PIPE_MFLAG_PARAMS   (DSS_M2M_IOCTL_BASE + 0x0007U)

Command to set MFLAG parameters for video pipe.

This IOCTL can be used to set the MFLAG parameters for the given video pipe.

Parameters
cmdArgs[IN] Pointer of type Dss_PipeMflagParams
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code

◆ IOCTL_DSS_M2M_SET_PIPE_CSC_COEFF

#define IOCTL_DSS_M2M_SET_PIPE_CSC_COEFF   (DSS_M2M_IOCTL_BASE + 0x0008U)

Command to program the CSC coefficients for Video Pipe. By default BT 601 coefficients are set.

Parameters
cmdArgs[IN] Pointer of type Dss_PipeCscParams
cmdArgsStatus[OUT] NULL
Returns
FVID2_SOK if successful, else suitable error code