drm/i915: Handle locking better in i915_sink_crc.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 10 Nov 2017 11:34:58 +0000 (12:34 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 13 Nov 2017 09:04:30 +0000 (10:04 +0100)
commit10bf0a38c4084c14c57df5d635a5ba0867a3c260
tree86ae7454ce38ce9db74ad2141f94cef7a77d58bf
parent4493e098d71996bde2f2fbee8a3d92af21e9bcc8
drm/i915: Handle locking better in i915_sink_crc.

Lock the bare minimum, instead of the entire world, and
use interruptible locking because we can.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171110113503.16253-6-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c