]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fe1170bcbbac695dea860609a0616bc2ec2b001
treed0bb64e7b03ddcf0afa8666162b92210a96d57c7
parent95ac81b50d751509b2b9900bc4a6ed73ba5bf434
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