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/r600/r600_uvd.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/r600/r600_uvd.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_uvd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_uvd.c b/src/gallium/drivers/r600/r600_uvd.c index 18d2b69afb0..0c928345773 100644 --- a/src/gallium/drivers/r600/r600_uvd.c +++ b/src/gallium/drivers/r600/r600_uvd.c @@ -160,7 +160,7 @@ static struct pb_buffer* r600_uvd_set_dtb(struct ruvd_msg *msg, struct vl_video_ struct r600_texture *chroma = (struct r600_texture *)buf->resources[1]; msg->body.decode.dt_field_mode = buf->base.interlaced; - msg->body.decode.dt_surf_tile_config |= RUVD_NUM_BANKS(eg_num_banks(rscreen->b.tiling_info.num_banks)); + msg->body.decode.dt_surf_tile_config |= RUVD_NUM_BANKS(eg_num_banks(rscreen->b.info.r600_num_banks)); ruvd_set_dt_surfaces(msg, &luma->surface, &chroma->surface); |