summaryrefslogtreecommitdiff
path: root/drivers/bus/simple-pm-bus.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-12-20 10:35:43 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2017-12-20 14:49:06 +0100
commitce0769e0ea4b3e192466243a1a9fd39acf214f1e (patch)
treeb1ae3ef6f6f9f4822d0d742b1a4f53cf32f54fea /drivers/bus/simple-pm-bus.c
parent2c08cd7c20968ddf71feeac2265b4741d2b3fdde (diff)
drm/plane: Make framebuffer refcounting the responsibility of setplane_internal callers
lock_all_ctx in setplane_internal may return -EINTR, and __setplane_internal could return -EDEADLK. Making more special cases for fb would make the code even harder to read, so the easiest solution is not taking over the fb refcount, and making callers responsible for dropping the ref. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102707 Fixes: 13736ba3b38b ("drm/legacy: Convert setplane ioctl locking to interruptible.") Testcase: kms_atomic_interruptible Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171220093545.613-2-maarten.lankhorst@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/bus/simple-pm-bus.c')
0 files changed, 0 insertions, 0 deletions