summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>2020-07-28 17:35:54 +0200
committerAlex Deucher <alexander.deucher@amd.com>2020-08-18 23:53:50 +0200
commit0a668aee0ac288cf36a554eb7f270be2ca8ef476 (patch)
tree451e5b46ee9cf1cbe8bdccda163a2fd3b7ea0f2c /drivers/gpu/drm
parentdrm/amdgpu: fix NULL pointer access issue when unloading driver (diff)
downloadlinux-0a668aee0ac288cf36a554eb7f270be2ca8ef476.tar.xz
linux-0a668aee0ac288cf36a554eb7f270be2ca8ef476.zip
drm/amdgpu: parse ta firmware for navy_flounder
Use the same case as sienna_cichlid Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/psp_v11_0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
index d488d250805d..e16874f30d5d 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
@@ -179,12 +179,11 @@ static int psp_v11_0_init_microcode(struct psp_context *psp)
}
break;
case CHIP_SIENNA_CICHLID:
+ case CHIP_NAVY_FLOUNDER:
err = psp_init_ta_microcode(&adev->psp, chip_name);
if (err)
return err;
break;
- case CHIP_NAVY_FLOUNDER:
- break;
default:
BUG();
}