diff options
author | 2018-03-28 12:05:26 +0200 | |
---|---|---|
committer | 2018-04-10 16:29:24 +0200 | |
commit | d52ad9cb9d6d3b696d6b7ad20a381a8f5520ea03 (patch) | |
tree | 1e9e373d793670a9b870d7ba58383b673efa7634 /lib/test_overflow.c | |
parent | drm/i915/psr: Chase psr.enabled only under the psr.lock (diff) | |
download | linux-dev-d52ad9cb9d6d3b696d6b7ad20a381a8f5520ea03.tar.xz linux-dev-d52ad9cb9d6d3b696d6b7ad20a381a8f5520ea03.zip |
drm/i915: Add debugfs file to clear FIFO underruns.
Adding a i915_fifo_underrun_reset debugfs file will make it possible
for IGT tests to clear FIFO underrun fallout at the start of each
subtest, and make re-enable FBC so tests always have maximum exposure
to features used by IGT. FIFO underruns and FBC bugs will no longer
hide when an earlier subtests disables both.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=105685
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105681
Link: https://patchwork.freedesktop.org/patch/msgid/20180328100526.36467-1-maarten.lankhorst@linux.intel.com
Acked-by: Jani Nikula <jani.nikula@linux.intel.com>
[mlankhorst: Reset FBC reason if underrun had occurred. (vivijim)]
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions