projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45ed97a
)
drm/amdgpu: add fwlog support on vcn_v4_0_3
author
James Zhu
<James.Zhu@amd.com>
Mon, 12 Dec 2022 17:31:23 +0000
(12:31 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:51:24 +0000
(09:51 -0400)
Add fwlog support on vcn_v4_0_3.
Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
b/drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
index 8db50a50b868b8e00a422f9e4d90f182dbe26e07..40de2852c5caa3da6d7ef8c7c56469c6a22e73e2 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
+++ b/
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
@@
-118,6
+118,9
@@
static int vcn_v4_0_3_sw_init(void *handle)
fw_shared = adev->vcn.inst[i].fw_shared.cpu_addr;
fw_shared->present_flag_0 = 0;
fw_shared->sq.is_enabled = cpu_to_le32(true);
+
+ if (amdgpu_vcnfw_log)
+ amdgpu_vcn_fwlog_init(&adev->vcn.inst[i]);
}
if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG)