drm/amdgpu: add Aldebaran to the VCN family
including firmware support etc. Signed-off-by: James Zhu <James.Zhu@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
d34184e3e3
commit
86d848b16d
|
@ -47,6 +47,7 @@
|
||||||
#define FIRMWARE_NAVY_FLOUNDER "amdgpu/navy_flounder_vcn.bin"
|
#define FIRMWARE_NAVY_FLOUNDER "amdgpu/navy_flounder_vcn.bin"
|
||||||
#define FIRMWARE_VANGOGH "amdgpu/vangogh_vcn.bin"
|
#define FIRMWARE_VANGOGH "amdgpu/vangogh_vcn.bin"
|
||||||
#define FIRMWARE_DIMGREY_CAVEFISH "amdgpu/dimgrey_cavefish_vcn.bin"
|
#define FIRMWARE_DIMGREY_CAVEFISH "amdgpu/dimgrey_cavefish_vcn.bin"
|
||||||
|
#define FIRMWARE_ALDEBARAN "amdgpu/aldebaran_vcn.bin"
|
||||||
|
|
||||||
MODULE_FIRMWARE(FIRMWARE_RAVEN);
|
MODULE_FIRMWARE(FIRMWARE_RAVEN);
|
||||||
MODULE_FIRMWARE(FIRMWARE_PICASSO);
|
MODULE_FIRMWARE(FIRMWARE_PICASSO);
|
||||||
|
@ -54,6 +55,7 @@ MODULE_FIRMWARE(FIRMWARE_RAVEN2);
|
||||||
MODULE_FIRMWARE(FIRMWARE_ARCTURUS);
|
MODULE_FIRMWARE(FIRMWARE_ARCTURUS);
|
||||||
MODULE_FIRMWARE(FIRMWARE_RENOIR);
|
MODULE_FIRMWARE(FIRMWARE_RENOIR);
|
||||||
MODULE_FIRMWARE(FIRMWARE_GREEN_SARDINE);
|
MODULE_FIRMWARE(FIRMWARE_GREEN_SARDINE);
|
||||||
|
MODULE_FIRMWARE(FIRMWARE_ALDEBARAN);
|
||||||
MODULE_FIRMWARE(FIRMWARE_NAVI10);
|
MODULE_FIRMWARE(FIRMWARE_NAVI10);
|
||||||
MODULE_FIRMWARE(FIRMWARE_NAVI14);
|
MODULE_FIRMWARE(FIRMWARE_NAVI14);
|
||||||
MODULE_FIRMWARE(FIRMWARE_NAVI12);
|
MODULE_FIRMWARE(FIRMWARE_NAVI12);
|
||||||
|
@ -104,6 +106,9 @@ int amdgpu_vcn_sw_init(struct amdgpu_device *adev)
|
||||||
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
|
(adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG))
|
||||||
adev->vcn.indirect_sram = true;
|
adev->vcn.indirect_sram = true;
|
||||||
break;
|
break;
|
||||||
|
case CHIP_ALDEBARAN:
|
||||||
|
fw_name = FIRMWARE_ALDEBARAN;
|
||||||
|
break;
|
||||||
case CHIP_NAVI10:
|
case CHIP_NAVI10:
|
||||||
fw_name = FIRMWARE_NAVI10;
|
fw_name = FIRMWARE_NAVI10;
|
||||||
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
|
if ((adev->firmware.load_type == AMDGPU_FW_LOAD_PSP) &&
|
||||||
|
|
Loading…
Reference in New Issue