aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2023-08-01 12:32:50 +0000
committerJani Nikula <[email protected]>2023-08-01 16:39:17 +0000
commitd823445b09a2f1c43877b87a55fc699c3a836fc2 (patch)
tree94ed46fe1e36495ce41e21d775698a922f02ccff /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/i915/uncore: split unclaimed_reg_debug() to header and footer (diff)
downloadkernel-d823445b09a2f1c43877b87a55fc699c3a836fc2.tar.gz
kernel-d823445b09a2f1c43877b87a55fc699c3a836fc2.zip
drm/i915/uncore: fix race around i915->params.mmio_debug
Only check the conditions for unclaimed reg debug once to avoid locking problems when i915->params.mmio_debug changes between header and footer. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8749 Cc: Lee Shawn C <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/a53fb0fd84c4627398ccd4304b35db05603b89b6.1690886109.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions