Skip to content

Commit

Permalink
drm/crtc: fix mismerge of last patch.
Browse files Browse the repository at this point in the history
We only want to NULL encoder->crtc when it is off.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Sep 2, 2009
1 parent a3a0544 commit 9c552dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9c552dd

Please sign in to comment.