Skip to content
Commit b24791fe authored by Daniel Stone's avatar Daniel Stone
Browse files

drm: Reject getfb for multi-plane framebuffers



getfb can only return a single plane, so reject attempts to use it with
multi-plane framebuffers.

Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
Reported-by: default avatarDaniel van Vugt <daniel.van.vugt@canonical.com>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 308e5bcb ("drm: add an fb creation ioctl that takes a pixel format v5")
Cc: stable@vger.kernel.org # v3.3+
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105518
Link: https://patchwork.freedesktop.org/patch/msgid/20180320225839.30905-1-daniels@collabora.com
parent 1bc659eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment