|
AM62Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
88 Dss_DctrlVpSafetyCbData safetyCbData,
132 #define IOCTL_DSS_DCTRL_SET_PATH (DSS_DCTRL_IOCTL_BASE + 0x01U)
150 #define IOCTL_DSS_DCTRL_CLEAR_PATH (DSS_DCTRL_IOCTL_BASE + 0x02U)
167 #define IOCTL_DSS_DCTRL_SET_VP_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x03U)
183 #define IOCTL_DSS_DCTRL_SET_OVERLAY_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x04U)
201 #define IOCTL_DSS_DCTRL_SET_LAYER_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x05U)
212 #define IOCTL_DSS_DCTRL_SET_VP_CSC_COEFF (DSS_DCTRL_IOCTL_BASE + 0x06U)
225 #define IOCTL_DSS_DCTRL_SET_ADV_VP_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x07U)
245 #define IOCTL_DSS_DCTRL_SET_LCD_BLANK_TIMING_PARAMS \
246 (DSS_DCTRL_IOCTL_BASE + 0x08U)
261 #define IOCTL_DSS_DCTRL_SET_VP_SAFETY_CHK_PARAMS \
262 (DSS_DCTRL_IOCTL_BASE + 0x09U)
276 #define IOCTL_DSS_DCTRL_GET_VP_ERROR_STATS (DSS_DCTRL_IOCTL_BASE + 0x0AU)
289 #define IOCTL_DSS_DCTRL_SET_GLOBAL_DSS_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x0BU)
303 #define IOCTL_DSS_DCTRL_STOP_VP (DSS_DCTRL_IOCTL_BASE + 0x0CU)
319 #define IOCTL_DSS_DCTRL_REGISTER_SYNCLOST_CB (DSS_DCTRL_IOCTL_BASE + 0x0DU)
336 #define IOCTL_DSS_DCTRL_REGISTER_LINENUM_CB (DSS_DCTRL_IOCTL_BASE + 0x0EU)
348 #define IOCTL_DSS_DCTRL_SET_DSI_PARAMS (DSS_DCTRL_IOCTL_BASE + 0x0FU)
355 #define IOCTL_DSS_DCTRL_IS_DP_CONNECTED (DSS_DCTRL_IOCTL_BASE + 0x10U)
693 Dss_DctrlVpSafetyCbData *safetyCbData);
759 pathInfo->
edgeInfo[i].startNode = 0U;
769 if(
NULL != syncOpCfg)
796 if(
NULL != overlayParams)
808 if(
NULL != layerParams)
820 if(
NULL != advVpParams)
830 if(
NULL != lcdBlankTimingParams)
840 if(
NULL != regionSafetyChkCfg)
849 Dss_DctrlVpSafetyCbData *safetyCbData)
851 if(
NULL != safetyCbData)
854 safetyCbData->capturedSign = 0U;
861 if(
NULL != vpSafetyChkParams)
875 if(
NULL != vpErrorStats)
890 if(
NULL != globalDssParams)
900 if(
NULL != syncLostCbParams)
911 if(
NULL != lineNumCbParams)
uint32_t safetyViolation[CSL_DSS_VP_SAFETY_REGION_MAX]
Definition: dss_dctrl.h:551
static void CSL_dssVpLcdSignalPolarityCfgInit(CSL_DssVpLcdSignalPolarityCfg *polarityCfg)
CSL_DssVpLcdSignalPolarityCfg structure init function.
Definition: csl_dssVideoPort.h:918
uint32_t isPrimary
Definition: dss_dctrl.h:386
Configuration for doing safety checks.
Definition: csl_dssTop.h:260
#define CSL_DSS_OVERLAY_ID_1
Overlay 1.
Definition: csl_dssTop.h:123
static void Dss_dctrlPathInfoInit(Dss_DctrlPathInfo *pathInfo)
Dss_DctrlPathInfo structure init function.
Definition: dss_dctrl.h:751
Structure containing DSS path information. This structure is used as an argument to IOCTL_DSS_DCTRL_S...
Definition: dss_dctrl.h:368
uint32_t regionId
Definition: dss_dctrl.h:496
uint32_t colorbarEnable
Definition: dss_dctrl.h:426
Timing configuration for the LCD output.
Definition: csl_dssVideoPort.h:431
static void CSL_dssSafetyChkCfgInit(CSL_DssSafetyChkCfg *safetyCfg)
CSL_DssSafetyChkCfg structure init function.
Definition: csl_dssTop.h:359
CSL_DssCbaCfg cbaCfg
Definition: dss_dctrl.h:567
static void CSL_dssCbaCfgInit(CSL_DssCbaCfg *cbaCfg)
CSL_DssCbaCfg structure init function.
Definition: csl_dssCommon.h:483
uint32_t enabled
Definition: dss_dctrl.h:384
static void Dss_dctrlOverlayParamsInit(Dss_DctrlOverlayParams *overlayParams)
Dss_DctrlOverlayParams structure init function.
Definition: dss_dctrl.h:793
Structure containing advance Video Port information. This structure is used as an argument to IOCTL_D...
Definition: dss_dctrl.h:466
uint32_t syncVpIds[CSL_DSS_VP_ID_MAX]
Definition: dss_dctrl.h:392
static void Dss_dctrlLineNumCbParamsInit(Dss_DctrlLineNumCbParams *lineNumCbParams)
Dss_DctrlLineNumCbParams structure init function.
Definition: dss_dctrl.h:908
CSL_DssVpLcdSignalPolarityCfg lcdPolarityCfg
Definition: dss_dctrl.h:409
Fvid2_GraphEdgeInfo edgeInfo[DSS_DCTRL_MAX_EDGES]
Definition: dss_dctrl.h:371
Structure containing DSS sync operations configuration. This structure is used as a part of Dss_Dctrl...
Definition: dss_dctrl.h:383
uint32_t referenceSign
Definition: dss_dctrl.h:498
uint32_t syncLost
Definition: dss_dctrl.h:549
Structure containing coefficients for Color Space Conversion.
Definition: csl_dssTop.h:220
Blanking Timing parameters for the LCD.
Definition: csl_dssVideoPort.h:525
#define NULL
Define NULL if not defined.
Definition: csl_types.h:100
static void CSL_dssVpLcdBlankTimingCfgInit(CSL_DssVpLcdBlankTimingCfg *blankCfg)
CSL_DssVpLcdBlankTimingCfg structure init function.
Definition: csl_dssVideoPort.h:962
static void Dss_dctrlLcdBlankTimingParamsInit(Dss_DctrlLcdBlankTimingParams *lcdBlankTimingParams)
Dss_DctrlLcdBlankTimingParams structure init function.
Definition: dss_dctrl.h:827
uint32_t overlayId
Definition: dss_dctrl.h:424
void * appData
Definition: dss_dctrl.h:537
CSL_DssCscCoeff cscCoeff
Definition: dss_dctrl.h:456
uint32_t vpId
Definition: dss_dctrl.h:467
static void Dss_dctrlVpSafetyCbDataInit(Dss_DctrlVpSafetyCbData *safetyCbData)
Dss_DctrlVpSafetyCbData structure init function.
Definition: dss_dctrl.h:848
Dss_DctrlSyncOpCfg syncOpCfg
Definition: dss_dctrl.h:414
uint32_t laneSpeedInKbps
Definition: dss_dctrl.h:612
uint32_t vpId
Definition: dss_dctrl.h:404
uint32_t securityViolation
Definition: dss_dctrl.h:553
Dss_DctrlRegionSafetyChkCfg regionSafetyChkCfg
Definition: dss_dctrl.h:530
#define DSS_DCTRL_MAX_EDGES
Defines maximum number of edges for allocation. This is derived by looking at all possible DSS connec...
Definition: am62px/dss_soc.h:198
uint32_t cscPos
Definition: dss_dctrl.h:453
Structure containing DSI Output parameters. This structure is used as an argument to IOCTL_DSS_DCTRL_...
Definition: dss_dctrl.h:607
static void Dss_dctrlGlobalDssParamsInit(Dss_DctrlGlobalDssParams *globalDssParams)
Dss_DctrlGlobalDssParams structure init function.
Definition: dss_dctrl.h:887
void(* Dss_DctrlSafetyErrCbFxn)(uint32_t vpId, Dss_DctrlVpSafetyCbData safetyCbData, void *appData)
Video Port safety error callback function prototype.
Definition: dss_dctrl.h:87
Dss_DctrlSyncLostCbFxn syncLostCbFxn
Definition: dss_dctrl.h:580
static void Dss_dctrlOverlayLayerParamsInit(Dss_DctrlOverlayLayerParams *layerParams)
Dss_DctrlOverlayLayerParams structure init function.
Definition: dss_dctrl.h:804
CSL_DssSafetyChkCfg safetyChkCfg
Definition: dss_dctrl.h:500
static void Dss_dctrlVpParamsInit(Dss_DctrlVpParams *vpParams)
Dss_DctrlVpParams structure init function.
Definition: dss_dctrl.h:781
Polarity of Active Video, Pixel Clock, HSync and VSync signals for the LCD.
Definition: csl_dssVideoPort.h:365
#define CSL_DSS_VP_ID_MAX
Video Port Max Id.
Definition: csl_dssTop.h:142
CSL_DssOverlayCfg overlayCfg
Definition: dss_dctrl.h:428
static void Dss_dctrlAdvVpParamsInit(Dss_DctrlAdvVpParams *advVpParams)
Dss_DctrlAdvVpParams structure init function.
Definition: dss_dctrl.h:818
void * appData
Definition: dss_dctrl.h:597
static void CSL_dssOverlayCfgInit(CSL_DssOverlayCfg *overlayCfg)
CSL_DssOverlayCfg structure init function.
Definition: csl_dssOverlay.h:270
static void CSL_dssGlobalMFlagCfgInit(CSL_DssGlobalMFlagCfg *mflagCfg)
CSL_DssGlobalMFlagCfg structure init function.
Definition: csl_dssCommon.h:473
static void CSL_dssVpLcdTdmCfgInit(CSL_DssVpLcdTdmCfg *tdmCfg)
CSL_DssVpLcdTdmCfg structure init function.
Definition: csl_dssVideoPort.h:894
uint32_t vpId
Definition: dss_dctrl.h:481
Structure containing Overlay information. This structure is used as an argument to IOCTL_DSS_DCTRL_SE...
Definition: dss_dctrl.h:423
CSL_DssVpLcdAdvSignalCfg lcdAdvSignalCfg
Definition: dss_dctrl.h:469
uint32_t numEdges
Definition: dss_dctrl.h:369
#define CSL_DSS_VP_SAFETY_REGION_MAX
Safety Region Max.
Definition: csl_dssVideoPort.h:222
uint32_t safetySignSeedVal
Definition: dss_dctrl.h:526
static void Dss_dctrlRegionSafetyChkCfgInit(Dss_DctrlRegionSafetyChkCfg *regionSafetyChkCfg)
Dss_DctrlRegionSafetyChkCfg structure init function.
Definition: dss_dctrl.h:837
Structure containing safety error callback data. This structure is returned by the driver .
Definition: dss_dctrl.h:509
static void Dss_dctrlVpErrorStatsInit(Dss_DctrlVpErrorStats *vpErrorStats)
Dss_DctrlVpErrorStats structure init function.
Definition: dss_dctrl.h:872
Structure containing Safety Check configuration of Video Port. This structure is used as an argument ...
Definition: dss_dctrl.h:523
CSL_DssVpLcdOpTimingCfg lcdOpTimingCfg
Definition: dss_dctrl.h:406
Dss_DctrlLineNumCbFxn lineNumCbFxn
Definition: dss_dctrl.h:595
uint32_t numOfLanes
Definition: dss_dctrl.h:610
uint32_t overlayId
Definition: dss_dctrl.h:438
uint32_t capturedSign
Definition: dss_dctrl.h:512
uint32_t vpId
Definition: dss_dctrl.h:451
DSS Global MFLAG Config parameters.
Definition: csl_dssCommon.h:208
void(* Dss_DctrlSyncLostCbFxn)(uint32_t vpId, void *appData)
Video Port sync loss callback function prototype.
Definition: dss_dctrl.h:72
#define CSL_DSS_VID_PIPE_ID_MAX
Video Pipeline Max Id.
Definition: csl_dssTop.h:110
Dss_DctrlSafetyErrCbFxn safetyErrCbFxn
Definition: dss_dctrl.h:533
Structure containing Sync Lost callback parameters. This structure is used as an argument to IOCTL_DS...
Definition: dss_dctrl.h:577
Structure containing Safety Check configuration for a particular region.
Definition: dss_dctrl.h:495
static void Dss_DctrlSyncOpCfgInit(Dss_DctrlSyncOpCfg *syncOpCfg)
Definition: dss_dctrl.h:765
uint32_t dvoFormat
Definition: dss_dctrl.h:483
Structure containing Video Port information. This structure is used as an argument to IOCTL_DSS_DCTRL...
Definition: dss_dctrl.h:403
Structure containing line number interrupt callback parameters. This structure is used as an argument...
Definition: dss_dctrl.h:592
Dss_DctrlVpSafetyCbData safetyCbData
Definition: dss_dctrl.h:535
uint32_t numSyncVpIds
Definition: dss_dctrl.h:394
#define CSL_DSS_VP_ID_1
Video Port 1.
Definition: csl_dssTop.h:138
uint32_t regionId
Definition: dss_dctrl.h:510
Structure containing Overlay layer information. This structure is used as an argument to IOCTL_DSS_DC...
Definition: dss_dctrl.h:437
Structure containing Video Port CSC information. This structure is used as an argument to IOCTL_DSS_D...
Definition: dss_dctrl.h:450
#define CSL_DSS_VP_SAFETY_REGION_0
Safety Region 0.
Definition: csl_dssVideoPort.h:214
uint32_t vpId
Definition: dss_dctrl.h:578
uint32_t vpId
Definition: dss_dctrl.h:524
void * appData
Definition: dss_dctrl.h:582
CSL_DssGlobalMFlagCfg globalMflagCfg
Definition: dss_dctrl.h:564
#define TRUE
Definition: csl_types.h:61
Configuration for DSS Overlay.
Definition: csl_dssOverlay.h:110
Structure containing global DSS Configuration. This structure is used as an argument to IOCTL_DSS_DCT...
Definition: dss_dctrl.h:563
Structure containing LCD Blank Timing Configuration. This structure is used as an argument to IOCTL_D...
Definition: dss_dctrl.h:480
uint32_t pipeLayerNum[CSL_DSS_VID_PIPE_ID_MAX]
Definition: dss_dctrl.h:440
CSL_DssVpLcdBlankTimingCfg lcdBlankTimingCfg
Definition: dss_dctrl.h:485
static void CSL_dssVpLcdAdvSignalCfgInit(CSL_DssVpLcdAdvSignalCfg *advSignalCfg)
CSL_DssVpLcdAdvSignalCfg structure init function.
Definition: csl_dssVideoPort.h:930
uint32_t vpId
Definition: dss_dctrl.h:593
static void Dss_dctrlSyncLostCbParamsInit(Dss_DctrlSyncLostCbParams *syncLostCbParams)
Dss_DctrlSyncLostCbParams structure init function.
Definition: dss_dctrl.h:897
static void Dss_dctrlVpSafetyChkParamsInit(Dss_DctrlVpSafetyChkParams *vpSafetyChkParams)
Dss_DctrlVpSafetyChkParams structure init function.
Definition: dss_dctrl.h:858
DSS CBA Config parameters.
Definition: csl_dssCommon.h:222
uint32_t instId
Definition: dss_dctrl.h:608
static void CSL_dssVpLcdOpTimingCfgInit(CSL_DssVpLcdOpTimingCfg *lcdCfg)
CSL_DssVpLcdOpTimingCfg structure init function.
Definition: csl_dssVideoPort.h:948
uint32_t vpId
Definition: dss_dctrl.h:547
void(* Dss_DctrlLineNumCbFxn)(uint32_t vpId, void *appData)
Video Port line number callback function prototype.
Definition: dss_dctrl.h:99
Advance Signal Configuration for the LCD.
Definition: csl_dssVideoPort.h:384
Structure containing Error Stats of Video Port. This structure is used as an argument to IOCTL_DSS_DC...
Definition: dss_dctrl.h:546
LCD Configuration for Time Division Multiplexing.
Definition: csl_dssVideoPort.h:308
#define FALSE
Definition: csl_types.h:62
CSL_DssVpLcdTdmCfg lcdTdmCfg
Definition: dss_dctrl.h:412
#define CSL_DSS_OVERLAY_LAYER_INVALID
Invalid Overlay Layer.
Definition: csl_dssOverlay.h:99