linux/drivers/gpu/drm/vc4
Eric Anholt c9be804c8c drm/vc4: Use common helpers for debugfs setup by the driver components.
The global list of all debugfs entries for the driver was painful: the
list couldn't see into the components' structs, so each component had
its own debugs show function to find the component, then find the
regset and dump it.  The components also had to be careful to check
that they were actually registered in vc4 before dereferencing
themselves, in case they weren't probed on a particular platform.
They routinely failed at that.

Instead, we can have the components add their debugfs callbacks to a
little list in vc4 to be registered at drm_dev_register() time, which
gets vc4_debugfs.c out of the business of knowing the whole list of
components.

Thanks to this change, dsi0 (if it existed) would register its node.

v2: Rebase on hvs_underrun addition.
v3: whitespace fixup

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190401183559.3823-1-eric@anholt.net
Reviewed-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
2019-04-03 12:49:13 -07:00
..
Kconfig drm/vc4: add HDMI CEC support 2017-07-26 12:15:12 -07:00
Makefile drm/vc4: Add support for the transposer block 2018-07-07 07:54:46 +02:00
vc4_bo.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_crtc.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_debugfs.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_dpi.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_drv.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_drv.h drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_dsi.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_fence.c drm/vc4: Remove unecessary dma_fence_ops 2018-07-03 13:14:10 +02:00
vc4_gem.c drm/vc4: Add helpers for pm get/put. 2019-04-01 10:44:34 -07:00
vc4_hdmi.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_hvs.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_irq.c drm/vc4: Expose performance counters to userspace 2018-02-10 22:23:26 +00:00
vc4_kms.c drm/vc4: Add a debugfs entry to disable/enable the load tracker 2019-03-06 14:48:07 +01:00
vc4_packet.h
vc4_perfmon.c drm/vc4: Use struct_size() in kzalloc() 2019-02-06 15:16:08 -08:00
vc4_plane.c drm/vc4: Add a load tracker to prevent HVS underflow errors 2019-03-06 14:48:03 +01:00
vc4_qpu_defines.h drm/vc4: Fix definition of QPU_R_MS_REV_FLAGS 2016-07-15 15:19:52 -07:00
vc4_regs.h drm/vc4: Report HVS underrun errors 2019-03-06 14:47:59 +01:00
vc4_render_cl.c drm/vc4: Make sure to emit a tile coordinates between two MSAA loads. 2019-04-01 09:33:38 -07:00
vc4_trace.h drm/vc4: Use correct path to trace include 2017-09-05 11:11:20 +02:00
vc4_trace_points.c
vc4_txp.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_v3d.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00
vc4_validate.c drm/vc4_validate: Remove VLA usage 2018-03-16 15:51:52 -07:00
vc4_validate_shaders.c drm/vc4: Fix memory leak during BO teardown 2018-04-09 12:42:08 -07:00
vc4_vec.c drm/vc4: Use common helpers for debugfs setup by the driver components. 2019-04-03 12:49:13 -07:00