Alex Deucher
1d789535a0
drm/amdgpu: convert IP version array to include instances
...
Allow us to query instances versions more cleanly.
Instancing support is not consistent unfortunately. SDMA is a
good example. Sienna cichlid has 4 total SDMA instances, each
enumerated separately (HWIDs 42, 43, 68, 69). Arcturus has 8
total SDMA instances, but they are enumerated as multiple
instances of the same HWIDs (4x HWID 42, 4x HWID 43). UMC
is another example. On most chips there are multiple
instances with the same HWID. This allows us to support both
forms.
v2: rebase
v3: clarify instancing support
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-10-04 15:23:01 -04:00
Alex Deucher
1fcc208cd7
drm/amdgpu/psp_v13.0: convert to IP version checking
...
Use IP versions rather than asic_type to differentiate
IP version specific features.
Acked-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-10-04 15:23:00 -04:00
John Clements
edc8c81f24
drm/amdgpu: Added PSP13 BL loading support for additional drivers
...
Added BL loading support for soc/intf/dbg drivers
Signed-off-by: John Clements <john.clements@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-07-28 22:15:44 -04:00
John Clements
8abadab37f
drm/amdgpu: Consolidated PSP13 BL FW loading
...
Remove duplicate code
Signed-off-by: John Clements <john.clements@amd.com >
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com >.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-07-28 22:15:43 -04:00
Candice Li
222e0a71c2
drm/amd/amdgpu: add consistent PSP FW loading size checking
...
Signed-off-by: Candice Li <candice.li@amd.com >
Reviewed-by: John Clements <John.Clements@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-07-23 10:08:00 -04:00
Andrey Grodzovsky
85da6459f4
drm/amdgpu: Switch to LFB for USBC PD FW in psp v13
...
Add USBC PD FW implementation here to be used with relevant ASICs.
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com >
Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-07-16 13:51:14 -04:00
Nicholas Kazlauskas
4b16196752
drm/amdgpu: Load TA firmware for yellow carp
...
Add TA firmware to module firmware list for yellow carp and call
psp_init_ta_microcode to parse the TA firmware for HDCP support.
Cc: Aaron Liu <aaron.liu@amd.com >
Acked-by: Huang Rui <ray.huang@amd.com >
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-06-04 16:03:22 -04:00
Aaron Liu
04a69d20a0
drm/amdgpu: add psp_v13 support for yellow carp
...
This patch adds psp_v13 support for yellow carp.
Signed-off-by: Aaron Liu <aaron.liu@amd.com >
Reviewed-by: Huang Rui <ray.huang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-06-04 16:03:12 -04:00
Hawking Zhang
fbaa30d87f
drm/amdgpu: initialize ta firmware for aldebaran
...
only xgmi ta is supported at this stage
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:54:15 -04:00
Hawking Zhang
48375542b0
drm/amdgpu: add psp v13 ring support
...
Add callback functions for psp_v13 ring
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Le Ma <Le.Ma@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:52:12 -04:00
Hawking Zhang
f117535590
drm/amdgpu: add tOS loading support for psp v13
...
Add callback function to support trusted os
loading for psp v13
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Le Ma <Le.Ma@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:52:10 -04:00
Hawking Zhang
ea6eaf5583
drm/amdgpu: add sys_drv loading support for psp v13
...
Add callback function to support sys_drv firmware
loading for psp v13
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Le Ma <Le.Ma@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:52:05 -04:00
Hawking Zhang
133d888da9
drm/amdgpu: add kdb loading support for psp v13
...
Add callback function to support key database firmware
loading for psp v13
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Le Ma <Le.Ma@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:51:58 -04:00
Hawking Zhang
742d3c61ac
drm/amdgpu: init sos microcode for psp v13
...
Initialize sos microcode for aldebaran
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com >
Reviewed-by: Le Ma <Le.Ma@amd.com >
Reviewed-by: Kevin Wang <kevin1.wang@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-03-23 22:51:54 -04:00