mirror_ubuntu-kernels/drivers/gpu/drm/amd
Andrey Grodzovsky 6f752ec2c2 drm/amdgpu: Free VGA stolen memory as soon as possible.
Reserved VRAM is used to avoid overriding pre OS FB.
Once our display stack takes over we don't need the reserved
VRAM anymore.

v2:
Remove comment, we know actually why we need to reserve the stolen VRAM.
Fix return type for amdgpu_ttm_late_init.
v3:
Return 0 in amdgpu_bo_late_init, rebase on changes to previous patch
v4: rebase
v5:
For GMC9 reserve always just 9M and keep the stolem memory around
until GART table curruption on S3 resume is resolved.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-05-15 13:43:16 -05:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Free VGA stolen memory as soon as possible. 2018-05-15 13:43:16 -05:00
amdkfd drm/amdkfd: Use ordered workqueue to restore processes 2018-03-23 15:30:36 -04:00
display Revert "drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2)" 2018-05-15 13:43:12 -05:00
include drm/amdgpu: add df v1_7 header files 2018-04-11 13:07:53 -05:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amdgpu/powerplay: rename smu7_upload_mc_firmware 2018-05-15 13:43:13 -05:00