drm/i915/gt: remove a static inline that requires including i915_drv.h
authorJani Nikula <jani.nikula@intel.com>
Thu, 21 Sep 2023 16:24:56 +0000 (19:24 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 25 Sep 2023 10:41:09 +0000 (13:41 +0300)
commit82b1e8f7ff6ab0b3fe43fbf10ab720e06db0cfd2
tree8cefc2f2caa5be4b196beb1087275d51cdc0b744
parent0f3fa942d91165c2702577e9274d2ee1c7212afc
drm/i915/gt: remove a static inline that requires including i915_drv.h

It's actively harmful to add static inlines in headers that require you
to pull in more headers. Remove the include added in commit f1530f912ed8
("drm/i915/gt: Apply workaround 22016122933 correctly"). We see that
there's already an implicit dependency on the i915_drv.h that we need to
address too.

Cc: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Fei Yang <fei.yang@intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230921162456.3889375-1-jani.nikula@intel.com
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt.h
drivers/gpu/drm/i915/gt/intel_gt_mcr.c