aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-04-25 14:32:24 +0100
committerJens Axboe <axboe@kernel.dk>2021-04-25 10:14:04 -0600
commiteae071c9b4cefbcc3f985c5abf9a6e32c1608ca9 (patch)
treeb80ef1109fc77602ee2ab118c8321a9e27e605ba /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parent41edf1a5ec967bf4bddedb83c48e02dfea8315b4 (diff)
io_uring: prepare fixed rw for dynanic buffers
With dynamic buffer updates, registered buffers in the table may change at any moment. First of all we want to prevent future races between updating and importing (i.e. io_import_fixed()), where the latter one may happen without uring_lock held, e.g. from io-wq. Save the first loaded io_mapped_ubuf buffer and reuse. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/21a2302d07766ae956640b6f753292c45200fe8f.1619356238.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions