OSDN Git Service

drm/radeon: Add ATC VMID<-->PASID functions to kfd->kgd
authorAlexey Skidanov <Alexey.Skidanov@amd.com>
Tue, 19 May 2015 16:25:01 +0000 (19:25 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 3 Jun 2015 08:34:46 +0000 (11:34 +0300)
commitedad40239ffcaafd7eb56e4060d472aa5af2df21
treef84acc8cabbce7fcd815c5f95991949ee0805f6e
parentf8bd13338a9a42358158954251969e66934ec3d1
drm/radeon: Add ATC VMID<-->PASID functions to kfd->kgd

This patch adds three new interfaces to kfd2kgd interface file of radeon.

The interfaces are:

- Check if a specific VMID has a valid PASID mapping
- Retrieve the PASID which is mapped to a specific VMID
- Issue a VMID invalidation request to the ATC

Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/include/kgd_kfd_interface.h
drivers/gpu/drm/radeon/cikd.h
drivers/gpu/drm/radeon/radeon_kfd.c