]> git.hungrycats.org Git - linux/commit
drm/amdgpu: enumerate UMSCH HW IP
authorRuijing Dong <ruijing.dong@amd.com>
Fri, 12 Jun 2026 18:39:31 +0000 (14:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 20:24:20 +0000 (16:24 -0400)
commitc18cd8d6e008ab7d5bda784f583772bed8dbf5ca
treeedb0feaad603590f9461ce7204f88156c7485e2b
parent6322d278a298e2c1430b9d2697743d3a04b788b1
drm/amdgpu: enumerate UMSCH HW IP

This part enumerates a UMSCH block under hardware id (22) at version
2.2.0 rather than under VCN. Add the UMSCH hardware id, an IP enum
slot, and the discovery name/map entries so it is recognized. No IP
block is wired up yet; this only makes the IP discoverable.

The multimedia IP setup assumed VCN/VCE/UVD was always present; handle
the case where it is absent so init does not fail with -EINVAL.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ip.h
drivers/gpu/drm/amd/include/soc15_hw_ip.h