Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imx/ipuv3/
H A Dparallel-display.c60 u32 *output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts() local
69 output_fmts = kmalloc_obj(*output_fmts); in imx_pd_bridge_atomic_get_output_bus_fmts()
70 if (!output_fmts) in imx_pd_bridge_atomic_get_output_bus_fmts()
74 output_fmts[0] = di->bus_formats[0]; in imx_pd_bridge_atomic_get_output_bus_fmts()
76 output_fmts[0] = imxpd->bus_format; in imx_pd_bridge_atomic_get_output_bus_fmts()
78 return output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts()
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c160 const u32 *output_fmts; member
704 u32 *output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts() local
708 if (!dpi->conf->output_fmts) { in mtk_dpi_bridge_atomic_get_output_bus_fmts()
713 output_fmts = kcalloc(dpi->conf->num_output_fmts, sizeof(*output_fmts), in mtk_dpi_bridge_atomic_get_output_bus_fmts()
715 if (!output_fmts) in mtk_dpi_bridge_atomic_get_output_bus_fmts()
720 memcpy(output_fmts, dpi->conf->output_fmts, in mtk_dpi_bridge_atomic_get_output_bus_fmts()
721 sizeof(*output_fmts) * dpi->conf->num_output_fmts); in mtk_dpi_bridge_atomic_get_output_bus_fmts()
723 return output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts()
819 out_bus_format = dpi->conf->output_fmts[0]; in mtk_dpi_bridge_atomic_check()
1129 .output_fmts = mt8173_output_fmts,
[all …]
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_crtc.c418 unsigned int output_fmts; in atmel_hlcdc_crtc_select_output_mode() local
426 output_fmts = crtc->dc->desc->is_xlcdc ? ATMEL_XLCDC_OUTPUT_MODE_MASK : in atmel_hlcdc_crtc_select_output_mode()
438 output_fmts &= supported_fmts; in atmel_hlcdc_crtc_select_output_mode()
440 output_fmts |= supported_fmts; in atmel_hlcdc_crtc_select_output_mode()
443 if (!output_fmts) in atmel_hlcdc_crtc_select_output_mode()
447 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode()
450 if (fls(output_fmts) > 3) { in atmel_hlcdc_crtc_select_output_mode()
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-dp.c1767 u32 *output_fmts; in dw_dp_bridge_atomic_get_output_bus_fmts() local
1771 output_fmts = kcalloc(ARRAY_SIZE(dw_dp_output_formats), sizeof(*output_fmts), GFP_KERNEL); in dw_dp_bridge_atomic_get_output_bus_fmts()
1772 if (!output_fmts) in dw_dp_bridge_atomic_get_output_bus_fmts()
1795 output_fmts[j++] = fmt->bus_format; in dw_dp_bridge_atomic_get_output_bus_fmts()
1800 return output_fmts; in dw_dp_bridge_atomic_get_output_bus_fmts()
/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c1912 u32 *output_fmts; in tc_edp_atomic_get_output_bus_fmts() local
1916 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in tc_edp_atomic_get_output_bus_fmts()
1918 if (!output_fmts) in tc_edp_atomic_get_output_bus_fmts()
1921 output_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc_edp_atomic_get_output_bus_fmts()
1924 return output_fmts; in tc_edp_atomic_get_output_bus_fmts()