summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Atwood <matthew.s.atwood@intel.com>2023-06-02 16:17:53 -0700
committerMatt Roper <matthew.d.roper@intel.com>2023-06-06 09:23:46 -0700
commitcd65de1ab2fe4b99ec20861182b7c24d26559f48 (patch)
treee813b12d17313bc1aea8c8edfe7821c27d23e68e
parent412fa1f097f48c8c1321806dd25e46618e0da147 (diff)
downloadlinux-stable-cd65de1ab2fe4b99ec20861182b7c24d26559f48.tar.gz
linux-stable-cd65de1ab2fe4b99ec20861182b7c24d26559f48.tar.bz2
linux-stable-cd65de1ab2fe4b99ec20861182b7c24d26559f48.zip
drm/i915: Reduce I915_MAX_GT to 2
According to Ashutosh there is no current or planned product in i915 for I915_MAX_GT to be 4 anymore. Cc: Matt Roper <matthew.d.roper@intel.com> Cc: Ashutosh Dixit <ashutosh.dixit@linux.intel.com> Cc: Andi Shyti <andy.shyti@linux.intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Signed-off-by: Matt Atwood <matthew.s.atwood@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230602231754.1596433-2-matthew.s.atwood@intel.com
-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 d24e7dc50808..a3e3c34141ed 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -313,7 +313,7 @@ struct drm_i915_private {
/*
* i915->gt[0] == &i915->gt0
*/
-#define I915_MAX_GT 4
+#define I915_MAX_GT 2
struct intel_gt *gt[I915_MAX_GT];
struct kobject *sysfs_gt;