aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorHorace Chen <horace.chen@amd.com>2017-09-29 14:41:57 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-10-09 16:30:16 -0400
commita05502e5cfa9abe17a16592be82c2f5692c91f35 (patch)
tree4469aaafa3b34b2f81768ee775c08ee9e218ee45 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent6d16dac85c081825af58111023428c43d1da7e1a (diff)
drm/amdgpu: Reserve shared memory on VRAM for SR-IOV
SR-IOV need to reserve a piece of shared VRAM at the exact place to exchange data betweem PF and VF. The start address and size of the shared mem are passed to guest through VBIOS structure VRAM_UsageByFirmware. VRAM_UsageByFirmware is a general feature in VBIOS, it indicates that VBIOS need to reserve a piece of memory on the VRAM. Because the mem address is specified. Reserve it early in amdgpu_ttm_init to make sure that it can monoplize the space. Signed-off-by: Horace Chen <horace.chen@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions