aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/radeon/r600_blit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r600_blit.c b/drivers/gpu/drm/radeon/r600_blit.c
index 626a9ab7075a..5ea432347589 100644
--- a/drivers/gpu/drm/radeon/r600_blit.c
+++ b/drivers/gpu/drm/radeon/r600_blit.c
@@ -778,8 +778,6 @@ r600_blit_swap(struct drm_device *dev,
778 u64 vb_addr; 778 u64 vb_addr;
779 u32 *vb; 779 u32 *vb;
780 780
781 vb = r600_nomm_get_vb_ptr(dev);
782
783 if ((dev_priv->blit_vb->used + 48) > dev_priv->blit_vb->total) { 781 if ((dev_priv->blit_vb->used + 48) > dev_priv->blit_vb->total) {
784 782
785 r600_nomm_put_vb(dev); 783 r600_nomm_put_vb(dev);
@@ -788,8 +786,8 @@ r600_blit_swap(struct drm_device *dev,
788 return; 786 return;
789 787
790 set_shaders(dev); 788 set_shaders(dev);
791 vb = r600_nomm_get_vb_ptr(dev);
792 } 789 }
790 vb = r600_nomm_get_vb_ptr(dev);
793 791
794 sx2 = sx + w; 792 sx2 = sx + w;
795 sy2 = sy + h; 793 sy2 = sy + h;