aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-08-04 08:09:53 +0000
committerChris Wilson <[email protected]>2016-08-04 10:18:22 +0000
commit1dd5b6f2020389e75bb3d269c038497f065e68c9 (patch)
treea0d5389664a6488127eb778ceb9648c78bd547b9 /drivers/gpu/drm/i915/intel_dp_mst.c
parentdrm/i915/fbc: FBC causes display flicker when VT-d is enabled on Skylake (diff)
downloadkernel-1dd5b6f2020389e75bb3d269c038497f065e68c9.tar.gz
kernel-1dd5b6f2020389e75bb3d269c038497f065e68c9.zip
drm/i915: Add missing rpm wakelock to GGTT pread
Joonas spotted a discrepancy between the pwrite and pread ioctls, in that pwrite takes the rpm wakelock around its GGTT access, The wakelock is required in order for the GTT to function. In disregard for the current convention, we take the rpm wakelock around the access itself rather than around the struct_mutex as the nesting is not strictly required and such ordering will one day be fixed by explicitly noting the barrier dependencies between the GGTT and rpm. Fixes: b50a53715f09 ("drm/i915: Support for pread/pwrite ...") Reported-by: Joonas Lahtinen <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Cc: Ankitprasad Sharma <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Cc: Joonas Lahtinen <[email protected]> Cc: [email protected] Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions