drm/i915/gt: rename legacy engine->hw_id to engine->gen6_hw_id
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 20 Jul 2021 23:20:13 +0000 (16:20 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 23 Jul 2021 00:02:20 +0000 (17:02 -0700)
commit265b5ee0d32bbb3439bfcce8a7b60ec2f4c0acc5
treef7a1975f4f2ac3e8455cad047793581623549c16
parentf9be30003fb372387565dcb9789b286f51e6e808
drm/i915/gt: rename legacy engine->hw_id to engine->gen6_hw_id

We kept adding new engines and for that increasing hw_id unnecessarily:
it's not used since GRAPHICS_VER == 8. Prepend "gen6" to the field and
try to pack it in the structs to give a hint this field is actually not
used in recent platforms.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210720232014.3302645-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_engine_types.h
drivers/gpu/drm/i915/i915_reg.h