Commit 75fdd738 authored by Lang Yu's avatar Lang Yu Committed by Alex Deucher

drm/amdgpu: add nbio callback for VPE

Add nbio callback to configure doorbell settings.
Signed-off-by: default avatarLang Yu <Lang.Yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 964a36d7
...@@ -69,6 +69,8 @@ struct amdgpu_nbio_funcs { ...@@ -69,6 +69,8 @@ struct amdgpu_nbio_funcs {
u32 (*get_memsize)(struct amdgpu_device *adev); u32 (*get_memsize)(struct amdgpu_device *adev);
void (*sdma_doorbell_range)(struct amdgpu_device *adev, int instance, void (*sdma_doorbell_range)(struct amdgpu_device *adev, int instance,
bool use_doorbell, int doorbell_index, int doorbell_size); bool use_doorbell, int doorbell_index, int doorbell_size);
void (*vpe_doorbell_range)(struct amdgpu_device *adev, int instance,
bool use_doorbell, int doorbell_index, int doorbell_size);
void (*vcn_doorbell_range)(struct amdgpu_device *adev, bool use_doorbell, void (*vcn_doorbell_range)(struct amdgpu_device *adev, bool use_doorbell,
int doorbell_index, int instance); int doorbell_index, int instance);
void (*gc_doorbell_init)(struct amdgpu_device *adev); void (*gc_doorbell_init)(struct amdgpu_device *adev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment