mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drm/amdgpu: add check_soft_reset ip func
It is used to identify if the ip block is hang. 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>
This commit is contained in:
parent
5c6c201ccb
commit
63fbf42f73
3 changed files with 26 additions and 0 deletions
|
@ -159,6 +159,8 @@ struct amd_ip_funcs {
|
|||
bool (*is_idle)(void *handle);
|
||||
/* poll for idle */
|
||||
int (*wait_for_idle)(void *handle);
|
||||
/* check soft reset the IP block */
|
||||
int (*check_soft_reset)(void *handle);
|
||||
/* soft reset the IP block */
|
||||
int (*soft_reset)(void *handle);
|
||||
/* enable/disable cg for the IP block */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue