summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorDaniel Stone <[email protected]>2017-10-02 16:40:53 +0100
committerDaniel Stone <[email protected]>2017-10-04 15:17:46 +0100
commitb65d6dafd602813c56ccc59a5d8ddb473fddfd74 (patch)
tree45a832c08aa82b075d793f84a08da664a2512656 /src/amd
parent6273d2f2693c365ac84e8808577d16698a6ae46a (diff)
egl/wayland: Don't use dmabuf with no modifiers
The dmabuf interface requires a valid modifier to be sent. If we don't explicitly get a modifier from the driver, we can't know what to send; it must be inferred from legacy side-channels (or assumed to linear, if none exists). If we have no modifier, then we can only have a single-plane format anyway, so fall back to the old wl_drm buffer import path. Fixes: a65db0ad1c ("st/dri: don't expose modifiers in EGL if the driver doesn't implement them") Fixes: 02cc359372 ("egl/wayland: Use linux-dmabuf interface for buffers") Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reported-by: Andy Furniss <[email protected]> Cc: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd')
0 files changed, 0 insertions, 0 deletions