Commit 5bd8e05
drm/amd/pm: call smu_cmn_get_smc_version in is_mode1_reset_supported.
is_mode1_reset_supported may be called before smu init, when smu_context
is unitialized in driver load/unload test. Call smu_cmn_get_smc_version
explicitly in is_mode1_reset_supported.
v2: apply to aldebaran in case is_mode1_reset_supported will be
uncommented (Candice Li)
Fixes: 710d9ca ("drm/amd/pm: drop most smu_cmn_get_smc_version in smu")
Signed-off-by: Yifan Zhang <[email protected]>
Reviewed-by: Candice Li <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>1 parent 2cea7bb commit 5bd8e05
File tree
3 files changed
+23
-3
lines changed- drivers/gpu/drm/amd/pm/swsmu
- smu11
- smu13
3 files changed
+23
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2461 | 2461 | | |
2462 | 2462 | | |
2463 | 2463 | | |
| 2464 | + | |
| 2465 | + | |
2464 | 2466 | | |
2465 | 2467 | | |
2466 | 2468 | | |
2467 | 2469 | | |
2468 | 2470 | | |
2469 | | - | |
| 2471 | + | |
| 2472 | + | |
| 2473 | + | |
| 2474 | + | |
| 2475 | + | |
2470 | 2476 | | |
2471 | 2477 | | |
2472 | 2478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1931 | 1931 | | |
1932 | 1932 | | |
1933 | 1933 | | |
| 1934 | + | |
| 1935 | + | |
| 1936 | + | |
1934 | 1937 | | |
1935 | 1938 | | |
1936 | 1939 | | |
1937 | | - | |
| 1940 | + | |
| 1941 | + | |
1938 | 1942 | | |
| 1943 | + | |
| 1944 | + | |
| 1945 | + | |
| 1946 | + | |
1939 | 1947 | | |
1940 | 1948 | | |
1941 | 1949 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2615 | 2615 | | |
2616 | 2616 | | |
2617 | 2617 | | |
| 2618 | + | |
| 2619 | + | |
2618 | 2620 | | |
2619 | 2621 | | |
2620 | 2622 | | |
2621 | 2623 | | |
2622 | 2624 | | |
2623 | 2625 | | |
2624 | | - | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
2625 | 2631 | | |
2626 | 2632 | | |
2627 | 2633 | | |
| |||
0 commit comments