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:
7bd5d76
)
drm/amdgpu: skip gfxhub tlb flush if gfx is power off
author
Likun Gao
<Likun.Gao@amd.com>
Mon, 25 Aug 2025 06:23:08 +0000
(14:23 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:59:55 +0000
(16:59 -0500)
Skip for gfxhub tlb flush for gc v12_1 if gfx is not poweron.
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
index
bef28ae
..
3c6b6c6
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
@@
-319,6
+319,10
@@
static void gmc_v12_1_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid,
{
u32 inst;
+ if (AMDGPU_IS_GFXHUB(vmhub) &&
+ !adev->gfx.is_poweron)
+ return;
+
if (vmhub >= AMDGPU_MMHUB0(0))
inst = 0;
else