drm/i915: Prefer CRTC 'active' rather than 'enabled' during WM computations
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 7 Dec 2012 10:43:25 +0000 (10:43 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Dec 2012 11:39:11 +0000 (12:39 +0100)
commitf20e0b08b8b2a8432e6abf3683960099f0ab2958
tree47a0df2f7bb51060896add32a35981859ce9d121
parent52bd02d8e3fd83201a1a81bdb4ec6fc0b54d24a0
drm/i915: Prefer CRTC 'active' rather than 'enabled' during WM computations

Only the intel_crtc->active is accurate at the point where we wish to
perform WM computations, so use it instead of crtc->enabled.

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