]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add i9xx pfit pipe asserts
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 11 Apr 2013 14:29:10 +0000 (16:29 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Apr 2013 07:55:47 +0000 (09:55 +0200)
commit58acf7d75a4dacb251742fae4a4870e346e91c90
tree4c97cd979d536adc149e2ed4d92313e0fb990b41
parent6dd795ac11c6be9a9acfafa3932b250abf325366
drm/i915: add i9xx pfit pipe asserts

We can only enable the pfit if the pipe is disabled. Ensure that this
is obeyed with a neat assert.

Also check whether the pfit is off before enabling it - if not we've
lost track of things somewhere since the pfit is only ever used by the
lvds output.

v2: Fix spell fail in the commit message pointed out by Ville&Jani.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lvds.c