Commit 89e0ec9f authored by Monk Liu's avatar Monk Liu Committed by Alex Deucher
Browse files

drm/amdgpu: fix mem leak in atombios

Signed-off-by: default avatarMonk Liu <>
Reviewed-by: default avatarChristian König <>
Signed-off-by: default avatarAlex Deucher <>
parent 61da601b
......@@ -827,8 +827,10 @@ static uint32_t cail_ioreg_read(struct card_info *info, uint32_t reg)
static void amdgpu_atombios_fini(struct amdgpu_device *adev)
if (adev->mode_info.atom_context)
if (adev->mode_info.atom_context) {
adev->mode_info.atom_context = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment