aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLijo Lazar <[email protected]>2024-08-26 06:16:26 +0000
committerAlex Deucher <[email protected]>2024-09-26 21:06:18 +0000
commit6e37ae8b08adc489338f2b1076ff8bd9d46ae0ff (patch)
tree86f101b0abbe4570c662af051b7f2e5c682420bf /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: check return for setting engine dram timings (diff)
downloadkernel-6e37ae8b08adc489338f2b1076ff8bd9d46ae0ff.tar.gz
kernel-6e37ae8b08adc489338f2b1076ff8bd9d46ae0ff.zip
drm/amdgpu: Separate reinitialization after reset
Move the reinitialization part after a reset to another function. No functional changes. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Acked-by: Alex Deucher <[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index d4e2ac1febff..aa588752b230 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1283,6 +1283,8 @@ int amdgpu_device_pre_asic_reset(struct amdgpu_device *adev,
int amdgpu_do_asic_reset(struct list_head *device_list_handle,
struct amdgpu_reset_context *reset_context);
+int amdgpu_device_reinit_after_reset(struct amdgpu_reset_context *reset_context);
+
int emu_soc_asic_init(struct amdgpu_device *adev);
/*