Searched refs:fourccs (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_format_helper.c | 798 static bool is_listed_fourcc(const uint32_t *fourccs, size_t nfourccs, uint32_t fourcc) in is_listed_fourcc() argument 800 const uint32_t *fourccs_end = fourccs + nfourccs; in is_listed_fourcc() 802 while (fourccs < fourccs_end) { in is_listed_fourcc() 803 if (*fourccs == fourcc) in is_listed_fourcc() 805 ++fourccs; in is_listed_fourcc() 874 u32 *fourccs = fourccs_out; in drm_fb_build_fourcc_list() local 886 if (is_listed_fourcc(fourccs_out, fourccs - fourccs_out, fourcc)) { in drm_fb_build_fourcc_list() 888 } else if (fourccs == fourccs_end) { in drm_fb_build_fourcc_list() 903 *fourccs = fourcc; in drm_fb_build_fourcc_list() 904 ++fourccs; in drm_fb_build_fourcc_list() [all …]
|
/linux-6.1.9/drivers/gpu/drm/tidss/ |
D | tidss_kms.c | 113 const u32 *fourccs = dispc_plane_formats(tidss->dispc, &fourccs_len); in tidss_dispc_modeset_init() local 204 fourccs, fourccs_len); in tidss_dispc_modeset_init() 241 fourccs, fourccs_len); in tidss_dispc_modeset_init()
|
D | tidss_dispc.c | 305 u32 *fourccs; member 1897 WARN_ON(!dispc->fourccs); in dispc_plane_formats() 1901 return dispc->fourccs; in dispc_plane_formats() 2699 dispc->fourccs = devm_kcalloc(dev, ARRAY_SIZE(dispc_color_formats), in dispc_init() 2700 sizeof(*dispc->fourccs), GFP_KERNEL); in dispc_init() 2701 if (!dispc->fourccs) in dispc_init() 2710 dispc->fourccs[num_fourccs++] = dispc_color_formats[i].fourcc; in dispc_init()
|