Commit 9b608fe
drm/amdgpu: Check swus/ds for switch state save
For saving switch state, check if the GPU is having SWUS/DS
architecture. Otherwise, skip saving.
Reported-by: Roman Elshin <roman.elshin@gmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4602
Fixes: 1dd2fa0 ("drm/amdgpu: Save and restore switch state")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 1f086d2 commit 9b608fe
1 file changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7157 | 7157 | | |
7158 | 7158 | | |
7159 | 7159 | | |
7160 | | - | |
| 7160 | + | |
7161 | 7161 | | |
7162 | 7162 | | |
7163 | | - | |
| 7163 | + | |
| 7164 | + | |
| 7165 | + | |
| 7166 | + | |
| 7167 | + | |
| 7168 | + | |
| 7169 | + | |
| 7170 | + | |
| 7171 | + | |
7164 | 7172 | | |
7165 | 7173 | | |
7166 | 7174 | | |
7167 | 7175 | | |
7168 | 7176 | | |
7169 | 7177 | | |
7170 | | - | |
| 7178 | + | |
7171 | 7179 | | |
7172 | 7180 | | |
7173 | | - | |
| 7181 | + | |
7174 | 7182 | | |
7175 | | - | |
7176 | | - | |
| 7183 | + | |
7177 | 7184 | | |
7178 | 7185 | | |
7179 | | - | |
| 7186 | + | |
7180 | 7187 | | |
7181 | | - | |
| 7188 | + | |
7182 | 7189 | | |
7183 | 7190 | | |
7184 | 7191 | | |
| |||
0 commit comments