Skip to content
Snippets Groups Projects
Commit 0b06c7ec authored by Sunil  khatri's avatar Sunil khatri Committed by Sunil khatri
Browse files

drm/amdgpu: validate suspend before function call


Before making a function call to suspend, validate
the function pointer like we do in sw_init.

Use the helper function amdgpu_ip_block_suspend where
same checks and calls are repeated.

Signed-off-by: default avatarSunil Khatri <sunil.khatri@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent d57a29fa
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment