提交 a5cad620 编写于 作者: C Chris Wilson

drm/i915: Disable "disabled FBC" message when a no-op

Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
上级 5c12a07e
......@@ -1110,6 +1110,9 @@ void i8xx_disable_fbc(struct drm_device *dev)
/* Disable compression */
fbc_ctl = I915_READ(FBC_CONTROL);
if ((fbc_ctl & FBC_CTL_EN) == 0)
return;
fbc_ctl &= ~FBC_CTL_EN;
I915_WRITE(FBC_CONTROL, fbc_ctl);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册