diff options
author | 2023-08-01 15:32:50 +0300 | |
---|---|---|
committer | 2023-08-01 19:39:17 +0300 | |
commit | d823445b09a2f1c43877b87a55fc699c3a836fc2 (patch) | |
tree | 94ed46fe1e36495ce41e21d775698a922f02ccff /scripts/generate_rust_analyzer.py | |
parent | drm/i915/uncore: split unclaimed_reg_debug() to header and footer (diff) | |
download | linux-rng-d823445b09a2f1c43877b87a55fc699c3a836fc2.tar.xz linux-rng-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 <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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions