Skip to content

Commit

Permalink
drm/nvd0/disp: stub dac load detect, prevents oops
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
  • Loading branch information
Ben Skeggs committed Sep 20, 2011
1 parent 8eaa966 commit b6d8e7e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/gpu/drm/nouveau/nvd0_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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 = {
Expand Down

0 comments on commit b6d8e7e

Please sign in to comment.