@@ -1782,6 +1797,10 @@ static int __init intel_opregion_present(void)
int acpi_video_register(void)
{
int result = 0;
+ return -ENODEV;
if (register_count) {
/*
* if the function of acpi_video_register is already called,
I also tested this kernel with merged
git://people.freedesktop.org/~danvet/drm-intel drm-intel-next.
Steps to reproduce:
1. $ setterm -blank 1
2. close LID
3. sleep 90
4. open LID
5. press key
6. close LID
nothing happens here, the screen is still turned on, should be turned off
7. open LID
backlight is on, but screen is black, but some artifacts are visible so
LCD is probably turned off, and the display is not usable anymore
I have bisected this problem and it's introduced by commit
120eced9efe7fdb5123db4ea47e9adee9b66284e
(drm/i915: Set crtc DPMS mode to ON in intel_crtc_mode_set).
In Linux 3.1 to 3.6 I've been using following workaround:
@@ -6000,10 +6000,12 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
x, y, old_fb);
drm_vblank_post_modeset(dev, pipe);
+#if 0
if (ret)
intel_crtc->dpms_mode = DRM_MODE_DPMS_OFF;
else
intel_crtc->dpms_mode = DRM_MODE_DPMS_ON;
+#endif
return ret;
}