diff options
| author | 2020-08-17 15:48:21 +0800 | |
|---|---|---|
| committer | 2020-08-26 16:40:19 -0400 | |
| commit | 5436ab94cd946006271f4e80de90b9a2276e93e3 (patch) | |
| tree | dfacb6bd7e44d05bdee35d0c4b145e3ef5e00655 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/pm: correct the thermal alert temperature limit settings (diff) | |
| download | wireguard-linux-5436ab94cd946006271f4e80de90b9a2276e93e3.tar.xz wireguard-linux-5436ab94cd946006271f4e80de90b9a2276e93e3.zip | |
drm/amdkfd: fix set kfd node ras properties value
The ctx->features are new RAS implementation which
is only available for Vega20 and onwards, it is not
available for vega10, vega10 should follow legacy
ECC implementation.
Changed from V1:
wrap function to initialize kfd node properties
Changed from V2:
remove wrap function and SDMA SRAM ECC check
Signed-off-by: Stanley.Yang <Stanley.Yang@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@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 3a9d10220ec1..4009d2e30727 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -986,6 +986,7 @@ struct amdgpu_device { atomic_t throttling_logging_enabled; struct ratelimit_state throttling_logging_rs; + uint32_t ras_features; }; static inline struct amdgpu_device *drm_to_adev(struct drm_device *ddev) |
