summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem_stolen.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-11-30 17:43:04 +0200
committerJani Nikula <jani.nikula@intel.com>2016-12-07 15:19:31 +0200
commit2a307c2e91b9478a2a06c09ffcbfc00851c7be26 (patch)
tree14da8026f5b627e28a5f200477f14d1ec42531f8 /drivers/gpu/drm/i915/i915_gem_stolen.c
parentc0f86832e3fd0d125f22bf26040d24837d0412db (diff)
downloadlinux-2a307c2e91b9478a2a06c09ffcbfc00851c7be26.tar.bz2
drm/i915: add some more "i" in platform names for consistency
Consistency FTW. Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/9ab811dc06570bd3fc05a917ade1bdc9bb805a75.1480520526.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_stolen.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_stolen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c
index b3bac2557665..c81b22f238c3 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -153,7 +153,7 @@ static unsigned long i915_stolen_to_physical(struct drm_i915_private *dev_priv)
tom = tmp * MB(32);
base = tom - tseg_size - ggtt->stolen_size;
- } else if (IS_845G(dev_priv)) {
+ } else if (IS_I845G(dev_priv)) {
u32 tseg_size = 0;
u32 tom;
u8 tmp;