Skip to content
Snippets Groups Projects
Commit 1622ed27 authored by unerlige's avatar unerlige Committed by Tvrtko Ursulin
Browse files

i915/guc: Accumulate active runtime on gt reset


On gt reset, if a context is running, then accumulate it's active time
into the busyness counter since there will be no chance for the context
to switch out and update it's run time.

v2: Move comment right above the if (John)

Fixes: 77cdd054 ("drm/i915/pmu: Connect engine busyness stats from GuC to pmu")
Signed-off-by: default avatarUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241127174006.190128-4-umesh.nerlige.ramappa@intel.com


(cherry picked from commit 7ed047da)
Signed-off-by: default avatarTvrtko Ursulin <tursulin@ursulin.net>
parent 59a0b467
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment