diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2021-09-29 19:06:03 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-10-04 22:23:02 +0300 |
commit | 4b3a624c4c6a4dd80d00c188b9925703a0fb39bf (patch) | |
tree | 6274b470c8bb0e87fd5c71e5871917e7b3d0a795 /drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | |
parent | c60511493b4f8753b164b12fbd139c4f28fd89b8 (diff) | |
download | linux-4b3a624c4c6a4dd80d00c188b9925703a0fb39bf.tar.xz |
drm/amdgpu: consolidate case statements
IP_VERSION(11, 0, 13) does the exact same thing as
IP_VERSION(11, 0, 12) so squash them together.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index 382cebfc2069..aaf200ec982b 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c @@ -216,13 +216,6 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) case IP_VERSION(11, 0, 7): case IP_VERSION(11, 0, 11): case IP_VERSION(11, 0, 12): - err = psp_init_sos_microcode(psp, chip_name); - if (err) - return err; - err = psp_init_ta_microcode(psp, chip_name); - if (err) - return err; - break; case IP_VERSION(11, 0, 13): err = psp_init_sos_microcode(psp, chip_name); if (err) |