linux/drivers/gpu/drm
Luben Tuikov a6c40b1780 drm/amdgpu: Show IP discovery in sysfs
Add IP discovery data in sysfs. The format is:
/sys/class/drm/cardX/device/ip_discovery/die/D/B/I/<attrs>
where,
X is the card ID, an integer,
D is the die ID, an integer,
B is the IP HW ID, an integer, aka block type,
I is the IP HW ID instance, an integer.
<attrs> are the attributes of the block instance. At the moment these
include HW ID, instance number, major, minor, revision, number of base
addresses, and the base addresses themselves.

A symbolic link of the acronym HW ID is also created, under D/, if you
prefer to browse by something humanly accessible.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Tom StDenis <tom.stdenis@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-02-14 15:08:40 -05:00
..
amd drm/amdgpu: Show IP discovery in sysfs 2022-02-14 15:08:40 -05:00
arm
armada
aspeed
ast Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
atmel-hlcdc
bridge Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
dp drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
etnaviv Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
exynos drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
fsl-dcu
gma500
gud dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
hisilicon
hyperv dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
i2c
i810
i915 Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
imx
ingenic
kmb drm/kmb: Fix for build errors with Warray-bounds 2022-01-27 14:30:36 -08:00
lib
lima dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
mcde
mediatek dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
meson
mga
mgag200 Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
msm Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
mxsfb Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
nouveau Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
omapdrm
panel Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
panfrost Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
pl111
qxl dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
r128
radeon Merge tag 'amd-drm-next-5.18-2022-02-11-1' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2022-02-14 10:31:51 +10:00
rcar-du
rockchip Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
savage
scheduler
selftests
shmobile
sis
sprd
sti
stm
sun4i
tdfx
tegra Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
tidss
tilcdc
tiny Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
ttm Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
tve200
udl dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
v3d
vboxvideo dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
vc4 Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
vgem
via
virtio drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
vkms Cross-subsystem Changes: 2022-02-11 14:14:07 +10:00
vmwgfx drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
xen dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
xlnx drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
drm_agpsupport.c
drm_aperture.c
drm_atomic.c Merge drm/drm-fixes into drm-misc-fixes 2022-01-26 09:40:24 +01:00
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bridge_connector.c
drm_buddy.c
drm_bufs.c
drm_cache.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_client.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_client_modeset.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_displayid.c
drm_dma.c
drm_drv.c
drm_dsc.c
drm_dumb_buffers.c
drm_edid.c
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_file.c
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c
drm_gem.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_gem_atomic_helper.c
drm_gem_cma_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_gem_framebuffer_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_gem_shmem_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_gem_ttm_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_gem_vram_helper.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_hashtab.c
drm_hdcp.c
drm_internal.h dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_legacy_misc.c
drm_lock.c
drm_managed.c
drm_memory.c
drm_mipi_dbi.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_nomodeset.c
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c Merge drm/drm-next into drm-intel-next 2022-01-31 13:19:33 -05:00
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c dma-buf-map: Rename to iosys-map 2022-02-07 16:35:35 -08:00
drm_print.c
drm_privacy_screen.c Linux 5.17-rc4 2022-02-14 10:52:27 +10:00
drm_privacy_screen_x86.c drm-misc-next for v5.18: 2022-02-01 19:02:41 +10:00
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vblank_work.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig
Makefile