Skip to contentSkip to conversation

drm/sched: add missing member documentation

PATCH In review Christian König 2 participants 2 messages Apr 1, 2021

Subsystems (2)
lore
Share & tools
lore

Christian König

author reviewer
#0 lore raw

PATCH 1/1 drm/sched: add missing member documentation

Just fix a warning.

Fixes f2f12eb9c32b ("drm/scheduler: provide scheduler score externally")
---
 include/drm/gpu_scheduler.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/gpu_scheduler.h +1 -0
index 1c815e0a14ed..f888b5e9583a 100644
@@ -277,6 +277,7 @@ struct drm_sched_backend_ops {
  * @hang_limit: once the hangs by a job crosses this limit then it is marked
  *              guilty and it will be considered for scheduling further.
  * @score: score to help loadbalancer pick a idle sched
+ * @_score: score used when the driver doesn't provide one
  * @ready: marks if the underlying HW is ready to work
  * @free_guilty: A hit to time out handler to free the guilty job.
  *
Signature · 6 lines
2.25.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Christian König

Just fix a warning.

Fixes f2f12eb9c32b ("drm/scheduler: provide scheduler score externally")
Quoted 19 lines
---
 include/drm/gpu_scheduler.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/gpu_scheduler.h +1 -1
index 1c815e0a14ed..f888b5e9583a 100644
@@ -277,6 +277,7 @@ struct drm_sched_backend_ops {
  * @hang_limit: once the hangs by a job crosses this limit then it is marked
  *              guilty and it will be considered for scheduling further.
  * @score: score to help loadbalancer pick a idle sched
+ * @_score: score used when the driver doesn't provide one
  * @ready: marks if the underlying HW is ready to work
  * @free_guilty: A hit to time out handler to free the guilty job.
  *
--

2.25.1

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel