diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2019-07-23 12:18:39 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-07-31 14:49:52 -0500 |
commit | 045c02165397c6c2c01ca5b8f68a9b642f4d244f (patch) | |
tree | 9a55b1a5d3a357ccd35db555a0bd4d33a5f86e76 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
parent | 5bbfb64a177f36d3d208e39c61ce6df3968df4d4 (diff) | |
download | linux-045c02165397c6c2c01ca5b8f68a9b642f4d244f.tar.gz linux-045c02165397c6c2c01ca5b8f68a9b642f4d244f.tar.bz2 linux-045c02165397c6c2c01ca5b8f68a9b642f4d244f.zip |
drm/amdgpu: switch to amdgpu_umc structure
create new amdgpu_umc structure to for more umc
settings in future and switch to the new structure
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Dennis Li <dennis.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h index 1ee1a00e5ac8..f5d6def96414 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h @@ -26,4 +26,10 @@ struct amdgpu_umc_funcs { void *ras_error_status); }; +struct amdgpu_umc { + /* max error count in one ras query call */ + uint32_t max_ras_err_cnt_per_query; + const struct amdgpu_umc_funcs *funcs; +}; + #endif |