Re: [PATCH 0/2] drm: xlnx: zynqmp_kms: 16 bpp fixes for Xorg startup on AMD KV260

Mikko Rapeli
2025-12-19T12:30:15Z

Hi,

On Fri, Dec 19, 2025 at 01:59:14PM +0200, Tomi Valkeinen wrote:
> Hi Mikko,
>
> On 05/12/2025 14:37, Mikko Rapeli wrote:
> > Hi,
> >
> > Currently on default yocto images Xorg fails to start on AMD KV260
> > because 24/32 color depth gets detected but does not actually work.
> >
> > These two patches fix the issue and now 16 bpp gets detected
> > and Xorg starts and draws on external HDMI display using
> > kernel.org based linux-yocto kernel.
> >
> > Anatoliy Klymenko (1):
> > drm: xlnx: zynqmp_kms: Init fbdev with 16 bit color
> >
> > Mikko Rapeli (1):
> > drm: xlnx: zynqmp_kms: set preferred_depth to 16 bpp
> >
> > drivers/gpu/drm/xlnx/zynqmp_kms.c | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
>
> Did you notice the few already sent serieses on the list where the topic
> has been discussed?

> [PATCH] drm: xlnx: zynqmp_dp: Support DRM_FORMAT_XRGB8888
> [PATCH 0/3] drm: zynqmp: Make the video plane primary

Oh I wasn't aware of these.

> Or is there something else on KV260 that messes up the 24 bit color?

These look very similar and likely fix the X11 startup. I will give them
a try.

Cheers,

-Mikko