drm/amd/amdgpu: Add ISP support to amdgpu_discovery
Subsystems (2)
PATCH 1/3 drm/amd/amdgpu: Add ISP support to amdgpu_discovery
ISP hw block is supported in some of the AMD GPU versions, add support to discover ISP IP in amdgpu_discovery.
Signed-off-by Pratap Nirujogi <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 1 + drivers/gpu/drm/amd/include/amd_shared.h | 1 + 3 files changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu.h +1 -0
@@ -718,6 +718,7 @@ enum amd_hw_ip_block_type {XGMI_HWIP ,DCI_HWIP ,PCIE_HWIP , +ISP_HWIP , MAX_HWIP };
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c +1 -0
@@ -226,6 +226,7 @@ static int hw_id_map[MAX_HWIP] = { [DCI_HWIP] = DCI_HWID, [PCIE_HWIP] = PCIE_HWID, [VPE_HWIP] = VPE_HWID, + [ISP_HWIP] = ISP_HWID, };static int amdgpu_discovery_read_binary_from_sysmem (struct amdgpu_device *adev,uint8_t *binary)
drivers/gpu/drm/amd/include/amd_shared.h +1 -0
@@ -105,6 +105,7 @@ enum amd_ip_block_type {AMD_IP_BLOCK_TYPE_JPEG ,AMD_IP_BLOCK_TYPE_VPE ,AMD_IP_BLOCK_TYPE_UMSCH_MM , +AMD_IP_BLOCK_TYPE_ISP , AMD_IP_BLOCK_TYPE_NUM, };
Signature · 1 line
2.34.1