summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
diff options
context:
space:
mode:
authorArvind Yadav <Arvind.Yadav@amd.com>2023-10-09 22:43:16 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-10-09 17:02:34 -0400
commit367a0af43373d4f791cc8b466a659ecf5aa52377 (patch)
tree094145374e3006f86c22c0529f953a8cd5af7168 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
parent31220ee9dc5a3e25d38d29d3816b6e79d8c39abc (diff)
drm/amdkfd: get doorbell's absolute offset based on the db_size
Here, Adding db_size in byte to find the doorbell's absolute offset for both 32-bit and 64-bit doorbell sizes. So that doorbell offset will be aligned based on the doorbell size. v2: - Addressed the review comment from Felix. v3: - Adding doorbell_size as parameter to get db absolute offset. v4: Squash the two patches into one. Cc: Christian Koenig <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Shashank Sharma <shashank.sharma@amd.com> Signed-off-by: Arvind Yadav <Arvind.Yadav@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions