diff options
author | Marek Olšák <[email protected]> | 2016-01-30 02:29:32 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-02-05 17:28:40 +0100 |
commit | 276621da451ae93321de05bf63baaf20ee2f32ca (patch) | |
tree | 8d24d919cde32089a4979d85f0649510db6e84b8 /src/gallium/drivers/radeonsi/si_state.c | |
parent | 294ec530c9829aead97487b1feb06361ef97cc2d (diff) |
gallium/radeon: set num_banks in the winsys
amdgpu doesn't have to set this, because radeonsi gets it from tile mode
arrays by default.
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 580aa789098..bf780777b50 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -97,7 +97,7 @@ uint32_t si_num_banks(struct si_screen *sscreen, struct r600_texture *tex) } /* The old way. */ - switch (sscreen->b.tiling_info.num_banks) { + switch (sscreen->b.info.r600_num_banks) { case 2: return V_02803C_ADDR_SURF_2_BANK; case 4: |