diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2018-04-10 17:33:04 -0400 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2018-04-10 17:33:04 -0400 |
commit | df03ef9342ce09985210679a734f88a269c19ff5 (patch) | |
tree | 45b3f87b50f52d8183799877f26a728f26a07125 /drivers/rtc/rtc-pcf8523.c | |
parent | ada2b29c4a79efbdc5bf5eed876bad6b00f43536 (diff) | |
download | talos-op-linux-df03ef9342ce09985210679a734f88a269c19ff5.tar.gz talos-op-linux-df03ef9342ce09985210679a734f88a269c19ff5.zip |
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>
Diffstat (limited to 'drivers/rtc/rtc-pcf8523.c')
0 files changed, 0 insertions, 0 deletions