提交 b6d8e7ec 编写于 作者: B Ben Skeggs

drm/nvd0/disp: stub dac load detect, prevents oops

Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
上级 8eaa9669
......@@ -637,6 +637,12 @@ nvd0_dac_disconnect(struct drm_encoder *encoder)
}
}
static enum drm_connector_status
nvd0_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
{
return connector_status_disconnected;
}
static void
nvd0_dac_destroy(struct drm_encoder *encoder)
{
......@@ -652,6 +658,7 @@ static const struct drm_encoder_helper_funcs nvd0_dac_hfunc = {
.mode_set = nvd0_dac_mode_set,
.disable = nvd0_dac_disconnect,
.get_crtc = nvd0_display_crtc_get,
.detect = nvd0_dac_detect
};
static const struct drm_encoder_funcs nvd0_dac_func = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册