Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/disp: drop PSEUDO_YUV_FMT_LOOSE_TILED

Drop PSEUDO_YUV_FMT_LOOSE_TILED(), the macro is unused.

Reviewed-by: Jessica Zhang <jessica.zhang@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/688176/
Link: https://lore.kernel.org/r/20251114-dpu-formats-v3-8-cae312379d49@oss.qualcomm.com
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # qcm6490-fairphone-fp5
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

-20
-20
drivers/gpu/drm/msm/disp/mdp_format.c
··· 326 326 .tile_height = MDP_TILE_HEIGHT_DEFAULT \ 327 327 } 328 328 329 - #define PSEUDO_YUV_FMT_LOOSE_TILED(fmt, a, r, g, b, e0, e1, chroma, \ 330 - flg, fm, np, th) \ 331 - { \ 332 - .pixel_format = DRM_FORMAT_ ## fmt, \ 333 - .fetch_type = MDP_PLANE_PSEUDO_PLANAR, \ 334 - .alpha_enable = 0, \ 335 - .element = { (e0), (e1), 0, 0 }, \ 336 - .bpc_g_y = g, \ 337 - .bpc_b_cb = b, \ 338 - .bpc_r_cr = r, \ 339 - .bpc_a = a, \ 340 - .chroma_sample = chroma, \ 341 - .unpack_count = 2, \ 342 - .bpp = 2, \ 343 - .fetch_mode = fm, \ 344 - .flags = MSM_FORMAT_FLAG_UNPACK_ALIGN_MSB | flg, \ 345 - .num_planes = np, \ 346 - .tile_height = th \ 347 - } 348 - 349 329 #define PLANAR_YUV_FMT(fmt, bp, r, g, b, e0, e1, e2, chroma) \ 350 330 { \ 351 331 .pixel_format = DRM_FORMAT_ ## fmt, \