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:
99ea82f
)
drm/amdgpu/vpe: align with mcbp changes
author
Lang Yu
<Lang.Yu@amd.com>
Sat, 7 Oct 2023 02:10:50 +0000
(10:10 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 13 Oct 2023 14:58:13 +0000
(10:58 -0400)
MCBP is decided by adev->gfx.mcbp now.
This is missed in rebase.
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
index
2396622
..
bb74478
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
@@
-253,7
+253,7
@@
static uint64_t vpe_get_csa_mc_addr(struct amdgpu_ring *ring, uint32_t vmid)
uint32_t index = 0;
uint64_t csa_mc_addr;
- if (amdgpu_sriov_vf(adev) || vmid == 0 || !a
mdgpu_
mcbp)
+ if (amdgpu_sriov_vf(adev) || vmid == 0 || !a
dev->gfx.
mcbp)
return 0;
csa_mc_addr = amdgpu_csa_vaddr(adev) + AMDGPU_CSA_VPE_OFFSET +