Skip to content

Commit

Permalink
drm/kms/fb: move to using fb helper crtc grouping instead of core crt…
Browse files Browse the repository at this point in the history
…c list

This move to using the list of crtcs in the fb helper and cleans up the
whole picking code, now we store the crtc/connectors we want directly
into the modeset and we use the modeset directly to set the mode.

Fixes from James Simmons and Ben Skeggs.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Apr 7, 2010
1 parent 3865167 commit 8be48d9
Show file tree
Hide file tree
Showing 13 changed files with 411 additions and 447 deletions.
4 changes: 0 additions & 4 deletions drivers/gpu/drm/drm_crtc_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,10 +625,6 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
ret = -EINVAL;
goto fail;
}
/* TODO are these needed? */
set->crtc->desired_x = set->x;
set->crtc->desired_y = set->y;
set->crtc->desired_mode = set->mode;
}
drm_helper_disable_unused_functions(dev);
} else if (fb_changed) {
Expand Down
Loading

0 comments on commit 8be48d9

Please sign in to comment.