]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Rename FORCEWAKE_BLITTER to FORCEWAKE_GT
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 9 Oct 2020 19:44:40 +0000 (12:44 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Sat, 10 Oct 2020 01:51:27 +0000 (18:51 -0700)
commitc35d05453808f89d94cdb6c7dd1052f580c2ee46
tree8193d429eff18f2462dd70b0dcb8715fd995585a
parentcd08b01ff0fef0e02baa02387448bb68d3dbfd30
drm/i915: Rename FORCEWAKE_BLITTER to FORCEWAKE_GT

The power well that we've been referring to as the 'blitter' well is
actually more of a general GT power well which contains a lot of things
other than the blitter engine registers.  The FORCEWAKE_BLITTER name in
the code was used for historic reasons, but no longer matches how the
bspec describes this power well and just causes confusion for people not
familiar with this area of the code.  Let's rename it to FORCEWAKE_GT to
more accurately describe the role of the power well and match how the
modern bspec refers to it.

v2:
 - Add a comment noting that the GT power well includes the blitter
   engine. (Jose)

Bspec: 66696, 66534, 67609
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201009194442.3668677-2-matthew.d.roper@intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/reg.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_uncore.c
drivers/gpu/drm/i915/intel_uncore.h