aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
diff options
context:
space:
mode:
authorLiu Yi L <[email protected]>2020-07-12 11:20:56 +0000
committerAlex Williamson <[email protected]>2020-07-27 19:46:13 +0000
commitccd59dce1a21f473518bf273bdf5b182bab955b3 (patch)
tree0f4119aee0cdd8d379a55f019afc5eba54fb115c /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c
parentvfio/pci: Add QAT devices to denylist (diff)
downloadkernel-ccd59dce1a21f473518bf273bdf5b182bab955b3.tar.gz
kernel-ccd59dce1a21f473518bf273bdf5b182bab955b3.zip
vfio/type1: Refactor vfio_iommu_type1_ioctl()
This patch refactors the vfio_iommu_type1_ioctl() to use switch instead of if-else, and each command got a helper function. Cc: Kevin Tian <[email protected]> CC: Jacob Pan <[email protected]> Cc: Alex Williamson <[email protected]> Cc: Eric Auger <[email protected]> Cc: Jean-Philippe Brucker <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Lu Baolu <[email protected]> Reviewed-by: Eric Auger <[email protected]> Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Liu Yi L <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions