summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@linux.intel.com>2023-08-01 16:19:53 +0200
committerAndi Shyti <andi.shyti@linux.intel.com>2023-08-02 15:41:31 +0200
commita79d48846b069ed5b0013ef9a3bfee119a5f01e3 (patch)
tree3817296050c833ca8b8768bed72c89793fae2a7c /drivers/gpu/drm/i915/i915_drv.h
parent568a2e6f0b12ee3750102032c665a183ac129f52 (diff)
downloadlinux-stable-a79d48846b069ed5b0013ef9a3bfee119a5f01e3.tar.gz
linux-stable-a79d48846b069ed5b0013ef9a3bfee119a5f01e3.tar.bz2
linux-stable-a79d48846b069ed5b0013ef9a3bfee119a5f01e3.zip
i915/drm/gt: Move the gt defines in the gt directory
Create a new intel_gt_defines.h inside the gt/ directory as a placeholder for all the generic GT based defines. As of now place only I915_MAX_GT. Co-developed-by: Chris Wilson <chris.p.wilson@linux.intel.com> Signed-off-by: Chris Wilson <chris.p.wilson@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230801141955.383305-3-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index a3e3c34141ed..3840919dc856 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -44,6 +44,7 @@
#include "gem/i915_gem_stolen.h"
#include "gt/intel_engine.h"
+#include "gt/intel_gt_defines.h"
#include "gt/intel_gt_types.h"
#include "gt/intel_region_lmem.h"
#include "gt/intel_workarounds.h"
@@ -313,7 +314,6 @@ struct drm_i915_private {
/*
* i915->gt[0] == &i915->gt0
*/
-#define I915_MAX_GT 2
struct intel_gt *gt[I915_MAX_GT];
struct kobject *sysfs_gt;