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_dpm.h | |
parent | 3216c6b71d1e6a7dce2fd29c531e8c99c1b88c95 (diff) | |
download | linux-7951e376704773134cefcf0751e9042368226f15.tar.gz linux-7951e376704773134cefcf0751e9042368226f15.tar.bz2 linux-7951e376704773134cefcf0751e9042368226f15.zip |
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_dpm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h index b8c5177fa809..19d8bf590da3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h @@ -445,6 +445,8 @@ struct amdgpu_pm { uint32_t pcie_gen_mask; uint32_t pcie_mlw_mask; struct amd_pp_display_configuration pm_display_cfg;/* set by dc */ + uint32_t smu_prv_buffer_size; + struct amdgpu_bo *smu_prv_buffer; }; #define R600_SSTU_DFLT 0 |