[PATCH] drm/amd/display: Use seperate dmcub firmware for navy_flounder
Alex Deucher
alexdeucher at gmail.com
Tue Jul 21 18:10:44 UTC 2020
On Tue, Jul 21, 2020 at 2:07 PM Bhawanpreet Lakha
<Bhawanpreet.Lakha at amd.com> wrote:
>
> [Why]
> Currently navy_flounder is using sienna_cichlid_dmcub.bin.
>
> [How]
> Create a seperate define so navy_flounder will use its own firmware.
>
> Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha 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 95185cc58fcb..268eb7ddf364 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -97,6 +97,8 @@ MODULE_FIRMWARE(FIRMWARE_RENOIR_DMUB);
> #if defined(CONFIG_DRM_AMD_DC_DCN3_0)
> #define FIRMWARE_SIENNA_CICHLID_DMUB "amdgpu/sienna_cichlid_dmcub.bin"
> MODULE_FIRMWARE(FIRMWARE_SIENNA_CICHLID_DMUB);
> +#define FIRMWARE_NAVY_FLOUNDER_DMUB "amdgpu/navy_flounder_dmcub.bin"
> +MODULE_FIRMWARE(FIRMWARE_NAVY_FLOUNDER_DMUB);
> #endif
>
> #define FIRMWARE_RAVEN_DMCU "amdgpu/raven_dmcu.bin"
> @@ -1185,10 +1187,13 @@ static int dm_dmub_sw_init(struct amdgpu_device *adev)
> break;
> #if defined(CONFIG_DRM_AMD_DC_DCN3_0)
> case CHIP_SIENNA_CICHLID:
> - case CHIP_NAVY_FLOUNDER:
> dmub_asic = DMUB_ASIC_DCN30;
> fw_name_dmub = FIRMWARE_SIENNA_CICHLID_DMUB;
> break;
> + case CHIP_NAVY_FLOUNDER:
> + dmub_asic = DMUB_ASIC_DCN30;
> + fw_name_dmub = FIRMWARE_NAVY_FLOUNDER_DMUB;
> + break;
> #endif
>
> default:
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list