drm/i915: Introduce i9xx_has_pfit()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 19 Mar 2019 14:23:29 +0000 (16:23 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 20 Mar 2019 14:58:19 +0000 (16:58 +0200)
commitb7c8093fac15b253cab8c1060d0d5543a8739ed0
tree6b7a9238d13233336a55cc091dc4860b37cf112a
parent5c227869839b15a066c4808d3a88d36b79b35cd8
drm/i915: Introduce i9xx_has_pfit()

Make the code self-documenting by introducing i9xx_has_pfit().
Also make PNV an exceptional case so that we can unset
.is_mobile for the desktop variant.

v2: s/gen4/gen>=4/ (Tvrtko)

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190319142329.22881-1-ville.syrjala@linux.intel.com
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_display.c