Messages in this thread | | | Subject | Re: [PATCH] drm/cirrus: rewrite and modernize driver. | From | Adam Jackson <> | Date | Wed, 03 Apr 2019 11:52:31 -0400 |
| |
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
| |