diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-20 09:23:31 +1000 |
---|---|---|
committer | Dave Airlie <airlied@itt42.(none)> | 2009-11-20 10:15:00 +1000 |
commit | eb9bc133fc426e67b397e661bfd22bf62009d9d3 (patch) | |
tree | 1761fdfecb03962f078c594cad757ce601fc32f2 /src/drmmode_display.c | |
parent | f7f58ef4c042e492618665a6c5555e8e67387ab3 (diff) |
kms: recalculate the flush limits after screen resize.
When we resize the front buffer we need to reduce the flush limits
appropriately.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 29c3ff17..31479812 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1095,6 +1095,7 @@ drmmode_xf86crtc_resize (ScrnInfoPtr scrn, int width, int height) if (old_front) radeon_bo_unref(old_front); + radeon_kms_update_vram_limit(scrn, screen_size); return TRUE; fail: |