]> git.karo-electronics.de Git - karo-tx-linux.git/commit
amdkfd: Add binding/unbinding calls to amd_iommu driver
authorOded Gabbay <oded.gabbay@amd.com>
Wed, 16 Jul 2014 21:06:27 +0000 (00:06 +0300)
committerOded Gabbay <oded.gabbay@amd.com>
Wed, 16 Jul 2014 21:06:27 +0000 (00:06 +0300)
commitb17f068a09fbe9b193a18080ff8ad5114a900124
treeb9f98a743a12fce638f780c60242cd9f69529627
parent19f6d2a660340d01bcdb7a09557efeeee28d1517
amdkfd: Add binding/unbinding calls to amd_iommu driver

This patch adds the functions to bind and unbind pasid
from a device through the amd_iommu driver.

The unbind function is called when the mm_struct of the
process is released.

The bind function is not called here because it is called
only in the IOCTLs which are not yet implemented at this
stage of the patchset.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_process.c