diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-11-27 21:05:56 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-04 15:37:31 +0200 |
| commit | cfdd174798334421a4648f6c5a1515c8526e8939 (patch) | |
| tree | 022ffabbd3c89bb850188721bfd2dfa2c642952d /tools/perf/scripts/python/stackcollapse.py | |
| parent | 23526249fc4ef1810d3567ff52ed7606f3548517 (diff) | |
| download | linux-cfdd174798334421a4648f6c5a1515c8526e8939.tar.gz linux-cfdd174798334421a4648f6c5a1515c8526e8939.zip | |
drm/i915: Make intel_crtc_arm_fifo_underrun() functional on gen2
Assuming intel_crtc_arm_fifo_underrun() only gets called when
there's no pending plane updates we can utilize it on gen2 by
checking the active_planes bitmask so that we only re-enable
underrun reporting if some planes are active.
i915_fifo_underrun_reset_write() seems to have the necessary
hw_done/flip_done waits in place.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191127190556.1574-8-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
