aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
diff options
context:
space:
mode:
authorHorace Chen <[email protected]>2017-09-29 06:41:57 +0000
committerAlex Deucher <[email protected]>2017-10-09 20:30:16 +0000
commita05502e5cfa9abe17a16592be82c2f5692c91f35 (patch)
tree4469aaafa3b34b2f81768ee775c08ee9e218ee45 /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c
parentdrm/amdgpu: Set the correct value for PDEs/PTEs of ATC memory on Raven (diff)
downloadkernel-a05502e5cfa9abe17a16592be82c2f5692c91f35.tar.gz
kernel-a05502e5cfa9abe17a16592be82c2f5692c91f35.zip
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions