diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-28 15:49:10 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-04-24 11:31:17 +0200 |
commit | b8c7d7bc8386924f57aac0a745ae3240f07b743b (patch) | |
tree | 1b43e1f5cc5fc264a9f6097d786c692a18d2b7a3 /drivers/gpu/drm/drm_fb_helper.c | |
parent | 36e4523aaf4a35de963e190064b53839fa131653 (diff) |
drm/atomic: -EACCESS for lease-denied crtc lookup
With the previous patch drm_crtc_find will return NULL when the crtc
isn't in our lease, which will then disable the plane/connector. No
longer an issue since the lessor can't escape their lease terms
anymore, but not quite great semantics yet either.
Catch this and return -EACCES, so that at least evil test cases have a
better chance of making sure the kernel works correctly.
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190228144910.26488-8-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions