]> asedeno.scripts.mit.edu Git - linux.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)
commit992fbe8ce035d8c3fb2615ac6e8faeaa7c2fa2c3
tree9154b233bb7128f4ae733abfcf8d20423b9394de
parent570c91d51b337053a90ac91710b5fa5d2aacd311
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 bfcea5204287 ("drm/amdgpu:change VEGA booting with firmware loaded by PSP")
commit aa5873dca463 ("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