summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2015-02-05 19:35:13 +0000
committerJani Nikula <jani.nikula@intel.com>2015-03-18 10:09:05 +0200
commit7f0801e566cc78315e5dc383bf3c3b5b5b436048 (patch)
tree01c03281e4e6c62806e9b01e07ace1ec54bd84c7 /kernel
parent319c1d420a0b62d9dbb88104afebaabc968cdbfa (diff)
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> Reported-by: Andrey Skvortsov <andrej.skvortzov@gmail.com> Reported-by: Steven Rostedt <rostedt@goodmis.org> Reference: http://mid.gmane.org/20150203191507.GA2374@crion86 Tested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions