mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/amdgpu: Add mes v12_1_0 to discovery list
Include mes v12_1_0 in the discovery list for mes IP blocks. Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Mukul Joshi <mukul.joshi@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -99,6 +99,7 @@
|
||||
#include "amdgpu_vkms.h"
|
||||
#include "mes_v11_0.h"
|
||||
#include "mes_v12_0.h"
|
||||
#include "mes_v12_1.h"
|
||||
#include "smuio_v11_0.h"
|
||||
#include "smuio_v11_0_6.h"
|
||||
#include "smuio_v13_0.h"
|
||||
@@ -2566,6 +2567,13 @@ static int amdgpu_discovery_set_mes_ip_blocks(struct amdgpu_device *adev)
|
||||
if (amdgpu_uni_mes)
|
||||
adev->enable_uni_mes = true;
|
||||
break;
|
||||
case IP_VERSION(12, 1, 0):
|
||||
amdgpu_device_ip_block_add(adev, &mes_v12_1_ip_block);
|
||||
adev->enable_mes = true;
|
||||
adev->enable_mes_kiq = true;
|
||||
if (amdgpu_uni_mes)
|
||||
adev->enable_uni_mes = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user