gallium/radeon: Set gpu_address to 0 if r600_virtual_address is false
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Sun, 10 Aug 2014 10:52:12 +0000 (12:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 10 Aug 2014 10:54:34 +0000 (12:54 +0200)
commit3d5e247de681dc6ee97ef26ff1b2268a81d2b070
tree315bcd4ca36e282265bfdccd22b25aeee63fce59
parenta65611f70abc91f86e41aeaf5fa1941e3440feb6
gallium/radeon: Set gpu_address to 0 if r600_virtual_address is false

Without this patch I get the following during DMA transfers:
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
radeon 0000:01:00.0: CP DMA dst buffer too small (21475829792 4096)

This is a fixup for e878e154cdfd4dbb5474f776e0a6d86fcb983098.

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c