diff options
| author | Lijo Lazar <[email protected]> | 2024-08-21 06:10:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-09-26 21:06:19 +0000 |
| commit | 1e4acf4d93cdc3ffae1b835e304a3f491e4d363e (patch) | |
| tree | 6736eac5d3105daa8de6a7dad1fc3c0d3b97b2f2 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amd/display: fix typos in several function pointer checks (diff) | |
| download | kernel-1e4acf4d93cdc3ffae1b835e304a3f491e4d363e.tar.gz kernel-1e4acf4d93cdc3ffae1b835e304a3f491e4d363e.zip | |
drm/amdgpu: Add reset on init handler for XGMI
In some cases, device needs to be reset before first use. Add handlers
for doing device reset during driver init sequence.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Feifei Xu <[email protected]>
Acked-by: Rajneesh Bhardwaj <[email protected]>
Tested-by: Rajneesh Bhardwaj <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index ad1112ec033d..dd5539911af2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -566,6 +566,7 @@ enum amd_reset_method { AMD_RESET_METHOD_MODE2, AMD_RESET_METHOD_BACO, AMD_RESET_METHOD_PCI, + AMD_RESET_METHOD_ON_INIT, }; struct amdgpu_video_codec_info { |
