Commit d0ce1aa
committed
Revert "drm/amd: Stop evicting resources on APUs in suspend"
This reverts commit 3a9626c.
This breaks S4 because we end up setting the s3/s0ix flags
even when we are entering s4 since prepare is used by both
flows. The causes both the S3/s0ix and s4 flags to be set
which breaks several checks in the driver which assume they
are mutually exclusive.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3634
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit ce8f7d9)
Cc: stable@vger.kernel.org1 parent b7e84fb commit d0ce1aa
3 files changed
Lines changed: 2 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1614 | 1614 | | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | | - | |
1618 | 1617 | | |
1619 | 1618 | | |
1620 | 1619 | | |
1621 | | - | |
1622 | 1620 | | |
1623 | 1621 | | |
1624 | 1622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1533 | 1533 | | |
1534 | 1534 | | |
1535 | 1535 | | |
1536 | | - | |
1537 | | - | |
1538 | | - | |
1539 | | - | |
1540 | | - | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
1548 | | - | |
1549 | | - | |
1550 | | - | |
1551 | | - | |
1552 | | - | |
1553 | | - | |
1554 | 1536 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4949 | 4949 | | |
4950 | 4950 | | |
4951 | 4951 | | |
4952 | | - | |
4953 | | - | |
4954 | 4952 | | |
4955 | 4953 | | |
4956 | 4954 | | |
4957 | 4955 | | |
4958 | 4956 | | |
4959 | 4957 | | |
4960 | | - | |
| 4958 | + | |
4961 | 4959 | | |
4962 | 4960 | | |
4963 | 4961 | | |
| |||
4968 | 4966 | | |
4969 | 4967 | | |
4970 | 4968 | | |
4971 | | - | |
| 4969 | + | |
4972 | 4970 | | |
4973 | 4971 | | |
4974 | 4972 | | |
4975 | | - | |
4976 | | - | |
4977 | | - | |
4978 | | - | |
4979 | | - | |
4980 | 4973 | | |
4981 | 4974 | | |
4982 | 4975 | | |
| |||
0 commit comments