projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
964a36d
)
drm/amdgpu: add nbio callback for VPE
author
Lang Yu
<Lang.Yu@amd.com>
Tue, 18 Jul 2023 20:29:06 +0000
(16:29 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 31 Aug 2023 20:33:53 +0000
(16:33 -0400)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
b/drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
index
6cf7a88
..
65e3505
100644
(file)
--- 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);