r600g: fix segfault with old kernel
authorJerome Glisse <jglisse@redhat.com>
Mon, 28 Jan 2013 19:48:46 +0000 (14:48 -0500)
committerJerome Glisse <jglisse@redhat.com>
Mon, 28 Jan 2013 19:51:40 +0000 (14:51 -0500)
commit72916698b056d0559263e84372bb45cd83a1c2c2
tree923631099fde92a5b6ce5cd114de8435dd20d720
parentdbb2d192de33064ae6cdb799d71c5ac89a6ea8ff
r600g: fix segfault with old kernel

Old kernel do not have dma support, patch pushed were missing some
of the check needed to not use dma.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/r600/r600_texture.c