summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-12-08 20:26:35 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2026-01-23 05:20:28 +0200
commit20382658ffbb98e1ea8bc22fd774f76d4f342dc9 (patch)
tree1847049b56f8e8663ae5929a1ec916772841be8b /include/drm
parent5f61ebd578126fc6b25fd3b4b13f8aa24b2cb9c6 (diff)
downloadlinux-20382658ffbb98e1ea8bc22fd774f76d4f342dc9.tar.gz
linux-20382658ffbb98e1ea8bc22fd774f76d4f342dc9.zip
drm/i915: Get rid of the INTEL_GMCH_CTRL alias
INTEL_GMCH_CTRL and I830_GMCH_CTRL are the same register. Get rid of the INTEL_GMCH_CTRL name. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20251208182637.334-18-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/intel/i915_drm.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drm/intel/i915_drm.h b/include/drm/intel/i915_drm.h
index adff68538484..91f628367f1f 100644
--- a/include/drm/intel/i915_drm.h
+++ b/include/drm/intel/i915_drm.h
@@ -44,8 +44,6 @@ extern struct resource intel_graphics_stolen_res;
* This is all handled in the intel-gtt.ko module. i915.ko only
* cares about the vga bit for the vga arbiter.
*/
-#define INTEL_GMCH_CTRL 0x52
-#define INTEL_GMCH_VGA_DISABLE (1 << 1)
#define SNB_GMCH_CTRL 0x50
#define SNB_GMCH_GGMS_SHIFT 8 /* GTT Graphics Memory Size */
#define SNB_GMCH_GGMS_MASK 0x3
@@ -80,6 +78,9 @@ extern struct resource intel_graphics_stolen_res;
#define INTEL_GMCH_GMS_STOLEN_224M (0xc << 4)
#define INTEL_GMCH_GMS_STOLEN_352M (0xd << 4)
+/* valid for both I830_GMCH_CTRL and SNB_GMCH_CTRL */
+#define INTEL_GMCH_VGA_DISABLE (1 << 1)
+
#define I830_DRB3 0x63
#define I85X_DRB3 0x43
#define I865_TOUD 0xc4