Skip to content

Commit d439692

Browse files
Li Maalexdeucher
authored andcommitted
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: Li Ma <li.ma@amd.com> Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 8b2be55 commit d439692

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ MODULE_FIRMWARE(FIRMWARE_NAVI12_DMCU);
148148
#define FIRMWARE_DCN_35_DMUB "amdgpu/dcn_3_5_dmcub.bin"
149149
MODULE_FIRMWARE(FIRMWARE_DCN_35_DMUB);
150150

151+
#define FIRMWARE_DCN_351_DMUB "amdgpu/dcn_3_5_1_dmcub.bin"
152+
MODULE_FIRMWARE(FIRMWARE_DCN_351_DMUB);
153+
151154
/* Number of bytes in PSP header for firmware. */
152155
#define PSP_HEADER_BYTES 0x100
153156

@@ -4820,9 +4823,11 @@ static int dm_init_microcode(struct amdgpu_device *adev)
48204823
fw_name_dmub = FIRMWARE_DCN_V3_2_1_DMCUB;
48214824
break;
48224825
case IP_VERSION(3, 5, 0):
4823-
case IP_VERSION(3, 5, 1):
48244826
fw_name_dmub = FIRMWARE_DCN_35_DMUB;
48254827
break;
4828+
case IP_VERSION(3, 5, 1):
4829+
fw_name_dmub = FIRMWARE_DCN_351_DMUB;
4830+
break;
48264831
default:
48274832
/* ASIC doesn't support DMUB. */
48284833
return 0;

0 commit comments

Comments
 (0)