diff options
author | Candice Li <candice.li@amd.com> | 2025-02-11 09:58:24 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-17 14:09:29 -0500 |
commit | 76b1f8b32dc1ad8bb5f6fe2faa669e2858d35932 (patch) | |
tree | edaf8afa5fe5b485828915987717dc5d6912f88f /drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | |
parent | 92d5d2a09de16706fca340b6c1c197e562690da4 (diff) | |
download | linux-stable-76b1f8b32dc1ad8bb5f6fe2faa669e2858d35932.tar.gz linux-stable-76b1f8b32dc1ad8bb5f6fe2faa669e2858d35932.tar.bz2 linux-stable-76b1f8b32dc1ad8bb5f6fe2faa669e2858d35932.zip |
drm/amdgpu: Optimize the enablement of GECC
Enable GECC only when the default memory ECC mode or
the module parameter amdgpu_ras_enable is activated.
v2: Add kernel message to remind users explicitly set
amdgpu_ras_enable=1 before driver loading to enable GECC
and set amdgpu_ras_enable=0 to disable GECC when GECC is
currently enabled if needed.
Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c')
0 files changed, 0 insertions, 0 deletions