diff options
author | Daniel Stone <daniels@collabora.com> | 2018-03-21 01:58:39 +0300 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2018-03-21 12:43:21 +0300 |
commit | b24791fe00f8b089d5b10cb7bcc4e1ae88b4831b (patch) | |
tree | 063efcf042652b4cfd76fdfe63994c39087130ff /drivers/gpu/drm/radeon/rv515.c | |
parent | 1bc659eb2369ab795a401ff82f7e3a87a46bc864 (diff) | |
download | linux-b24791fe00f8b089d5b10cb7bcc4e1ae88b4831b.tar.xz |
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: Daniel Stone <daniels@collabora.com>
Reported-by: Daniel van Vugt <daniel.van.vugt@canonical.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Fixes: 308e5bcbdb10 ("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
Diffstat (limited to 'drivers/gpu/drm/radeon/rv515.c')
0 files changed, 0 insertions, 0 deletions