]> git.baikalelectronics.ru Git - 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)
commitca488b8cd0138e6b63d513bbc2e20f5f693a0f36
tree604756a6116560a6986f589a92a32f3fa9ba9e34
parent782b8d20eb6708cd3267efc1f5afb139d7b427f1
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