diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2016-07-18 05:04:34 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 18:32:02 +0300 |
commit | d31a501ead7fb21b85c6f34a9dd79b07c6417711 (patch) | |
tree | 7b27a481c2959a9501559d6442007c81ac407454 /drivers/gpu/drm/amd/include | |
parent | 3d7c63849072747eaba6b5d35671bd9cd2d002c1 (diff) | |
download | linux-d31a501ead7fb21b85c6f34a9dd79b07c6417711.tar.xz |
drm/amdgpu: add pre_soft_reset ip func
It will be used before soft_reset to do some preparing work for reset.
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include')
-rw-r--r-- | drivers/gpu/drm/amd/include/amd_shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index fe4aa09252ab..2a2a5aa39b99 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -161,6 +161,8 @@ struct amd_ip_funcs { int (*wait_for_idle)(void *handle); /* check soft reset the IP block */ int (*check_soft_reset)(void *handle); + /* pre soft reset the IP block */ + int (*pre_soft_reset)(void *handle); /* soft reset the IP block */ int (*soft_reset)(void *handle); /* enable/disable cg for the IP block */ |