radeonsi: always initialize max_forced_staging_uploads
authorMarek Olšák <marek.olsak@amd.com>
Fri, 24 Nov 2017 21:08:03 +0000 (22:08 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 27 Nov 2017 13:12:38 +0000 (14:12 +0100)
commitb5444877c0820b7848c07d1bc4e9a706f90894a5
tree77f945c688e4fb3a0e57f07b8604e489966c0e29
parent95cd74abd403b4193a249783a6d9250fc63fdcd4
radeonsi: always initialize max_forced_staging_uploads

r600_resource is malloc'd.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103808
Fixes: 4b0dc098b256 ("gallium/u_threaded: don't map big VRAM buffers for the first upload directly")
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c