]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use FW addr returned by PSP for VF MM
authorTrigger Huang <Trigger.Huang@amd.com>
Mon, 25 Feb 2019 11:19:56 +0000 (19:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 May 2019 18:23:24 +0000 (13:23 -0500)
commit1d7fe59dc0e9aa480ca91fd264a7dfb73558c103
tree9154b233bb7128f4ae733abfcf8d20423b9394de
parentc8e392d5b0084048249dfd0e2fed80b14cdcecfa
drm/amdgpu: Use FW addr returned by PSP for VF MM

One Vega10 SR-IOV VF, the FW address returned by PSP should be
set into the init table, while not the original BO mc address.
otherwise, UVD and VCE IB test will fail under Vega10 SR-IOV

reference:
commit 3845ab252e2c ("drm/amdgpu:change VEGA booting with firmware loaded by PSP")
commit bda279d5ef63 ("drm/amdgpu: Change VCE booting with firmware loaded by PSP")

Signed-off-by: Trigger Huang <Trigger.Huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c