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

Michel Dänzer michel at daenzer.net
Tue Mar 13 14:38:38 UTC 2018


On 2018-03-13 03:28 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> 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
> and vc4 to make use if it. All other drivers seem to currently
> assume linear when the request does not specify anything else,
> [...]

That's not true at least for the amdgpu and radeon drivers. The tiling
mode is communicated via BO metadata.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the Intel-gfx mailing list