From: Leo Liu Date: Mon, 20 Jan 2020 15:07:40 +0000 (-0500) Subject: drm/amdgpu: change the offset for VCN FW cache window X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=14765e9c225eb4416d2584697d443a264fbd4806;p=linux.git drm/amdgpu: change the offset for VCN FW cache window The signed header is added Signed-off-by: Leo Liu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c index 011edbdd4e558..371c70a1e6111 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c @@ -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, upper_32_bits(adev->vcn.inst[inst].gpu_addr)); offset = size; - /* No signed header for now from firmware WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_OFFSET0, AMDGPU_UVD_FIRMWARE_OFFSET >> 3); - */ - WREG32_SOC15(UVD, inst, mmUVD_VCPU_CACHE_OFFSET0, 0); } WREG32_SOC15(VCN, inst, mmUVD_VCPU_CACHE_SIZE0, size);