Files
linux-bredos/drivers/gpu/drm/amd/amdkfd
Arvind Yadav 45d72eadf2 drm/amdkfd: get doorbell's absolute offset based on the db_size
[ Upstream commit 367a0af433 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-13 18:45:11 +01:00
..
2023-08-11 14:47:25 -04:00
2023-08-11 14:47:25 -04:00
2023-08-11 14:47:25 -04:00
2023-08-11 14:47:25 -04:00
2023-08-11 14:47:25 -04:00
2023-08-11 14:47:25 -04:00