Home
last modified time | relevance | path

Searched refs:output_fmts (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/imx/
Dparallel-display.c124 u32 *output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts() local
133 output_fmts = kmalloc(sizeof(*output_fmts), GFP_KERNEL); in imx_pd_bridge_atomic_get_output_bus_fmts()
134 if (!output_fmts) in imx_pd_bridge_atomic_get_output_bus_fmts()
138 output_fmts[0] = di->bus_formats[0]; in imx_pd_bridge_atomic_get_output_bus_fmts()
140 output_fmts[0] = imxpd->bus_format; in imx_pd_bridge_atomic_get_output_bus_fmts()
142 return output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts()
/Linux-v5.15/drivers/gpu/drm/mediatek/
Dmtk_dpi.c126 const u32 *output_fmts; member
559 u32 *output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts() local
563 if (!dpi->conf->output_fmts) { in mtk_dpi_bridge_atomic_get_output_bus_fmts()
568 output_fmts = kcalloc(dpi->conf->num_output_fmts, sizeof(*output_fmts), in mtk_dpi_bridge_atomic_get_output_bus_fmts()
570 if (!output_fmts) in mtk_dpi_bridge_atomic_get_output_bus_fmts()
575 memcpy(output_fmts, dpi->conf->output_fmts, in mtk_dpi_bridge_atomic_get_output_bus_fmts()
576 sizeof(*output_fmts) * dpi->conf->num_output_fmts); in mtk_dpi_bridge_atomic_get_output_bus_fmts()
578 return output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts()
615 out_bus_format = dpi->conf->output_fmts[0]; in mtk_dpi_bridge_atomic_check()
797 .output_fmts = mt8173_output_fmts,
[all …]
/Linux-v5.15/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2536 u32 *output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts() local
2541 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2543 if (!output_fmts) in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2549 output_fmts[0] = MEDIA_BUS_FMT_FIXED; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2551 return output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2565 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY16_0_5X48; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2569 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY12_0_5X36; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2573 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY10_0_5X30; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2576 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY8_0_5X24; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2580 return output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts()
[all …]
/Linux-v5.15/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c294 unsigned int output_fmts = ATMEL_HLCDC_OUTPUT_MODE_MASK; in atmel_hlcdc_crtc_select_output_mode() local
312 output_fmts &= supported_fmts; in atmel_hlcdc_crtc_select_output_mode()
314 output_fmts |= supported_fmts; in atmel_hlcdc_crtc_select_output_mode()
317 if (!output_fmts) in atmel_hlcdc_crtc_select_output_mode()
321 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
/Linux-v5.15/drivers/gpu/drm/bridge/
Dite-it66121.c622 u32 *output_fmts; in it66121_bridge_atomic_get_output_bus_fmts() local
624 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in it66121_bridge_atomic_get_output_bus_fmts()
626 if (!output_fmts) in it66121_bridge_atomic_get_output_bus_fmts()
630 output_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in it66121_bridge_atomic_get_output_bus_fmts()
633 return output_fmts; in it66121_bridge_atomic_get_output_bus_fmts()