drm/i915/uncore: Reorganize and document shadow and forcewake tables
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 11 May 2022 06:02:24 +0000 (23:02 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 24 May 2022 19:26:20 +0000 (12:26 -0700)
commitd32e8ed918ba7384fda9055ebb31b89b3eadb517
treed0bb64e7b03ddcf0afa8666162b92210a96d57c7
parentd63ddca7c58132257fd01e3a4feca41b3bac3089
drm/i915/uncore: Reorganize and document shadow and forcewake tables

Let's reorganize some of the forcewake/shadow handling in intel_uncore.c
and consolidate the cargo-cult comments on each table into more general
comments that apply to all tables.

We'll probably move forcewake handling to its own dedicated file in the
near future and further enhance this with true kerneldoc.  But this is a
good intermediate step to help clarify the behavior a bit.

Cc: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220511060228.1179450-2-matthew.d.roper@intel.com
drivers/gpu/drm/i915/intel_uncore.c