modesetting: Create scanout buffers using supported modifiers

Graphics / X.Org / X.Org Server - Louis-Francis Ratté-Boulianne [collabora.com] - 5 March 2018 18:27 EST

Use most optimal buffer format (e.g. tiled/compressed) available for scanout.

v2: Don't use multi-plane modifier to create scanout buffer

v3: Add flag to retrieve modifiers set from enabled CRTCs only

v4: Fix uses when GBM/EGL driver doesn't support modifiers

e375f2966 modesetting: Create scanout buffers using supported modifiers
hw/xfree86/drivers/modesetting/drmmode_display.c | 90 +++++++++++++++++++++++-
1 file changed, 87 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share