Commit f3bb57b
drm/amdgpu: fix sriov reinit late orders
Use found block to call correct init/resume function on the block.
Set status.hw for resume and init.
Print re-init result again. Change to use dev_info.
Use amdgpu_device_ip_get_ip_block to get target block instead of
loop.
Fixes: 502d763 ("drm/amdgpu: validate resume before function call")
Signed-off-by: Yiqing Yao <YiQing.Yao@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 274e3f4 commit f3bb57b
1 file changed
+20
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3670 | 3670 | | |
3671 | 3671 | | |
3672 | 3672 | | |
3673 | | - | |
3674 | | - | |
| 3673 | + | |
| 3674 | + | |
| 3675 | + | |
3675 | 3676 | | |
| 3677 | + | |
3676 | 3678 | | |
3677 | 3679 | | |
3678 | 3680 | | |
| |||
3682 | 3684 | | |
3683 | 3685 | | |
3684 | 3686 | | |
3685 | | - | |
| 3687 | + | |
| 3688 | + | |
3686 | 3689 | | |
3687 | 3690 | | |
3688 | 3691 | | |
| |||
3697 | 3700 | | |
3698 | 3701 | | |
3699 | 3702 | | |
3700 | | - | |
3701 | | - | |
3702 | | - | |
3703 | | - | |
3704 | | - | |
| 3703 | + | |
3705 | 3704 | | |
3706 | | - | |
3707 | | - | |
3708 | | - | |
3709 | | - | |
| 3705 | + | |
| 3706 | + | |
3710 | 3707 | | |
| 3708 | + | |
3711 | 3709 | | |
3712 | | - | |
3713 | | - | |
3714 | | - | |
| 3710 | + | |
3715 | 3711 | | |
3716 | | - | |
3717 | | - | |
3718 | | - | |
3719 | | - | |
3720 | | - | |
3721 | | - | |
3722 | | - | |
| 3712 | + | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
3723 | 3719 | | |
| 3720 | + | |
3724 | 3721 | | |
3725 | 3722 | | |
3726 | 3723 | | |
3727 | | - | |
| 3724 | + | |
3728 | 3725 | | |
3729 | 3726 | | |
3730 | 3727 | | |
| |||
0 commit comments