aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-01-29 20:46:44 +0000
committerJens Axboe <[email protected]>2020-01-29 20:46:44 +0000
commitf86cd20c9454847a524ddbdcdec32c0380ed7c9b (patch)
treec6f996fd423f2793fe0aba28e1a0b7b4f98dc3aa /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentio_uring: support using a registered personality for commands (diff)
downloadkernel-f86cd20c9454847a524ddbdcdec32c0380ed7c9b.tar.gz
kernel-f86cd20c9454847a524ddbdcdec32c0380ed7c9b.zip
io_uring: fix linked command file table usage
We're not consistent in how the file table is grabbed and assigned if we have a command linked that requires the use of it. Add ->file_table to the io_op_defs[] array, and use that to determine when to grab the table instead of having the handlers set it if they need to defer. This also means we can kill the IO_WQ_WORK_NEEDS_FILES flag. We always initialize work->files, so io-wq can just check for that. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions