]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/ttm: fix two bugs in new placement routines.
authorDave Airlie <airlied@redhat.com>
Mon, 14 Dec 2009 04:51:35 +0000 (14:51 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 05:33:32 +0000 (15:33 +1000)
commitb663752627e7c6b4bc414684d71c6adce5719fce
tree604756a6116560a6986f589a92a32f3fa9ba9e34
parentb8ff7357da45e025c446fe0479612215fe56a249
drm/ttm: fix two bugs in new placement routines.

a) the loops were going to <= not <, leading to illegal memory access
b) the busy placement checks were using the placement arrays not the
   busy placement ones.

Acked-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo.c