diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index ff447f175a56..fe8697447f32 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c | |||
@@ -869,6 +869,9 @@ int drm_crtc_helper_set_config(struct drm_mode_set *set) | |||
869 | } | 869 | } |
870 | drm_helper_disable_unused_functions(dev); | 870 | drm_helper_disable_unused_functions(dev); |
871 | } else if (fb_changed) { | 871 | } else if (fb_changed) { |
872 | set->crtc->x = set->x; | ||
873 | set->crtc->y = set->y; | ||
874 | |||
872 | old_fb = set->crtc->fb; | 875 | old_fb = set->crtc->fb; |
873 | if (set->crtc->fb != set->fb) | 876 | if (set->crtc->fb != set->fb) |
874 | set->crtc->fb = set->fb; | 877 | set->crtc->fb = set->fb; |