drm/i915: Make sure the primary plane is enabled before reading out the fb state
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 5 Feb 2015 19:35:13 +0000 (19:35 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:06 +0000 (23:28 +0100)
commit42a7b088127f7725b6d445d7d9e1e1855988a157
treef75f692828b61e35ef4428190e586537156236aa
parentfb9981aa675eb7b398849915364916fd98833cfa
drm/i915: Make sure the primary plane is enabled before reading out the fb state

We don't want to end up in a state where we track that the pipe has its
primary plane enabled when primary plane registers are programmed with
values that look possible but the plane actually disabled.

Refuse to read out the fb state when the primary plane isn't enabled.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
This page took 0.025526 seconds and 5 git commands to generate.