Re: [PATCH] drm: Auto-set allow_fb_modifiers when given modifiers at plane init

2019-01-11 Thread Maxime Ripard
On Mon, Jan 07, 2019 at 11:49:16AM +0100, Daniel Vetter wrote: > On Fri, Jan 04, 2019 at 09:56:10AM +0100, Paul Kocialkowski wrote: > > When drivers pass non-empty lists of modifiers for initializing their > > planes, we can infer that they allow framebuffer modifiers and set the > > driver's allow

Re: [PATCH] drm: Auto-set allow_fb_modifiers when given modifiers at plane init

2019-01-07 Thread Daniel Vetter
On Fri, Jan 04, 2019 at 09:56:10AM +0100, Paul Kocialkowski wrote: > When drivers pass non-empty lists of modifiers for initializing their > planes, we can infer that they allow framebuffer modifiers and set the > driver's allow_fb_modifiers mode config element. > > In case the allow_fb_modifiers

[PATCH] drm: Auto-set allow_fb_modifiers when given modifiers at plane init

2019-01-04 Thread Paul Kocialkowski
When drivers pass non-empty lists of modifiers for initializing their planes, we can infer that they allow framebuffer modifiers and set the driver's allow_fb_modifiers mode config element. In case the allow_fb_modifiers element was not set (some drivers tend to set them after registering planes),