]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2eb12fe44228a9aecc21246c16d55c40bc182e63
treef7a1975f4f2ac3e8455cad047793581623549c16
parente02380bd601179149da6c460bebe2e9d53f3c85b
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