[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1492510440.27392.27.camel@redhat.com>
Date: Tue, 18 Apr 2017 12:14:00 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: Michel Dänzer <michel@...nzer.net>
Cc: Ilia Mirkin <imirkin@...m.mit.edu>, amd-gfx@...ts.freedesktop.org,
open list <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
Daniel Vetter <daniel.vetter@...el.com>
Subject: Re: [RfC PATCH] drm: fourcc byteorder: brings header file comments
in line with reality.
Hi,
> > Quite true that this proves nothing. However one should note that
> > fbcon -> fbdev works,
>
> BTW, this supports Gerd's patch, since the KMS fbdev emulation code uses
> e.g. DRM_FORMAT_XRGB8888 for depth/bpp 24/32, and the fbdev API uses
> native endian packed colour values.
Same is true for DRM_IOCTL_MODE_ADDFB, with depth/bpp 24/32 you'll get
DRM_FORMAT_XRGB8888 (only DRM_IOCTL_MODE_ADDFB2 allows userspace specify
fourcc formats directly).
cheers,
Gerd
Powered by blists - more mailing lists