linux/drivers/gpu/drm/vc4
Paul Kocialkowski 6b5c029df5
drm/vc4: Add a debugfs entry to disable/enable the load tracker
In order to test whether the load tracker is working as expected, we
need the ability to compare the commit result with the underrun
indication. With the load tracker always enabled, commits that are
expected to trigger an underrun are always rejected, so userspace
cannot get the actual underrun indication from the hardware.

Add a debugfs entry to disable/enable the load tracker, so that a DRM
commit expected to trigger an underrun can go through with the load
tracker disabled. The underrun indication is then available to
userspace and can be checked against the commit result with the load
tracker enabled.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220155124.25022-4-paul.kocialkowski@bootlin.com
2019-03-06 14:48:07 +01: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: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
vc4_crtc.c drm/vc4: Report HVS underrun errors 2019-03-06 14:47:59 +01:00
vc4_debugfs.c drm/vc4: Add a debugfs entry to disable/enable the load tracker 2019-03-06 14:48:07 +01:00
vc4_dpi.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
vc4_drv.c drm/vc4: Add a load tracker to prevent HVS underflow errors 2019-03-06 14:48:03 +01:00
vc4_drv.h drm/vc4: Add a debugfs entry to disable/enable the load tracker 2019-03-06 14:48:07 +01:00
vc4_dsi.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
vc4_fence.c drm/vc4: Remove unecessary dma_fence_ops 2018-07-03 13:14:10 +02:00
vc4_gem.c drm: vc4: Switch to use drm_gem_object reservation_object 2019-02-19 11:08:40 +01:00
vc4_hdmi.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
vc4_hvs.c drm/vc4: Report HVS underrun errors 2019-03-06 14:47:59 +01: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 drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
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: Add exec flags to allow forcing a specific X/Y tile walk order. 2017-08-08 13:26:44 -07:00
vc4_trace_points.c drm/vc4: Add support for drawing 3D frames. 2015-12-07 20:05:10 -08:00
vc4_trace.h drm/vc4: Use correct path to trace include 2017-09-05 11:11:20 +02:00
vc4_txp.c drm: Remove set but not used variable 'gem' 2019-02-19 11:08:41 +01:00
vc4_v3d.c drm/vc4: make function vc4_allocate_bin_bo static 2018-04-30 10:59:00 -07:00
vc4_validate_shaders.c drm/vc4: Fix memory leak during BO teardown 2018-04-09 12:42:08 -07:00
vc4_validate.c drm/vc4_validate: Remove VLA usage 2018-03-16 15:51:52 -07:00
vc4_vec.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00