mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user