| /drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
| A D | dcn401_dpp_cm.c | 96 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp401_set_cursor_attributes() local 99 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp401_set_cursor_attributes() 100 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp401_set_cursor_attributes() 107 CUR0_MODE, color_format, in dpp401_set_cursor_attributes() 111 if (color_format == CURSOR_MODE_MONO) { in dpp401_set_cursor_attributes() 121 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp401_set_cursor_attributes()
|
| /drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
| A D | dcn20_dpp.c | 343 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp2_set_cursor_attributes() local 347 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp2_set_cursor_attributes() 348 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp2_set_cursor_attributes() 355 CUR0_MODE, color_format, in dpp2_set_cursor_attributes() 359 if (color_format == CURSOR_MODE_MONO) { in dpp2_set_cursor_attributes()
|
| /drivers/gpu/drm/amd/display/dc/hubp/dcn32/ |
| A D | dcn32_hubp.c | 115 attr->width, attr->color_format); in hubp32_cursor_set_attributes() 134 CURSOR_MODE, attr->color_format, in hubp32_cursor_set_attributes() 145 switch (attr->color_format) { in hubp32_cursor_set_attributes()
|
| /drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
| A D | dcn10_dpp.c | 417 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp1_set_cursor_attributes() local 421 CUR0_MODE, color_format, in dpp1_set_cursor_attributes() 424 if (color_format == CURSOR_MODE_MONO) { in dpp1_set_cursor_attributes()
|
| /drivers/gpu/drm/panel/ |
| A D | panel-raydium-rm67191.c | 315 int color_format = color_format_from_dsi_format(dsi->format); in rad_panel_enable() local 359 ret = mipi_dsi_dcs_set_pixel_format(dsi, color_format); in rad_panel_enable() 360 dev_dbg(dev, "Interface color format set to 0x%x\n", color_format); in rad_panel_enable()
|
| /drivers/gpu/drm/amd/display/dc/dce/ |
| A D | dce_ipp.c | 78 switch (attributes->color_format) { in dce_ipp_cursor_set_attributes() 101 if (attributes->color_format == CURSOR_MODE_MONO) { in dce_ipp_cursor_set_attributes()
|
| /drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
| A D | dcn30_dpp.c | 388 enum dc_cursor_color_format color_format = cursor_attributes->color_format; in dpp3_set_cursor_attributes() local 392 if (color_format == CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA || in dpp3_set_cursor_attributes() 393 color_format == CURSOR_MODE_COLOR_UN_PRE_MULTIPLIED_ALPHA) { in dpp3_set_cursor_attributes() 400 CUR0_MODE, color_format, in dpp3_set_cursor_attributes() 404 if (color_format == CURSOR_MODE_MONO) { in dpp3_set_cursor_attributes() 414 dpp_base->att.cur0_ctl.bits.mode = color_format; in dpp3_set_cursor_attributes()
|
| /drivers/gpu/drm/bridge/synopsys/ |
| A D | dw-hdmi.c | 1002 int color_format = 0; in hdmi_video_sample() local 1007 color_format = 0x01; in hdmi_video_sample() 1010 color_format = 0x03; in hdmi_video_sample() 1013 color_format = 0x05; in hdmi_video_sample() 1016 color_format = 0x07; in hdmi_video_sample() 1021 color_format = 0x09; in hdmi_video_sample() 1025 color_format = 0x0B; in hdmi_video_sample() 1029 color_format = 0x0D; in hdmi_video_sample() 1033 color_format = 0x0F; in hdmi_video_sample() 1037 color_format = 0x16; in hdmi_video_sample() [all …]
|
| /drivers/gpu/drm/bridge/ |
| A D | nwl-dsi.c | 259 int color_format; in nwl_dsi_config_dpi() local 282 color_format = nwl_dsi_get_dpi_pixel_format(dsi->format); in nwl_dsi_config_dpi() 283 if (color_format < 0) { in nwl_dsi_config_dpi() 286 return color_format; in nwl_dsi_config_dpi() 291 nwl_dsi_write(dsi, NWL_DSI_PIXEL_FORMAT, color_format); in nwl_dsi_config_dpi()
|
| /drivers/gpu/drm/mediatek/ |
| A D | mtk_dpi.c | 80 enum mtk_dpi_out_color_format color_format; member 675 mtk_dpi_config_color_format(dpi, dpi->color_format); in mtk_dpi_set_display_mode() 829 dpi->color_format = mtk_dpi_bus_fmt_color_format(out_bus_format); in mtk_dpi_bridge_atomic_check()
|
| A D | mtk_dp.c | 543 enum dp_pixelformat color_format) in mtk_dp_set_color_format() argument 548 switch (color_format) { in mtk_dp_set_color_format() 559 color_format); in mtk_dp_set_color_format()
|
| /drivers/gpu/drm/bridge/cadence/ |
| A D | cdns-mhdp8546-core.h | 309 u32 color_format; member
|
| A D | cdns-mhdp8546-core.c | 1474 mhdp->display_fmt.color_format)) in cdns_mhdp_get_modes() 1504 switch (fmt->color_format) { in cdns_mhdp_get_bpp() 1708 pxlfmt = mhdp->display_fmt.color_format; in cdns_mhdp_configure_video() 2482 mhdp->display_fmt.color_format = DRM_COLOR_FORMAT_RGB444; in cdns_mhdp_probe()
|
| /drivers/gpu/drm/arm/display/komeda/ |
| A D | komeda_pipeline.h | 329 u8 color_format, color_depth; member
|
| A D | komeda_pipeline_state.c | 802 st->color_format = BIT(__ffs(avail_formats)); in komeda_improc_validate()
|
| /drivers/gpu/drm/arm/display/komeda/d71/ |
| A D | d71_component.c | 1083 if (st->color_format == DRM_COLOR_FORMAT_YCBCR420) in d71_improc_update() 1085 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR422) in d71_improc_update() 1087 else if (st->color_format == DRM_COLOR_FORMAT_YCBCR444) in d71_improc_update()
|
| /drivers/gpu/drm/amd/display/dc/ |
| A D | dc_hw_types.h | 621 enum dc_cursor_color_format color_format; member
|
| /drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
| A D | dcn20_hubp.c | 612 attr->width, attr->color_format); in hubp2_cursor_set_attributes() 626 CURSOR_MODE, attr->color_format, in hubp2_cursor_set_attributes() 641 hubp->att.cur_ctl.bits.mode = attr->color_format; in hubp2_cursor_set_attributes()
|
| /drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
| A D | dcn10_hubp.c | 1172 attr->width, attr->color_format); in hubp1_cursor_set_attributes() 1186 CURSOR_MODE, attr->color_format, in hubp1_cursor_set_attributes()
|
| /drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
| A D | dcn30_hwseq.c | 1041 switch (cursor_attr.color_format) { in dcn30_apply_idle_power_optimizations() 1120 switch (cursor_attr->color_format) { in dcn30_does_plane_fit_in_mall()
|
| /drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
| A D | dcn32_resource_helpers.c | 48 switch (pipe_ctx->stream->cursor_attributes.color_format) { in dcn32_helper_calculate_mall_bytes_for_cursor()
|
| /drivers/media/platform/chips-media/wave5/ |
| A D | wave5-hw.c | 776 u32 color_format = 0; in wave5_vpu_dec_register_framebuffer() local 852 color_format = 1; in wave5_vpu_dec_register_framebuffer() 860 (color_format << 19) | in wave5_vpu_dec_register_framebuffer()
|
| /drivers/gpu/drm/amd/display/amdgpu_dm/ |
| A D | amdgpu_dm_plane.c | 1377 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in amdgpu_dm_plane_handle_cursor_update()
|
| A D | amdgpu_dm.c | 9215 attributes.color_format = CURSOR_MODE_COLOR_PRE_MULTIPLIED_ALPHA; in amdgpu_dm_update_cursor()
|
| /drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
| A D | dcn32_hwseq.c | 678 switch (hubp->curs_attr.color_format) { in dcn32_update_mall_sel()
|