Searched refs:output_fmts (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | parallel-display.c | 61 u32 *output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts() local 70 output_fmts = kmalloc(sizeof(*output_fmts), GFP_KERNEL); in imx_pd_bridge_atomic_get_output_bus_fmts() 71 if (!output_fmts) in imx_pd_bridge_atomic_get_output_bus_fmts() 75 output_fmts[0] = di->bus_formats[0]; in imx_pd_bridge_atomic_get_output_bus_fmts() 77 output_fmts[0] = imxpd->bus_format; in imx_pd_bridge_atomic_get_output_bus_fmts() 79 return output_fmts; in imx_pd_bridge_atomic_get_output_bus_fmts()
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dpi.c | 146 const u32 *output_fmts; member 629 u32 *output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts() local 633 if (!dpi->conf->output_fmts) { in mtk_dpi_bridge_atomic_get_output_bus_fmts() 638 output_fmts = kcalloc(dpi->conf->num_output_fmts, sizeof(*output_fmts), in mtk_dpi_bridge_atomic_get_output_bus_fmts() 640 if (!output_fmts) in mtk_dpi_bridge_atomic_get_output_bus_fmts() 645 memcpy(output_fmts, dpi->conf->output_fmts, in mtk_dpi_bridge_atomic_get_output_bus_fmts() 646 sizeof(*output_fmts) * dpi->conf->num_output_fmts); in mtk_dpi_bridge_atomic_get_output_bus_fmts() 648 return output_fmts; in mtk_dpi_bridge_atomic_get_output_bus_fmts() 685 out_bus_format = dpi->conf->output_fmts[0]; in mtk_dpi_bridge_atomic_check() 920 .output_fmts = mt8173_output_fmts, [all …]
|
H A D | mtk_dp.c | 2460 u32 *output_fmts; in mtk_dp_bridge_atomic_get_output_bus_fmts() local 2463 output_fmts = kmalloc(sizeof(*output_fmts), GFP_KERNEL); in mtk_dp_bridge_atomic_get_output_bus_fmts() 2464 if (!output_fmts) in mtk_dp_bridge_atomic_get_output_bus_fmts() 2467 output_fmts[0] = MEDIA_BUS_FMT_FIXED; in mtk_dp_bridge_atomic_get_output_bus_fmts() 2468 return output_fmts; in mtk_dp_bridge_atomic_get_output_bus_fmts()
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_crtc.c | 417 unsigned int output_fmts; in atmel_hlcdc_crtc_select_output_mode() local 425 output_fmts = crtc->dc->desc->is_xlcdc ? ATMEL_XLCDC_OUTPUT_MODE_MASK : in atmel_hlcdc_crtc_select_output_mode() 437 output_fmts &= supported_fmts; in atmel_hlcdc_crtc_select_output_mode() 439 output_fmts |= supported_fmts; in atmel_hlcdc_crtc_select_output_mode() 442 if (!output_fmts) in atmel_hlcdc_crtc_select_output_mode() 446 hstate->output_mode = fls(output_fmts) - 1; in atmel_hlcdc_crtc_select_output_mode() 449 if (fls(output_fmts) > 3) { in atmel_hlcdc_crtc_select_output_mode()
|
/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 2652 u32 *output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts() local 2657 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2659 if (!output_fmts) in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2666 output_fmts[0] = MEDIA_BUS_FMT_FIXED; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2668 return output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2682 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY16_0_5X48; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2686 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY12_0_5X36; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2690 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY10_0_5X30; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2693 output_fmts[i++] = MEDIA_BUS_FMT_UYYVYY8_0_5X24; in dw_hdmi_bridge_atomic_get_output_bus_fmts() 2697 return output_fmts; in dw_hdmi_bridge_atomic_get_output_bus_fmts() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ite-it66121.c | 679 u32 *output_fmts; in it66121_bridge_atomic_get_output_bus_fmts() local 681 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in it66121_bridge_atomic_get_output_bus_fmts() 683 if (!output_fmts) in it66121_bridge_atomic_get_output_bus_fmts() 687 output_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in it66121_bridge_atomic_get_output_bus_fmts() 690 return output_fmts; in it66121_bridge_atomic_get_output_bus_fmts()
|
H A D | tc358767.c | 1905 u32 *output_fmts; in tc_edp_atomic_get_output_bus_fmts() local 1909 output_fmts = kcalloc(MAX_OUTPUT_SEL_FORMATS, sizeof(*output_fmts), in tc_edp_atomic_get_output_bus_fmts() 1911 if (!output_fmts) in tc_edp_atomic_get_output_bus_fmts() 1914 output_fmts[0] = MEDIA_BUS_FMT_RGB888_1X24; in tc_edp_atomic_get_output_bus_fmts() 1917 return output_fmts; in tc_edp_atomic_get_output_bus_fmts()
|