radeonsi/compute: Stop leaking the input buffer
authorTom Stellard <thomas.stellard@amd.com>
Fri, 8 Aug 2014 13:27:34 +0000 (09:27 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 13 Aug 2014 18:18:35 +0000 (14:18 -0400)
commita15088338ebe544efd90bfa7934cb99521488141
tree7bcca0432e6b0d0f39bfdd66ab16961842c59236
parent38fccc37c1fa57c1fd373e8d71621bb4aed31083
radeonsi/compute: Stop leaking the input buffer

We were leaking the input buffer used for kernel arguments and since
we were allocating it using si_upload_const_buffer() we were leaking
1 MB per kernel invocation.

CC: "10.2" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_compute.c