mesa/src/amd/vulkan/layers
Samuel Pitoiset 923a864d94 radv: acquire pstate on-demand when capturing with RGP
AMDGPU pstate is per-device, not per Vulkan logical devices. The same
AMDGPU device is shared accross logical devices because the driver
creates only one winsys per fd. The kernel only allows one context
at a time per AMDGPU device, otherwise it returns -EBUSY.

Fixes this by acquiring pstate on-demand to avoid this multiple
logical device problem.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17712>
2022-09-21 09:50:18 +00:00
..
radv_metro_exodus.c radv: do not use the common entrypoint for the Metro Exodus layer 2022-01-05 19:22:50 +00:00
radv_rra_layer.c radv: Explicitly store the VA of accel structs 2022-09-14 09:05:25 +00:00
radv_sqtt_layer.c radv: acquire pstate on-demand when capturing with RGP 2022-09-21 09:50:18 +00:00