mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
drm/amdgpu: Add sdma v4_4_5 ip block
Add sdma v4_4_5 ip block support Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <le.ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c45211adfa
commit
3d1bb1a2e0
@@ -258,11 +258,12 @@ int amdgpu_sdma_init_microcode(struct amdgpu_device *adev,
|
||||
else {
|
||||
/* Use a single copy per SDMA firmware type. PSP uses the same instance for all
|
||||
* groups of SDMAs */
|
||||
if (amdgpu_ip_version(adev, SDMA0_HWIP,
|
||||
0) ==
|
||||
IP_VERSION(4, 4, 2) &&
|
||||
if ((amdgpu_ip_version(adev, SDMA0_HWIP, 0) ==
|
||||
IP_VERSION(4, 4, 2) ||
|
||||
amdgpu_ip_version(adev, SDMA0_HWIP, 0) ==
|
||||
IP_VERSION(4, 4, 5)) &&
|
||||
adev->firmware.load_type ==
|
||||
AMDGPU_FW_LOAD_PSP &&
|
||||
AMDGPU_FW_LOAD_PSP &&
|
||||
adev->sdma.num_inst_per_aid == i) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user