diff options
| author | Arvind Yadav <[email protected]> | 2023-10-09 17:13:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-09 21:02:34 +0000 |
| commit | 367a0af43373d4f791cc8b466a659ecf5aa52377 (patch) | |
| tree | 094145374e3006f86c22c0529f953a8cd5af7168 /drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | |
| parent | drm/amdgpu: add missing NULL check (diff) | |
| download | kernel-367a0af43373d4f791cc8b466a659ecf5aa52377.tar.gz kernel-367a0af43373d4f791cc8b466a659ecf5aa52377.zip | |
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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c')
0 files changed, 0 insertions, 0 deletions
