The graphics plane does not support XRGB8888, which is the default mode X uses for 24-bit color. Because of this, X must be set to use 16-bit color, which has a measurable performance penalty. Make the video plane the primary plane as it natively supports XRGB8888. An alternative approach to add XRGB8888 to the graphics plane is discussed in [1], as well as in patch 2.
[1] https://lore.kernel.org/dri-devel/[email protected]/ Changes in v2: - Allow specifying blend mode default - Advertise coverage instead of premulti, since that's what the hardware supports. - Set default blend mode to none since that's what the default was before this series. Sean Anderson (4): drm/drm_blend: Allow specifying blend mode default drm: zynqmp: Check property creation status drm: zynqmp: Make the video plane primary drm: zynqmp: Add blend mode property to graphics plane drivers/gpu/drm/drm_blend.c | 22 ++++++------- drivers/gpu/drm/xlnx/zynqmp_kms.c | 53 +++++++++++++++++++++++++------ include/drm/drm_blend.h | 26 +++++++++++++-- 3 files changed, 78 insertions(+), 23 deletions(-) -- 2.35.1.1320.gc452695387.dirty
