drm/amdgpu: add fwlog support on vcn_v4_0_3

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>
This commit is contained in:
James Zhu 2022-12-12 12:31:23 -05:00 committed by Alex Deucher
parent 45ed97ad36
commit 2d7f1d51c1

View File

@ -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)