drm/i915: Fix locking in DRRS debugfs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Oct 2022 11:32:47 +0000 (14:32 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Oct 2022 15:50:14 +0000 (18:50 +0300)
commit9519c86523ea136e981ceff30489cdb7b2ecae08
tree9bd221d65faa4b21d4c353ffcf919b865ad96ac5
parentadc831bfc8852034d0834a5a8bf7e35e2faeb8b2
drm/i915: Fix locking in DRRS debugfs

Grab the crtc mutex so that looking at the crtc state is
actually safe.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221003113249.16213-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_drrs.c