diff options
author | Marek Olšák <[email protected]> | 2016-01-30 01:52:58 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-05 17:28:24 +0100 |
commit | 294ec530c9829aead97487b1feb06361ef97cc2d (patch) | |
tree | 68a200138a024ed0f9e1cab72bd41b1f2dafc523 /src/gallium/drivers/radeonsi/cik_sdma.c | |
parent | 0f3556d308f155936c545ed8b9737c5e3f11a620 (diff) |
gallium/radeon: just get num_tile_pipes from the winsys
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/cik_sdma.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/cik_sdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c index 105a1b2a878..76913914b38 100644 --- a/src/gallium/drivers/radeonsi/cik_sdma.c +++ b/src/gallium/drivers/radeonsi/cik_sdma.c @@ -308,7 +308,7 @@ void cik_sdma_copy(struct pipe_context *ctx, } mtilew = (8 * rsrc->surface.bankw * - sctx->screen->b.tiling_info.num_channels) * + sctx->screen->b.info.num_tile_pipes) * rsrc->surface.mtilea; assert(!(mtilew & (mtilew - 1))); mtileh = (8 * rsrc->surface.bankh * num_banks) / |