mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
fbb30168c7
The previous code was not thread safe and caused
undefined behavior from spurious duplicate resource IDs.
In this patch, an atomic_t is used instead. We no longer
see any duplicate IDs in tests with this change.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
virtgpu_debugfs.c | ||
virtgpu_display.c | ||
virtgpu_drv.c | ||
virtgpu_drv.h | ||
virtgpu_fence.c | ||
virtgpu_gem.c | ||
virtgpu_ioctl.c | ||
virtgpu_kms.c | ||
virtgpu_object.c | ||
virtgpu_plane.c | ||
virtgpu_prime.c | ||
virtgpu_trace_points.c | ||
virtgpu_trace.h | ||
virtgpu_vq.c |