Searched refs:csc_ctl (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 440 u32 csc_ctl; in vc4_hdmi_csc_setup() local 442 csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, in vc4_hdmi_csc_setup() 456 csc_ctl |= VC4_HD_CSC_CTL_ENABLE; in vc4_hdmi_csc_setup() 457 csc_ctl |= VC4_HD_CSC_CTL_RGB2YCC; in vc4_hdmi_csc_setup() 458 csc_ctl |= VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, in vc4_hdmi_csc_setup() 470 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc4_hdmi_csc_setup() 475 u32 csc_ctl; in vc5_hdmi_csc_setup() local 477 csc_ctl = 0x07; /* RGB_CONVERT_MODE = custom matrix, || USE_RGB_TO_YCBCR */ in vc5_hdmi_csc_setup() 509 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc5_hdmi_csc_setup()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 1166 u32 csc_ctl; in vc4_hdmi_csc_setup() local 1174 csc_ctl = VC4_SET_FIELD(VC4_HD_CSC_CTL_ORDER_BGR, in vc4_hdmi_csc_setup() 1188 csc_ctl |= VC4_HD_CSC_CTL_ENABLE; in vc4_hdmi_csc_setup() 1189 csc_ctl |= VC4_HD_CSC_CTL_RGB2YCC; in vc4_hdmi_csc_setup() 1190 csc_ctl |= VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, in vc4_hdmi_csc_setup() 1202 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc4_hdmi_csc_setup() 1408 u32 csc_ctl = VC5_MT_CP_CSC_CTL_ENABLE | VC4_SET_FIELD(VC4_HD_CSC_CTL_MODE_CUSTOM, in vc5_hdmi_csc_setup() local 1427 csc_ctl |= VC4_SET_FIELD(VC5_MT_CP_CSC_CTL_FILTER_MODE_444_TO_422_STANDARD, in vc5_hdmi_csc_setup() 1454 HDMI_WRITE(HDMI_CSC_CTL, csc_ctl); in vc5_hdmi_csc_setup()
|
Completed in 7 milliseconds