diff options
| author | Michal Wajdeczko <[email protected]> | 2023-11-16 16:12:41 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:44:38 -0500 |
| commit | 1d087cb7d81f9a17760154eef5ac8b894428cdbe (patch) | |
| tree | 8f384bc51203d8e7fe142c9f3dd28f77fb461314 /tools/perf/scripts/python | |
| parent | cd1c9c54c34b3a2540fdf49eafd49a61747a6342 (diff) | |
drm/xe/guc: Fix handling of GUC_HXG_TYPE_NO_RESPONSE_BUSY
If GuC responds with the NO_RESPONSE_BUSY message, we extend
our timeout while waiting for the actual response, but we wrongly
assumed that the next message will be RESPONSE_SUCCESS, missing
that we still can get RESPONSE_FAILURE.
Change the condition for the expected message type, using only
common bits from RESPONSE_SUCCESS and RESPONSE_FAILURE (as they
differ, by ABI design, only by the last bit).
v2: add comment/checks to the code (Matt)
Signed-off-by: Michal Wajdeczko <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions