projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7dff0c
)
drm/i915: VLV VGA port only handles on & off, like PCH VGA
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 15 Jun 2012 18:55:18 +0000
(11:55 -0700)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Wed, 20 Jun 2012 20:49:45 +0000
(22:49 +0200)
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_crt.c
b/drivers/gpu/drm/i915/intel_crt.c
index
71b412a
..
61d55d3
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_crt.c
+++ b/
drivers/gpu/drm/i915/intel_crt.c
@@
-88,6
+88,9
@@
static void gmch_crt_dpms(struct drm_encoder *encoder, int mode)
temp &= ~(ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE);
temp &= ~ADPA_DAC_ENABLE;
+ if (IS_VALLEYVIEW(dev) && mode != DRM_MODE_DPMS_ON)
+ mode = DRM_MODE_DPMS_OFF;
+
switch (mode) {
case DRM_MODE_DPMS_ON:
temp |= ADPA_DAC_ENABLE;