]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: check pipe power domain when reading its hw state
authorImre Deak <imre.deak@intel.com>
Wed, 5 Mar 2014 14:20:55 +0000 (16:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Mar 2014 21:36:53 +0000 (22:36 +0100)
commit984f81900794c66f22caa3a00a428cf078702924
treec837c1c4e8f0403fa5e826a5d6ff281e8190ba0c
parenta6015972df038edb3e4e90f777b9d9af94c88eda
drm/i915: check pipe power domain when reading its hw state

We can read out the pipe HW state only if the required power domain is
on. If not we consider the pipe to be off.

v2:
- no change
v3:
- push down the power domain checks into the specific crtc
  get_pipe_config handlers (Daniel)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Appease checkpatch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c