They will be used before/after soft_reset. Change-Id: Icc35e0e7f7b2cccde4f5be8b949841f9a4c08a67 Signed-off-by: Chunming Zhou <David1.Zhou at amd.com> --- drivers/gpu/drm/amd/include/amd_shared.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index afbd876..3192a60 100644 --- a/drivers/gpu/drm/amd/include/amd_shared.h +++ b/drivers/gpu/drm/amd/include/amd_shared.h @@ -168,6 +168,10 @@ struct amd_ip_funcs { bool (*is_idle)(void *handle); /* poll for idle */ int (*wait_for_idle)(void *handle); + /* pre soft reset the IP block */ + int (*pre_soft_reset)(void *handle, u32 reset_mask); + /* post soft reset the IP block */ + int (*post_soft_reset)(void *handle, u32 reset_mask); /* soft reset the IP block */ int (*soft_reset)(void *handle); /* enable/disable cg for the IP block */ -- 1.9.1