diff options
| author | Michal Wajdeczko <[email protected]> | 2018-03-27 12:14:39 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-03-28 20:35:16 +0100 |
| commit | 9ef4c75e06006eb041c0bcc578548e3cdb8f9e03 (patch) | |
| tree | aa6c7f294854f397c7e98546d9eb73869a5887d0 /tools/perf/scripts/python | |
| parent | 24827cd0dd86a3158abc90ee64dcaf18aa843970 (diff) | |
drm/i915/guc: Implement response handling in send_ct()
Instead of returning small data in response status dword,
GuC may append longer data as response message payload.
If caller provides response buffer, we will copy received
data and use number of received data dwords as new success
return value. We will WARN if response from GuC does not
match caller expectation.
v2: fix timeout and checkpatch warnings (Michal)
v3: fix checkpatch again (Michel)
update wait function name (Michal)
no need for spinlock_irqsave (MichalWi)
no magic numbers (MichalWi)
must check before use (Jani)
add some more documentation (Michal)
v4: update documentation (Michal)
Signed-off-by: Michal Wajdeczko <[email protected]>
Cc: Oscar Mateo <[email protected]>
Cc: Michel Thierry <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Michel Thierry <[email protected]> #2.5
Cc: Michal Winiarski <[email protected]>
Cc: Jani Nikula <[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')
0 files changed, 0 insertions, 0 deletions