diff options
| author | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:35:16 +1000 | 
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2008-11-10 15:35:16 +1000 | 
| commit | b1cf46378a54230291ba9fdb4dbbd4bc4befe049 (patch) | |
| tree | 86aac5d4a955d7b5bc438ee8a64a1798535bf053 /linux-core | |
| parent | 241a9b64141b2dd09449e581017b5ca0c0cc2357 (diff) | |
modesetting: set the crtc x,y after the mode base change
Diffstat (limited to 'linux-core')
| -rw-r--r-- | linux-core/drm_crtc_helper.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_crtc_helper.c b/linux-core/drm_crtc_helper.c index 776a98e1..58163e51 100644 --- a/linux-core/drm_crtc_helper.c +++ b/linux-core/drm_crtc_helper.c @@ -683,6 +683,8 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set)  		if (set->crtc->fb != set->fb)  			set->crtc->fb = set->fb;  		crtc_funcs->mode_set_base(set->crtc, set->x, set->y); +		set->crtc->x = set->x; +		set->crtc->y = set->y;  	}  	kfree(save_encoders);  | 
