mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
drm/amdgpu: add late_fini for ip_funcs
This give IP modules an optional late cleanup function. This is needed to handle tricky inter-module dependencies during tear down. Signed-off-by: Monk Liu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
parent
8b4af8a8e3
commit
212cb3b6d7
1 changed files with 1 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ struct amd_ip_funcs {
|
|||
int (*hw_init)(void *handle);
|
||||
/* tears down the hw state */
|
||||
int (*hw_fini)(void *handle);
|
||||
void (*late_fini)(void *handle);
|
||||
/* handles IP specific hw/sw changes for suspend */
|
||||
int (*suspend)(void *handle);
|
||||
/* handles IP specific hw/sw changes for resume */
|
||||
|
|
|
|||
Loading…
Reference in a new issue