drm/amdgpu: Reserved vram for smu to save debug info.
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 13 Apr 2018 08:13:41 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:28 +0000 (13:43 -0500)
commit7951e376704773134cefcf0751e9042368226f15
tree70cf09609d0b924450068df0a2e5e6c83330a56e
parent3216c6b71d1e6a7dce2fd29c531e8c99c1b88c95
drm/amdgpu: Reserved vram for smu to save debug info.

v2: check reserved vram size before allocate.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c