Re: [PATCH] drm/nouveau: Improve variable names in nouveau_sched_init()

2024-07-11 Thread Danilo Krummrich
On Thu, Jul 11, 2024 at 07:35:51PM +0200, Philipp Stanner wrote: > 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_li

[PATCH] drm/nouveau: Improve variable names in nouveau_sched_init()

2024-07-11 Thread Philipp Stanner
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 "h