commit | d52ad9cb9d6d3b696d6b7ad20a381a8f5520ea03 | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Wed Mar 28 12:05:26 2018 +0200 |
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Tue Apr 10 16:29:24 2018 +0200 |
tree | 1e9e373d793670a9b870d7ba58383b673efa7634 | |
parent | daeb725e919c0d2d4b628aeaa1fa053125f888b2 [diff] |
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>