aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_bo.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2009-12-16 13:05:00 -0500
committerBen Skeggs <bskeggs@redhat.com>2010-01-10 18:06:30 -0500
commit77e2b5ed83864f0a58e2cd046b15aab6865babfb (patch)
tree1c29a4340e5cc3c10225987f1ab81be7a90bf78b /drivers/gpu/drm/nouveau/nouveau_bo.c
parentcea7789f2a680893e812776dd7202dd50475f9d2 (diff)
drm/nouveau: Fix "general protection fault" in the flipd/flips eviction path.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c
index 1d6036fabd5d..365fc6508173 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bo.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -584,7 +584,7 @@ nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr,
584 584
585 placement.fpfn = placement.lpfn = 0; 585 placement.fpfn = placement.lpfn = 0;
586 placement.num_placement = placement.num_busy_placement = 1; 586 placement.num_placement = placement.num_busy_placement = 1;
587 placement.placement = &placement_memtype; 587 placement.placement = placement.busy_placement = &placement_memtype;
588 588
589 tmp_mem = *new_mem; 589 tmp_mem = *new_mem;
590 tmp_mem.mm_node = NULL; 590 tmp_mem.mm_node = NULL;
@@ -622,7 +622,7 @@ nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr,
622 622
623 placement.fpfn = placement.lpfn = 0; 623 placement.fpfn = placement.lpfn = 0;
624 placement.num_placement = placement.num_busy_placement = 1; 624 placement.num_placement = placement.num_busy_placement = 1;
625 placement.placement = &placement_memtype; 625 placement.placement = placement.busy_placement = &placement_memtype;
626 626
627 tmp_mem = *new_mem; 627 tmp_mem = *new_mem;
628 tmp_mem.mm_node = NULL; 628 tmp_mem.mm_node = NULL;