diff options
author | Shashank Sharma <shashank.sharma@amd.com> | 2023-04-12 14:39:00 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-07 17:14:07 -0400 |
commit | d124aa0ac96358042ba34df091a3bfa6e77fcf6f (patch) | |
tree | a76c3e538fb9e996c91e6308251ffd2ac04eda61 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
parent | 3b885ab27f361b790b9e8450384a2ba1ef523724 (diff) |
drm/amdgpu: get absolute offset from doorbell index
This patch adds a helper function which converts a doorbell's
relative index in a BO to an absolute doorbell offset in the
doorbell BAR.
V2: No space between the variable name doc (Luben)
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions