From: Andy Yan <andy.yan@xxxxxxxxxxxxxx> This is a preparation for the upcoming support for rk3588 vop. Patch 1 make the bpp calculation covery more format Patch 2 remove formats that are unsupported by cluster windows Patch 3 add more formats Patch 4 is a format table rename And I drop two patches that have applied by Heiko[0] [0]https://patchwork.kernel.org/project/linux-rockchip/cover/20231013122001.1594009-1-andyshrk@xxxxxxx/ Changes in v3: - add a bpp calculation function - split patch - add format check and convert Andy Yan (4): drm/rockchip: fix vop format bpp calculation drm/rockchip: remove the unsupported format of vop2 cluster window drm/rockchip: Add more format supported by vop2 drm/rockchip: rename windows format for vop2 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 71 +++++++++++++++----- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c | 55 ++++++++------- 2 files changed, 85 insertions(+), 41 deletions(-) -- 2.34.1