Skip to content
Snippets Groups Projects
Commit ebdc5260 authored by Wentao Liang's avatar Wentao Liang Committed by Alex Deucher
Browse files

drm/amdgpu/gfx12: correct cleanup of 'me' field with gfx_v12_0_me_fini()


In gfx_v12_0_cp_gfx_load_me_microcode_rs64(), gfx_v12_0_pfp_fini() is
incorrectly used to free 'me' field of 'gfx', since gfx_v12_0_pfp_fini()
can only release 'pfp' field of 'gfx'. The release function of 'me' field
should be gfx_v12_0_me_fini().

Fixes: 52cb80c1 ("drm/amdgpu: Add gfx v12_0 ip block support (v6)")
Signed-off-by: default avatarWentao Liang <vulab@iscas.ac.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 42d9d7be
No related branches found
No related tags found
No related merge requests found
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