drm/i915: Simplify platform checks in intel_fb_pitch_limit()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Feb 2017 17:53:28 +0000 (19:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Feb 2017 16:44:53 +0000 (18:44 +0200)
commit6401c37dbd6264b045961868c1438bf03efdd104
tree91075645fc861d99a2a0b8a0aed0f148dd4105e5
parentd158694f452252d0fef335a775aeb3eb74fe7af0
drm/i915: Simplify platform checks in intel_fb_pitch_limit()

Replace the VLV/CHV check with a HAS_GMCH_DISPLAY check in
intel_fb_pitch_limit(), because it's shorter.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170208175328.11064-1-ville.syrjala@linux.intel.com
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
drivers/gpu/drm/i915/intel_display.c