提交 1767afa4 编写于 作者: J Jani Nikula 提交者: Daniel Vetter

drm/i915: don't pretend we support ASLE ALS, PFIT, or PFMB

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: NJani Nikula <jani.nikula@intel.com>
Reviewed-by: NDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 8ba2d185
...@@ -280,9 +280,7 @@ void intel_opregion_enable_asle(struct drm_device *dev) ...@@ -280,9 +280,7 @@ void intel_opregion_enable_asle(struct drm_device *dev)
if (IS_MOBILE(dev)) if (IS_MOBILE(dev))
intel_enable_asle(dev); intel_enable_asle(dev);
iowrite32(ASLE_ALS_EN | ASLE_BLC_EN | ASLE_PFIT_EN | iowrite32(ASLE_BLC_EN, &asle->tche);
ASLE_PFMB_EN,
&asle->tche);
iowrite32(1, &asle->ardy); iowrite32(1, &asle->ardy);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册