diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-04-13 16:13:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-15 13:43:28 -0500 |
commit | 7951e376704773134cefcf0751e9042368226f15 (patch) | |
tree | 70cf09609d0b924450068df0a2e5e6c83330a56e /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 3216c6b71d1e6a7dce2fd29c531e8c99c1b88c95 (diff) | |
download | op-kernel-dev-7951e376704773134cefcf0751e9042368226f15.zip op-kernel-dev-7951e376704773134cefcf0751e9042368226f15.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index ea1b285..d64ef30 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -129,6 +129,7 @@ extern int amdgpu_lbpw; extern int amdgpu_compute_multipipe; extern int amdgpu_gpu_recovery; extern int amdgpu_emu_mode; +extern uint amdgpu_smu_memory_pool_size; #ifdef CONFIG_DRM_AMDGPU_SI extern int amdgpu_si_support; |