linux_dsm_epyc7002/drivers/gpu/drm/amd
Harish Kasiviswanathan df03ef9342 drm/amdkfd: Clean up KFD_MMAP_ offset handling
Use bit-rotate for better clarity and remove _MASK from the #defines as
these represent mmap types.

Centralize all the parsing of the mmap offset in kfd_mmap and add device
parameter to doorbell and reserved_mem map functions.

Encode gpu_id into upper bits of vm_pgoff. This frees up the lower bits
for encoding the the doorbell ID on Vega10.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-04-10 17:33:04 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Add doorbell routing info to kgd2kfd_shared_resources 2018-04-10 17:33:02 -04:00
amdkfd drm/amdkfd: Clean up KFD_MMAP_ offset handling 2018-04-10 17:33:04 -04:00
display exynos, i915, vc4, amdgpu fixes 2018-04-22 17:14:29 -07:00
include drm/amdgpu: Add doorbell routing info to kgd2kfd_shared_resources 2018-04-10 17:33:02 -04:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: header file interface to SMU update 2018-04-19 10:25:06 -05:00