winsys/amdgpu: fix the type of memory usage counters
authorMarek Olšák <marek.olsak@amd.com>
Mon, 17 Aug 2015 17:55:57 +0000 (19:55 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 19 Aug 2015 10:03:01 +0000 (12:03 +0200)
commit5fb0180592b124857e2e0369e2cdee74bd552bb9
tree586615bc53abd9b05e916617360335c333b7648c
parent421b809db10b939d9baf7b904560c37b68261aaf
winsys/amdgpu: fix the type of memory usage counters

If the 32-bit types overflowed, the driver could submit an IB that uses much
more memory than is available.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_cs.h