diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-08-01 15:32:50 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-08-01 19:39:17 +0300 |
commit | d823445b09a2f1c43877b87a55fc699c3a836fc2 (patch) | |
tree | 94ed46fe1e36495ce41e21d775698a922f02ccff /drivers/gpu/drm/i915/i915_request.c | |
parent | 7afe2340641dc006aad8f356665b1f157509fd3a (diff) |
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 <shawn.c.lee@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a53fb0fd84c4627398ccd4304b35db05603b89b6.1690886109.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.c')
0 files changed, 0 insertions, 0 deletions