]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add missing ww lock in intel_dsb_prepare.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 23 Mar 2021 15:50:27 +0000 (16:50 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Mar 2021 16:29:02 +0000 (17:29 +0100)
commitc6b59d440c1888398f9171ecba7e360d8ff380cf
tree8ece11eb1236200d8e9d936a0d909f90be2d19e9
parent9b13e541362aafc420aa6e6e6c279083f41b4886
drm/i915: Add missing ww lock in intel_dsb_prepare.

Because of the long lifetime of the mapping, we cannot wrap this in a
simple limited ww lock. Just use the unlocked version of pin_map,
because we'll likely release the mapping a lot later, in a different
thread.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-39-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/display/intel_dsb.c