OSDN Git Service

drm/amdkfd: Use better name to indicate the offset is in dwords
authorYong Zhao <Yong.Zhao@amd.com>
Tue, 15 Jan 2019 18:16:34 +0000 (13:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:45 +0000 (15:29 -0500)
commit339903fa989b7a0c9fc26e0f35e36df7e110d737
tree29271e579ae00c7af90fb2c642f3fcf77a39eee0
parent026674cf055f15da0fa92fbef293d5852346380d
drm/amdkfd: Use better name to indicate the offset is in dwords

The doorbell offset could mean the byte offset or the dword offset,
and the 0 offset place is also different, sometimes the start of PCI
doorbell bar or the start of process doorbell pages. Use better name
to avoid confusion.

Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h