drm/i915/gt: Create the gt_to_guc() wrapper
authorAndi Shyti <andi.shyti@linux.intel.com>
Fri, 29 Dec 2023 10:27:31 +0000 (11:27 +0100)
committerAndi Shyti <andi.shyti@linux.intel.com>
Fri, 1 Mar 2024 12:19:43 +0000 (13:19 +0100)
commit01b2b8cc1efd6c177e6814fec3a96424a2f3236c
tree9b7663c21305d64b2cc98f2687c44be28fad0e17
parentdb7bbd13f08774cde0332c705f042e327fe21e73
drm/i915/gt: Create the gt_to_guc() wrapper

We already have guc_to_gt() and getting to guc from the GT it
requires some mental effort. Add the gt_to_guc().

Given the reference to the "gt", the gt_to_guc() will return the
pinter to the "guc".

Update all the files under the gt/ directory.

Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231229102734.674362-2-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c
drivers/gpu/drm/i915/gt/intel_ggtt.c
drivers/gpu/drm/i915/gt/intel_gt.h
drivers/gpu/drm/i915/gt/intel_gt_irq.c
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c
drivers/gpu/drm/i915/gt/intel_rc6.c
drivers/gpu/drm/i915/gt/intel_rps.c
drivers/gpu/drm/i915/gt/intel_tlb.c
drivers/gpu/drm/i915/gt/selftest_slpc.c