diff options
| author | Tomas Elf <[email protected]> | 2016-03-02 16:46:24 +0200 |
|---|---|---|
| committer | Mika Kuoppala <[email protected]> | 2016-03-04 15:17:05 +0200 |
| commit | d431440cce2427dcdd665d936865fe802637b4c2 (patch) | |
| tree | 3ef267d6de3fc9dc48dd7674b7bd085826c0e76d /tools/perf/scripts/python | |
| parent | 37f2248e3d422f0463800b574ea9288ede97cea2 (diff) | |
drm/i915: Generalise common GPU engine reset request/unrequest code
GPU engine reset handshaking is something that is applicable to both full GPU
reset and engine reset, which is something that is part of the upcoming TDR
per-engine hang recovery patches. Break out the common engine reset
request/unrequest code (originally written by Mika Kuoppala) for reuse later
in the TDR enablement patch series.
v2: correct indentation and drop unused returned value (Mika)
v3: We have forcewake during reset so use *_FW reg access (Mika)
Reviewed-by: Mika Kuoppala <[email protected]>
Signed-off-by: Tomas Elf <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Signed-off-by: Arun Siluvery <[email protected]>
[Mika: Fixed format warning]
Signed-off-by: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions