]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/debugfs: Add i915_hpd_storm_ctl
authorLyude <lyude@redhat.com>
Sat, 4 Feb 2017 02:18:25 +0000 (21:18 -0500)
committerLyude <lyude@redhat.com>
Fri, 10 Feb 2017 19:04:00 +0000 (14:04 -0500)
commit93c02428d159f9fded5e838682dd0a4f9fbe4f18
treeb11f511ef2291abfa31ca2c5bd9fb02f7205a76d
parent23d88e8bec5e069da59742fc563e5f0a26e31ed1
drm/i915/debugfs: Add i915_hpd_storm_ctl

This adds a file in i915's debugfs directory that allows userspace to
manually control HPD storm detection. This is mainly for hotplugging
tests, where we might want to test HPD storm functionality or disable
storm detection to speed up hotplugging tests without breaking anything.

Changes since v1:
- Make HPD storm interval configurable
- Misc code cleanup

Signed-off-by: Lyude <lyude@redhat.com>
Acked-by: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_hotplug.c