diff options
author | Jani Nikula <jani.nikula@intel.com> | 2016-11-30 17:43:04 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-12-07 15:19:31 +0200 |
commit | 2a307c2e91b9478a2a06c09ffcbfc00851c7be26 (patch) | |
tree | 14da8026f5b627e28a5f200477f14d1ec42531f8 /drivers/gpu/drm/i915/intel_overlay.c | |
parent | c0f86832e3fd0d125f22bf26040d24837d0412db (diff) | |
download | op-kernel-dev-2a307c2e91b9478a2a06c09ffcbfc00851c7be26.zip op-kernel-dev-2a307c2e91b9478a2a06c09ffcbfc00851c7be26.tar.gz |
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/intel_overlay.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_overlay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_overlay.c b/drivers/gpu/drm/i915/intel_overlay.c index 90da6a7..354f8ce 100644 --- a/drivers/gpu/drm/i915/intel_overlay.c +++ b/drivers/gpu/drm/i915/intel_overlay.c @@ -957,7 +957,7 @@ static int check_overlay_src(struct drm_i915_private *dev_priv, u32 tmp; /* check src dimensions */ - if (IS_845G(dev_priv) || IS_I830(dev_priv)) { + if (IS_I845G(dev_priv) || IS_I830(dev_priv)) { if (rec->src_height > IMAGE_MAX_HEIGHT_LEGACY || rec->src_width > IMAGE_MAX_WIDTH_LEGACY) return -EINVAL; @@ -1009,7 +1009,7 @@ static int check_overlay_src(struct drm_i915_private *dev_priv, return -EINVAL; /* stride checking */ - if (IS_I830(dev_priv) || IS_845G(dev_priv)) + if (IS_I830(dev_priv) || IS_I845G(dev_priv)) stride_mask = 255; else stride_mask = 63; |