drm/ttm: fix incorrect logic in ttm_bo_io path
authorDave Airlie <airlied@redhat.com>
Mon, 14 Dec 2009 22:07:12 +0000 (08:07 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 05:32:31 +0000 (15:32 +1000)
commitb8ff7357da45e025c446fe0479612215fe56a249
treea2090eb741b2f970c5b1817c06e40c37c242939c
parent6ee738610f41b59733f63718f0bdbcba7d3a3f12
drm/ttm: fix incorrect logic in ttm_bo_io path

This path isn't used by radeon yet, but future drivers will want it,
so fix it right.

Reported-by: Luca Barbieri <luca@luca-barbieri.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c