]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fb2313e4f16f532f004247541db7ca50abea5a9
tree29271e579ae00c7af90fb2c642f3fcf77a39eee0
parentb2e6c24549781cb2bba3a0125c601e35c126ac87
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