vdpau: call texture_get_handle while the mutex is being held
authorMarek Olšák <marek.olsak@amd.com>
Wed, 4 Jan 2017 10:42:13 +0000 (11:42 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 4 Jan 2017 16:27:41 +0000 (17:27 +0100)
commitdbba4e03b16b80bf4071016b8197369ccb20c72b
treebc03b523f11d063b0622a5df9a801aa52a50b20e
parent7d48a84b16b6f1e60dae921fc17fe4d1e55701d0
vdpau: call texture_get_handle while the mutex is being held

The context may be used by texture_get_handle.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99158

Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: 13.0 <mesa-stable@lists.freedesktop.org>
src/gallium/state_trackers/vdpau/output.c
src/gallium/state_trackers/vdpau/surface.c