mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-01 09:34:10 -04:00
drm/amdgpu: skip gds ras workaround for aldebaran
there won't be any gds useage in either kernel or pm4 anymore for aldebaran. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
18c3d45a9a
commit
063a1e8341
@@ -4694,7 +4694,8 @@ static int gfx_v9_0_ecc_late_init(void *handle)
|
||||
* to GDS in suspend/resume sequence on several cards. So just
|
||||
* limit this operation in cold boot sequence.
|
||||
*/
|
||||
if (!adev->in_suspend) {
|
||||
if ((!adev->in_suspend) &&
|
||||
(adev->gds.gds_size)) {
|
||||
r = gfx_v9_0_do_edc_gds_workarounds(adev);
|
||||
if (r)
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user