]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 Sep 2015 15:17:55 +0000 (17:17 +0200)
commita4611e444694869a9ccec69e4e640aee9b7dc58e
tree058e9980b1062b71acd3cb6987fafaa8839067da
parenta28170f3389f4e42db95e595b0d86384a79de696
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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c