drm/i915: Move locking and unclaimed check into mmio_debug_{suspend, resume}
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 6 Sep 2022 23:49:21 +0000 (16:49 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 12 Sep 2022 12:23:11 +0000 (15:23 +0300)
commitf16bfc1d5de082f50ecf87eaa98c357226ea06f1
tree2148c59bdb60543cd92d75740ac3957327681cf7
parent60017f34fc334d1bb25476b0b0996b4073e76c90
drm/i915: Move locking and unclaimed check into mmio_debug_{suspend, resume}

Moving the locking for MMIO debug (and the final check for unclaimed
accesses when resuming debug after a userspace-initiated forcewake) will
make it simpler to completely skip MMIO debug handling on uncores that
don't support it in future patches.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220906234934.3655440-2-matthew.d.roper@intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/intel_uncore.c