egl/dri2: Allow modifiers to add FDs to imports
authorDaniel Stone <daniels@collabora.com>
Mon, 31 Jul 2017 17:34:57 +0000 (18:34 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 11 Aug 2017 09:25:53 +0000 (10:25 +0100)
commit7d26a52a7a29b2361164b241ba3ae61b46b4fc69
treebbdb2b07a966b3dbcdc2bd780345009e4da86955
parent81615ad444ba970d144eeffbe60a7f70adc30b5b
egl/dri2: Allow modifiers to add FDs to imports

When using dmabuf import, make sure that the modifier is actually
allowed to add planes to the base format, as implied by the comment.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
src/egl/drivers/dri2/egl_dri2.c