[PATCH 7/7] drm/atomic: -EACCESS for lease-denied crtc lookup

2019-02-28 Thread Daniel Vetter
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 leas

[PATCH 7/7] drm/atomic: -EACCESS for lease-denied crtc lookup

2019-02-28 Thread Daniel Vetter
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 leas