[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <eba84e1ed570908acdf65a2683b77718ff585e99.camel@redhat.com>
Date: Wed, 03 Apr 2019 11:52:31 -0400
From: Adam Jackson <ajax@...hat.com>
To: Daniel Stone <daniel@...ishbar.org>
Cc: Gerd Hoffmann <kraxel@...hat.com>,
dri-devel <dri-devel@...ts.freedesktop.org>,
David Airlie <airlied@...ux.ie>,
Dave Airlie <airlied@...hat.com>,
open list <linux-kernel@...r.kernel.org>,
"open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE"
<virtualization@...ts.linux-foundation.org>
Subject: Re: [PATCH] drm/cirrus: rewrite and modernize driver.
On Wed, 2019-04-03 at 16:15 +0100, Daniel Stone wrote:
> There's already a list of supported formats for each DRM plane, which
> you can get via drmModeGetPlane (being careful to enable universal
> planes so you can discover the primary plane). The same information is
> present in the 'IN_FORMATS' property, which is more difficult to parse
> but also tells you about modifiers.
>
> modesetting already pulls all this out (at least in the atomic path)
> so we can reason about acceptable modifiers.
D'oh, I knew that. The problem then is modesetting isn't pulling that
info out early enough in PreInit. I'll consider that another case of
xorg/xserver#9 then.
- ajax
Powered by blists - more mailing lists