diff options
author | Niels Ole Salscheider <[email protected]> | 2014-03-17 18:48:05 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-03-20 17:21:16 +0100 |
commit | acf55e73252e46fa51378ef4b23c94a89902ae1c (patch) | |
tree | a1f436e3c4d9a6a7fd0f16cbbf55f4b2988d08f2 /src/gallium/drivers/r600/evergreen_state.c | |
parent | f4b3430a36ea88707f59ce147a140a1a559378c5 (diff) |
radeon: Move r600_need_dma_space to common code
Signed-off-by: Niels Ole Salscheider <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 05cc3ef4cc2..b929f178351 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -3295,7 +3295,7 @@ static void evergreen_dma_copy_tile(struct r600_context *rctx, size = (copy_height * pitch) >> 2; ncopy = (size / 0x000fffff) + !!(size % 0x000fffff); - r600_need_dma_space(rctx, ncopy * 9); + r600_need_dma_space(&rctx->b, ncopy * 9); for (i = 0; i < ncopy; i++) { cheight = copy_height; |