diff options
| author | Tomasz Lis <tomasz.lis@intel.com> | 2025-10-09 19:08:44 +0200 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-10-14 12:37:02 +0200 |
| commit | bb3d208250424ef25d34f2f05f18f094e5cebfa5 (patch) | |
| tree | 17f7451c4759d47427cb8afd1adb9c0c2199e837 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 82ee50252dc891e3f3b32d923bb4f656d300b772 (diff) | |
| download | linux-bb3d208250424ef25d34f2f05f18f094e5cebfa5.tar.gz linux-bb3d208250424ef25d34f2f05f18f094e5cebfa5.zip | |
drm/xe/ct: Separate waiting for retry from ct send function
The function `guc_ct_send_locked()` is really quite simple, but still
looks complex due to exposed internals. It is sending a message,
and in case of lack of space, waiting for a proper moment to send
a retry.
Clear separation of send function and wait function will help with
readability. This is a cosmetic change only, no functional difference
is expected.
This patch introduces `guc_ct_send_wait_for_retry()`, and uses it to
greatly simplify `guc_ct_send_locked()`.
Signed-off-by: Tomasz Lis <tomasz.lis@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/20251009170844.178199-1-tomasz.lis@intel.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
