mirror of
https://github.com/torvalds/linux.git
synced 2026-10-31 20:24:02 +01:00
drm/amd/amdgpu: Allow reset init for smu_v15_0_8
Trigger reset init and fini for smu_v15_0_8 Signed-off-by: Asad Kamal <asad.kamal@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
208e5d4b3f
commit
99fb532b16
|
|
@ -25,6 +25,7 @@
|
|||
#include "aldebaran.h"
|
||||
#include "sienna_cichlid.h"
|
||||
#include "smu_v13_0_10.h"
|
||||
#include "soc_v1_0.h"
|
||||
|
||||
static int amdgpu_reset_xgmi_reset_on_init_suspend(struct amdgpu_device *adev)
|
||||
{
|
||||
|
|
@ -194,6 +195,9 @@ int amdgpu_reset_init(struct amdgpu_device *adev)
|
|||
case IP_VERSION(13, 0, 10):
|
||||
ret = smu_v13_0_10_reset_init(adev);
|
||||
break;
|
||||
case IP_VERSION(15, 0, 8):
|
||||
ret = soc_v1_0_reset_init(adev);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
@ -218,6 +222,9 @@ int amdgpu_reset_fini(struct amdgpu_device *adev)
|
|||
case IP_VERSION(13, 0, 10):
|
||||
ret = smu_v13_0_10_reset_fini(adev);
|
||||
break;
|
||||
case IP_VERSION(15, 0, 8):
|
||||
ret = soc_v1_0_reset_fini(adev);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user