modesetting: set the crtc x,y after the mode base change

main
Dave Airlie 2008-11-10 15:35:16 +10:00
parent 241a9b6414
commit b1cf46378a
1 changed files with 2 additions and 0 deletions

View File

@ -683,6 +683,8 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)
if (set->crtc->fb != set->fb) if (set->crtc->fb != set->fb)
set->crtc->fb = set->fb; set->crtc->fb = set->fb;
crtc_funcs->mode_set_base(set->crtc, set->x, set->y); crtc_funcs->mode_set_base(set->crtc, set->x, set->y);
set->crtc->x = set->x;
set->crtc->y = set->y;
} }
kfree(save_encoders); kfree(save_encoders);