Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Ville Syrjälä
On Tue, Mar 13, 2018 at 04:35:02PM +0100, Michel Dänzer wrote: > On 2018-03-13 04:20 PM, Daniel Vetter wrote: > > On Tue, Mar 13, 2018 at 03:38:38PM +0100, Michel Dänzer wrote: > >> On 2018-03-13 03:28 PM, Ville Syrjala wrote: > >>> From: Ville Syrjälä > >>> > >>>

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Michel Dänzer
On 2018-03-13 04:20 PM, Daniel Vetter wrote: > On Tue, Mar 13, 2018 at 03:38:38PM +0100, Michel Dänzer wrote: >> On 2018-03-13 03:28 PM, Ville Syrjala wrote: >>> From: Ville Syrjälä >>> >>> To make it possible for the core to check the fb pixel format and >>>

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Daniel Vetter
On Tue, Mar 13, 2018 at 03:38:38PM +0100, Michel Dänzer wrote: > On 2018-03-13 03:28 PM, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > To make it possible for the core to check the fb pixel format and > > modifier, we need to first ask the driver to deduce

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Michel Dänzer
On 2018-03-13 04:12 PM, Ville Syrjälä wrote: > On Tue, Mar 13, 2018 at 03:38:38PM +0100, Michel Dänzer wrote: >> On 2018-03-13 03:28 PM, Ville Syrjala wrote: >>> From: Ville Syrjälä >>> >>> To make it possible for the core to check the fb pixel format and >>>

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Ville Syrjälä
On Tue, Mar 13, 2018 at 03:38:38PM +0100, Michel Dänzer wrote: > On 2018-03-13 03:28 PM, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > To make it possible for the core to check the fb pixel format and > > modifier, we need to first ask the driver to deduce

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Michel Dänzer
On 2018-03-13 03:28 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > To make it possible for the core to check the fb pixel format and > modifier, we need to first ask the driver to deduce the modifier > when the request does not explicitly specify one. > > Add

[Intel-gfx] [PATCH v2 1/3] drm: Add the optional .fb_modifier() hook

2018-03-13 Thread Ville Syrjala
From: Ville Syrjälä To make it possible for the core to check the fb pixel format and modifier, we need to first ask the driver to deduce the modifier when the request does not explicitly specify one. Add a new .fb_modifier() hook for that purpose and convert i915