summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
diff options
context:
space:
mode:
authorLang Yu <Lang.Yu@amd.com>2023-07-18 23:29:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-08-31 23:33:53 +0300
commit75fdd738ff2cedd00a7b9e1bd4db36a3e4199903 (patch)
tree42746d38c58154af79d061efb2c06dd6c98fa009 /drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
parent964a36d7a4780bb657a98789fae5a620de0bb1e0 (diff)
downloadlinux-75fdd738ff2cedd00a7b9e1bd4db36a3e4199903.tar.xz
drm/amdgpu: add nbio callback for VPE
Add nbio callback to configure doorbell settings. Signed-off-by: Lang Yu <Lang.Yu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
index 6cf7a8829a52..65e35059de40 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
@@ -69,6 +69,8 @@ struct amdgpu_nbio_funcs {
u32 (*get_memsize)(struct amdgpu_device *adev);
void (*sdma_doorbell_range)(struct amdgpu_device *adev, int instance,
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,
int doorbell_index, int instance);
void (*gc_doorbell_init)(struct amdgpu_device *adev);