提交 9c552dd7 编写于 作者: D Dave Airlie

drm/crtc: fix mismerge of last patch.

We only want to NULL encoder->crtc when it is off.
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 a3a0544b
......@@ -278,9 +278,9 @@ void drm_helper_disable_unused_functions(struct drm_device *dev)
(*encoder_funcs->disable)(encoder);
else
(*encoder_funcs->dpms)(encoder, DRM_MODE_DPMS_OFF);
/* disconnector encoder from any connector */
encoder->crtc = NULL;
}
/* disconnector encoder from any connector */
encoder->crtc = NULL;
}
list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册