drm/i915/gt: Extract function to apply media fuses
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 9 Sep 2022 23:18:16 +0000 (16:18 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Mon, 12 Sep 2022 15:42:22 +0000 (08:42 -0700)
commit0b3ed50eee5df65e3200c89db7f32f31c6210333
tree321c3a3a987e660e3ad149742cb75e4fcd9fec55
parentff21ed39ca68257aebf42b23afcbc2db66dfecde
drm/i915/gt: Extract function to apply media fuses

Just like is done for compute and copy engines, extract a function to
handle media engines. While at it, be consistent on using or not the
uncore/gt/info variable aliases.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220909-media-v2-2-6f20f322b4ef@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c