drm/i915: Don't set plane visible during HW readout if CRTC is off
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 24 Sep 2015 22:53:17 +0000 (15:53 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 21 Oct 2015 21:54:55 +0000 (14:54 -0700)
commit19b8d3875e21f4f7e5c999350892f1a788f4e977
treee608175c5a336ebdfd9b339233d9ecbfbd24e834
parent86c8bbbeb8d11b898ac33a52b1410b39a1c73b89
drm/i915: Don't set plane visible during HW readout if CRTC is off

We already ensure that pstate->visible = false when crtc->active = false
during runtime programming; make sure we follow the same logic when
reading out initial hardware state.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Smoke-tested-by: Paulo Zanoni <przanoni@gmail.com>
Link: http://patchwork.freedesktop.org/patch/59564/
drivers/gpu/drm/i915/intel_display.c