aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <[email protected]>2018-10-02 14:54:28 -0700
committerChris Wilson <[email protected]>2018-10-04 07:29:47 +0100
commit48b426a9b9ab93481a2c5b913c2c6add5fb1001a (patch)
tree4829895947918e64e6998ff613a393c1049dc081 /tools/perf/scripts/python/stackcollapse.py
parentbc2477f7d3f3083d344b327e358e43093054023c (diff)
drm/i915/guc: init GuC descriptors after GuC load
GuC stores some data in there, which might be stale after a reset. We already reset the WQ head and tail, but more things are being moved to the descriptor with the interface updates. Instead of trying to track them one by one, always memset and init the descriptors from scratch after GuC is loaded. The code is also reorganized so that the above operations and the doorbell creation are grouped as "client enabling" v2: add proc_desc_fini for symmetry (Daniele), remove unneeded var init, add guc_is_alive() (Michal) Cc: Michal Wajdeczko <[email protected]> Signed-off-by: Daniele Ceraolo Spurio <[email protected]> Reviewed-by: Michal Wajdeczko <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions