aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2023-01-25 20:52:30 +0200
committerVille Syrjälä <[email protected]>2023-02-23 16:28:03 +0200
commit66560f33059ebe606cad7aef9c298a19d4f9e998 (patch)
tree1ca6a216cf643e6bc1b560caa2e6c724b07eb232 /tools/perf/scripts/python/flamegraph.py
parent5eba7426050755c96d4b9561432b18ca000a4fd4 (diff)
drm/i915: Mark FIFO underrun disabled earlier
At least on some platforms (tested on ctg) the way vgacon does screen blanking seems to flag constant FIFO underruns, which means we have to be prepared for them while the driver is loading. Currently there is a time window between drm_crtc_init() and intel_sanitize_fifo_underrun_reporting() during which FIFO underrun reporting is in fact marked as enabled. Thus we may end up mistakenly detecting these bogus underruns during driver init. Close the race by marking FIFO underrun reporting as disabled prior to even registering the crtc. intel_sanitize_fifo_underrun_reporting()/etc. will re-enable it later if needed. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Vinod Govindapillai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions