Commit 2dbe9c2b authored by Li Ma's avatar Li Ma Committed by Alex Deucher

drm/amd/display: add DCN 351 version for microcode load

There is a new DCN veriosn 3.5.1 need to load
Signed-off-by: default avatarLi Ma <li.ma@amd.com>
Reviewed-by: default avatarYifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent df3c7dc5
...@@ -148,6 +148,9 @@ MODULE_FIRMWARE(FIRMWARE_NAVI12_DMCU); ...@@ -148,6 +148,9 @@ MODULE_FIRMWARE(FIRMWARE_NAVI12_DMCU);
#define FIRMWARE_DCN_35_DMUB "amdgpu/dcn_3_5_dmcub.bin" #define FIRMWARE_DCN_35_DMUB "amdgpu/dcn_3_5_dmcub.bin"
MODULE_FIRMWARE(FIRMWARE_DCN_35_DMUB); MODULE_FIRMWARE(FIRMWARE_DCN_35_DMUB);
#define FIRMWARE_DCN_351_DMUB "amdgpu/dcn_3_5_1_dmcub.bin"
MODULE_FIRMWARE(FIRMWARE_DCN_351_DMUB);
/* Number of bytes in PSP header for firmware. */ /* Number of bytes in PSP header for firmware. */
#define PSP_HEADER_BYTES 0x100 #define PSP_HEADER_BYTES 0x100
...@@ -4820,9 +4823,11 @@ static int dm_init_microcode(struct amdgpu_device *adev) ...@@ -4820,9 +4823,11 @@ static int dm_init_microcode(struct amdgpu_device *adev)
fw_name_dmub = FIRMWARE_DCN_V3_2_1_DMCUB; fw_name_dmub = FIRMWARE_DCN_V3_2_1_DMCUB;
break; break;
case IP_VERSION(3, 5, 0): case IP_VERSION(3, 5, 0):
case IP_VERSION(3, 5, 1):
fw_name_dmub = FIRMWARE_DCN_35_DMUB; fw_name_dmub = FIRMWARE_DCN_35_DMUB;
break; break;
case IP_VERSION(3, 5, 1):
fw_name_dmub = FIRMWARE_DCN_351_DMUB;
break;
default: default:
/* ASIC doesn't support DMUB. */ /* ASIC doesn't support DMUB. */
return 0; return 0;
......
Markdown is supported
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