OSDN Git Service

drm/i915: don't pretend we support ASLE ALS, PFIT, or PFMB
authorJani Nikula <jani.nikula@intel.com>
Fri, 12 Apr 2013 12:20:56 +0000 (15:20 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 25 Apr 2013 13:44:34 +0000 (15:44 +0200)
In theory, this should prevent the BIOS from requesting them from us, and
this should be the right thing.

In practice, this is not always the case, and might surprise the BIOS.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c

index 42faa58..1ed4331 100644 (file)
@@ -280,9 +280,7 @@ void intel_opregion_enable_asle(struct drm_device *dev)
                if (IS_MOBILE(dev))
                        intel_enable_asle(dev);
 
-               iowrite32(ASLE_ALS_EN | ASLE_BLC_EN | ASLE_PFIT_EN |
-                         ASLE_PFMB_EN,
-                         &asle->tche);
+               iowrite32(ASLE_BLC_EN, &asle->tche);
                iowrite32(1, &asle->ardy);
        }
 }