On Sat, 31 Oct 2026 at 00:43, MuXian Chen wrote: > DC's enum surface_pixel_format has no RGBA8888 (memory order A,B,G,R): > fill_dc_plane_info_and_addr() has no case for it and returns -EINVAL. > Yet rgb_formats[] and overlay_formats[] advertise DRM_FORMAT_RGBA8888, so > compositors (KWin on Wayland) pick it for layers with alpha and every > atomic commit fails once per frame, flooding dmesg with > > amdgpu 0000:06:00.0: [drm] *ERROR* Unsupported screen format RA24 > little-endian (0x34324152) > > and forcing a fallback to composition on every frame. > > Remove the two entries. No working configuration is lost: a plane that > advertises RGBA8888 can never convert it in fill_dc_plane_info_and_addr(), > on any display generation. > > Tested on Raphael 610M (DCN 3.1.5): before, ~240 atomic commits per second > failed with -EINVAL; after, the plane format list no longer contains RA24 > and dmesg is clean. > > Link: https://gitlab.freedesktop.org/drm/amd/-/work_items/5339
Hi, thanks for the report! The corresponding change is in https://gitlab.freedesktop.org/drm/amd/-/work_items/5339 and it adds support for DRM_FORMAT_RGBA8888. We would prefer to drop this patch. Thanks! Regards, Wayne Lin
