OSDN Git Service

radeonsi/compute: Call si_pm4_free_state() after emitting compute state
authorTom Stellard <thomas.stellard@amd.com>
Fri, 8 Aug 2014 13:38:08 +0000 (09:38 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 13 Aug 2014 18:17:02 +0000 (14:17 -0400)
commit1e2e55067117f02542f4aa4b9a15b8eca81c1274
tree3022c02d0983f265ba5c17e55e9a3865d3e5cceb
parent05e9681d5524981db623c077708816476553f908
radeonsi/compute: Call si_pm4_free_state() after emitting compute state

This will decrement the reference count for buffers referenced in the
command stream will prevent us from leaking them.

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