]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix up the edp power well check
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 15:49:17 +0000 (17:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 31 May 2013 19:00:29 +0000 (21:00 +0200)
commit1b1a3a88c1e96b35483e45835a09faf18bab2bac
tree7056bda5ea27d33ba21fa5575f20a199e7dbb9a6
parent1701a07a43a067a6fc3d361a16dc3dc966f4cd6e
drm/i915: fix up the edp power well check

Now that we track the cpu transcoder we need accurately in the pipe
config we can finally fix up the transcoder check. With the current
code eDP on port D will be broken since we'd errornously cut the
power.

For reference see

commit a76fe57f9b36654a690e600fd4c02300aa1879b1
Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
Date:   Fri Mar 22 14:07:23 2013 -0300

    drm/i915: don't disable the power well yet

v2:
- Kill the now outdated comment (Paulo)
- Add the missing crtc->base.enabled check and consolidate it (Paulo)
- Smash all checks together, looks neater that way.

v3: Kill the unused encoder variable.

Cc: Takashi Iwai <tiwai@suse.de>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c