[PATCH] drm/amd/display: add DCN 351 version for microcode load
Alex Deucher
alexdeucher at gmail.com
Thu Mar 28 03:43:23 UTC 2024
On Wed, Mar 27, 2024 at 11:32 PM Li Ma <li.ma at amd.com> wrote:
>
> There is a new DCN veriosn 3.5.1 need to load
>
> Signed-off-by: Li Ma <li.ma at amd.com>
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index ef546932f6c9..d98632f37c0d 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -148,6 +148,9 @@ MODULE_FIRMWARE(FIRMWARE_NAVI12_DMCU);
> #define FIRMWARE_DCN_35_DMUB "amdgpu/dcn_3_5_dmcub.bin"
> 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. */
> #define PSP_HEADER_BYTES 0x100
>
> @@ -4820,9 +4823,11 @@ static int dm_init_microcode(struct amdgpu_device *adev)
> fw_name_dmub = FIRMWARE_DCN_V3_2_1_DMCUB;
> break;
> case IP_VERSION(3, 5, 0):
> - case IP_VERSION(3, 5, 1):
> fw_name_dmub = FIRMWARE_DCN_35_DMUB;
> break;
> + case IP_VERSION(3, 5, 1):
> + fw_name_dmub = FIRMWARE_DCN_351_DMUB;
> + break;
> default:
> /* ASIC doesn't support DMUB. */
> return 0;
> --
> 2.25.1
>
More information about the amd-gfx
mailing list