drm/amdgpu:fw bo should be in VRAM for SRIOV
authorFrank Min <Frank.Min@amd.com>
Wed, 27 Apr 2016 12:02:57 +0000 (20:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Oct 2016 18:38:22 +0000 (14:38 -0400)
commitf501a7e550015bc3170c24d18ba1a008e38bddbf
tree15edfc7256a355c2df7a093b4d381616e3fa290a
parent01ab960d49cdc8d7fbfa5a6f2b717f491927a776
drm/amdgpu:fw bo should be in VRAM for SRIOV

for GTT memory SMC can only access it within PF space, which is not
used for SRIOV case, thus for SRIOV case, we let SMC use FB space for
ucode bo.

Signed-off-by: Frank Min <frank.min@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c