diff options
| author | Philipp Stanner <[email protected]> | 2024-07-12 08:26:18 +0200 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2024-07-12 19:36:28 +0200 |
| commit | 6f1cacf4eba7a3203f08954a7e00b744e43f741c (patch) | |
| tree | 2fb7390e835bc223af2e49ae55b21741be03a198 /tools/perf/scripts/python | |
| parent | 0daf44ea9dccfcdb1fe694e9ea85497b6cc3a065 (diff) | |
drm/nouveau: Improve variable name in nouveau_sched_init()
nouveau_sched_init() uses the function drm_sched_init(). The latter
function has parameters called "hang_limit" and "timeout" in its API
documentation.
nouveau_sched_init(), however, defines a variable called
"job_hang_limit" which is passed to drm_sched_init()'s "timeout"
parameter. The actual "hang_limit" parameter is directly set to 0.
Rename "job_hang_limit" to "timeout".
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Danilo Krummrich <[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