drm/i915: No panel fitter on 830M or non-mobile gen2/3 platforms
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 Jan 2014 12:06:45 +0000 (14:06 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 Jan 2014 17:03:17 +0000 (18:03 +0100)
commitdc9e7decf13d49ff80fa690455ad89379b6b01aa
tree872d94174fa055fa860d816826ee4aecdf2920d4
parent669ab5aaeb3bedaae758c938d0efafe8aad07ed0
drm/i915: No panel fitter on 830M or non-mobile gen2/3 platforms

PFIT_CONTROL doesn't exist on 830M, so avoid reading it in
i9xx_get_pfit_config().

Also assume that only mobile gen2/3 chipsets have a panel fitter. This
matches the documentation, but I didn't have real hardware to verify.

Gen4 docmentation is a bit inconsistent, but experimenetation on my
LPT machine suggests that the panel fitter is available on non-mobile
gen4 platforms. At least on this machine panel fitter appears works
just fine even on VGA output.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_overlay.c