Commit 14765e9c authored by Leo Liu's avatar Leo Liu Committed by Alex Deucher

drm/amdgpu: change the offset for VCN FW cache window

The signed header is added
Signed-off-by: default avatarLeo Liu <leo.liu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 00194def
...@@ -356,11 +356,8 @@ static void vcn_v3_0_mc_resume(struct amdgpu_device *adev, int inst) ...@@ -356,11 +356,8 @@ static void vcn_v3_0_mc_resume(struct amdgpu_device *adev, int inst)
WREG32_SOC15(VCN, inst, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH, WREG32_SOC15(VCN, inst, mmUVD_LMI_VCPU_CACHE_64BIT_BAR_HIGH,
upper_32_bits(adev->vcn.inst[inst].gpu_addr)); upper_32_bits(adev->vcn.inst[inst].gpu_addr));
offset = size; offset = size;
/* No signed header for now from firmware
WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_OFFSET0, WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_OFFSET0,
AMDGPU_UVD_FIRMWARE_OFFSET >> 3); AMDGPU_UVD_FIRMWARE_OFFSET >> 3);
*/
WREG32_SOC15(UVD, inst, mmUVD_VCPU_CACHE_OFFSET0, 0);
} }
WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_SIZE0, size); WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_SIZE0, size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment