diff options
| author | Lang Yu <[email protected]> | 2023-07-08 04:43:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-12 15:12:09 +0000 |
| commit | 1ddcdb7cb6bb5edb889a21228533406e908f7257 (patch) | |
| tree | f65e85396c953bd301d3816c3e9e004852b3eba0 /drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | |
| parent | drm/amdgpu: rename psp_execute_non_psp_fw_load and make it global (diff) | |
| download | kernel-1ddcdb7cb6bb5edb889a21228533406e908f7257.tar.gz kernel-1ddcdb7cb6bb5edb889a21228533406e908f7257.zip | |
drm/amdgpu: use psp_execute_load_ip_fw instead
Replace the old ones with psp_execute_load_ip_fw.
Suggested-by: Lijo Lazar <[email protected]>
Signed-off-by: Lang Yu <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c index c8f63b3c6f69..b76ba21b5a89 100644 --- a/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c @@ -1037,9 +1037,7 @@ static int vcn_v3_0_start_dpg_mode(struct amdgpu_device *adev, int inst_idx, boo VCN, inst_idx, mmUVD_VCPU_CNTL), tmp, 0, indirect); if (indirect) - psp_update_vcn_sram(adev, inst_idx, adev->vcn.inst[inst_idx].dpg_sram_gpu_addr, - (uint32_t)((uintptr_t)adev->vcn.inst[inst_idx].dpg_sram_curr_addr - - (uintptr_t)adev->vcn.inst[inst_idx].dpg_sram_cpu_addr)); + amdgpu_vcn_psp_update_sram(adev, inst_idx, 0); ring = &adev->vcn.inst[inst_idx].ring_dec; /* force RBC into idle state */ |
