]> git.baikalelectronics.ru Git - kernel.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)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 21 Oct 2015 21:54:55 +0000 (14:54 -0700)
commit960ff12a23ca1374b2cd3f1246785dd843dd0dd7
treee608175c5a336ebdfd9b339233d9ecbfbd24e834
parent12cb409d903a20d2dfc17f8883cd15e2ac322ea5
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