Commit 0b233357 authored by Lang Yu's avatar Lang Yu Committed by Alex Deucher

drm/amdgpu: add HWID for VPE

Add HWID for Video Processing Engine.
Signed-off-by: default avatarLang Yu <Lang.Yu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b0fa855c
...@@ -175,6 +175,7 @@ static const char *hw_id_names[HW_ID_MAX] = { ...@@ -175,6 +175,7 @@ static const char *hw_id_names[HW_ID_MAX] = {
[XGMI_HWID] = "XGMI", [XGMI_HWID] = "XGMI",
[XGBE_HWID] = "XGBE", [XGBE_HWID] = "XGBE",
[MP0_HWID] = "MP0", [MP0_HWID] = "MP0",
[VPE_HWID] = "VPE",
}; };
static int hw_id_map[MAX_HWIP] = { static int hw_id_map[MAX_HWIP] = {
...@@ -204,6 +205,7 @@ static int hw_id_map[MAX_HWIP] = { ...@@ -204,6 +205,7 @@ static int hw_id_map[MAX_HWIP] = {
[XGMI_HWIP] = XGMI_HWID, [XGMI_HWIP] = XGMI_HWID,
[DCI_HWIP] = DCI_HWID, [DCI_HWIP] = DCI_HWID,
[PCIE_HWIP] = PCIE_HWID, [PCIE_HWIP] = PCIE_HWID,
[VPE_HWIP] = VPE_HWID,
}; };
static int amdgpu_discovery_read_binary_from_sysmem(struct amdgpu_device *adev, uint8_t *binary) static int amdgpu_discovery_read_binary_from_sysmem(struct amdgpu_device *adev, uint8_t *binary)
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#define DAZ_HWID 274 #define DAZ_HWID 274
#define SDPMUX_HWID 19 #define SDPMUX_HWID 19
#define NTB_HWID 20 #define NTB_HWID 20
#define VPE_HWID 21
#define IOHC_HWID 24 #define IOHC_HWID 24
#define L2IMU_HWID 28 #define L2IMU_HWID 28
#define VCE_HWID 32 #define VCE_HWID 32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment