drm/radeon/kms: r600/r700 don't test ib if ib initialization fails
authorJerome Glisse <jglisse@redhat.com>
Sun, 17 Jan 2010 20:21:56 +0000 (21:21 +0100)
committerDave Airlie <airlied@linux.ie>
Wed, 20 Jan 2010 22:47:01 +0000 (08:47 +1000)
commitdb96380ea26fcc31ab37189aedeabd12894b1431
treeea5b5a5959b81fd2d60a705f96d0d1adeab86881
parent7e71c9e2e7704ebf044d4a964e02fbd2098a173f
drm/radeon/kms: r600/r700 don't test ib if ib initialization fails

If ib initialization failed don't try to test ib as it will result
in an oops (accessing NULL ib buffer ptr).

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rv770.c