aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2016-04-28 09:56:59 +0100
committerChris Wilson <[email protected]>2016-04-28 12:17:32 +0100
commite7ae86bab90887e1892e6c33c4fb38d8ca6935f9 (patch)
treee8771503f5cc53dfe1703f3b3b32712c053a3ccc /tools/perf/scripts/python/netdev-times.py
parente39d42fa7e8bdd1ae88da6c7acbe04d8a68f130f (diff)
drm/i915: Unify GPU resets upon shutdown
Both execlists and legacy need to reset the context (and mode) of the GPU before we lose control of the system. By resetting the GPU, we revert back to default settings. This simplifies the life of any subsequent driver (in particular for virtualized setups) as it does not then have to try and recover from an unknown condition. As both paths need to reset for the same reason, move the reset to a common point. This unifies the resets added in a647828afc (drm/i915: Also perform gpu reset under execlist mode) and 8e96d9c4d9 (drm/i915: reset the GPU on context fini). v2: Restrict the reset to "modern" gen (where we enable HW contexts) to try and avoid leaving the machine in an unusable state with a risky reset on older GPU. This should keep the status quo as to who performs resets (i.e. currently only GPUs with HW contexts perform a reset on shutdown). Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> CC: Joonas Lahtinen <[email protected]> Cc: Mika Kuoppala <[email protected]> Cc: "Niu, Bing" <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions