Skip to content

Commit

Permalink
drm/nouveau: Fix "general protection fault" in the flipd/flips evicti…
Browse files Browse the repository at this point in the history
…on path.

Signed-off-by: Francisco Jerez <currojerez@riseup.net>
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jan 10, 2010
1 parent cea7789 commit 77e2b5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/nouveau/nouveau_bo.c
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr,

placement.fpfn = placement.lpfn = 0;
placement.num_placement = placement.num_busy_placement = 1;
placement.placement = &placement_memtype;
placement.placement = placement.busy_placement = &placement_memtype;

tmp_mem = *new_mem;
tmp_mem.mm_node = NULL;
Expand Down Expand Up @@ -622,7 +622,7 @@ nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr,

placement.fpfn = placement.lpfn = 0;
placement.num_placement = placement.num_busy_placement = 1;
placement.placement = &placement_memtype;
placement.placement = placement.busy_placement = &placement_memtype;

tmp_mem = *new_mem;
tmp_mem.mm_node = NULL;
Expand Down

0 comments on commit 77e2b5e

Please sign in to comment.