Skip to contentSkip to conversation

drm/scheduler: fix documentation by replacing rq_list with sched_list

PATCH In review Nirmoy Das 4 participants 4 messages Jan 14, 2020 – Jan 15, 2020

Subsystems (3)
lore
Share & tools
lore

Nirmoy Das

author
#0 lore raw

PATCH 1/1 drm/scheduler: fix documentation by replacing rq_list with sched_list

---
 drivers/gpu/drm/scheduler/sched_entity.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/scheduler/sched_entity.c +1 -1
index 2e3a058fc239..62bcca855c69 100644
@@ -45,7 +45,7 @@
  * @guilty: atomic_t set to 1 when a job on this queue
  *          is found to be guilty causing a timeout
  *
- * Note: the rq_list should have atleast one element to schedule
+ * Note: the sched_list should have atleast one element to schedule
  *       the entity
  *
  * Returns 0 on success or a negative error code on failure.
Signature · 6 lines
2.24.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

Am 14.01.20 um 10:58 schrieb Nirmoy Das:

Quoted 1 line
Quoted 9 lines
---
  drivers/gpu/drm/scheduler/sched_entity.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/scheduler/sched_entity.c +0 -0
index 2e3a058fc239..62bcca855c69 100644

drivers/gpu/drm/scheduler/sched_entity.c line 51

Quoted 8 lines
drivers/gpu/drm/scheduler/sched_entity.c +1 -1
@@ -45,7 +45,7 @@
   * @guilty: atomic_t set to 1 when a job on this queue
   *          is found to be guilty causing a timeout
   *
- * Note: the rq_list should have atleast one element to schedule
+ * Note: the sched_list should have atleast one element to schedule
   *       the entity
   *
   * Returns 0 on success or a negative error code on failure.

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

#2 lore raw
In reply to Nirmoy Das

[AMD Official Use Only - Internal Distribution Only]

Hi Nirmoy,

Seems like documentation for struct drm_sched_entity@gpu_scheduler.h need update as well.

BR,
Xiaojie

________________________________________
From: amd-gfx <[email protected]> on behalf of Nirmoy Das <[email protected]>
Sent: Tuesday, January 14, 2020 5:58 PM
To: [email protected]
Cc: Deucher, Alexander; Ho, Kenny; Das, Nirmoy; Koenig, Christian
Subject: [PATCH] drm/scheduler: fix documentation by replacing rq_list with sched_list

---
 drivers/gpu/drm/scheduler/sched_entity.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/scheduler/sched_entity.c +1 -1
index 2e3a058fc239..62bcca855c69 100644
@@ -45,7 +45,7 @@
  * @guilty: atomic_t set to 1 when a job on this queue
  *          is found to be guilty causing a timeout
  *
- * Note: the rq_list should have atleast one element to schedule
+ * Note: the sched_list should have atleast one element to schedule
  *       the entity
  *
  * Returns 0 on success or a negative error code on failure.

--
2.24.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7CXiaojie.Yuan%40amd.com%7Cb5b5e9e4c2a34ac6b50308d798d81903%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637145926254946780&amp;sdata=ZgkmwrForbuXnPGGHz2UVE67anyILWedAMNlcSA%2BvUw%3D&amp;reserved=0
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#3 lore raw
Quoted 5 lines · Xiaojie

[AMD Official Use Only - Internal Distribution Only]

Hi Nirmoy,

Seems like documentation for struct drm_sched_entity@gpu_scheduler.h need update as well.

Yes that needs fixing too,

Thanks,

Nirmoy

Quoted 32 lines

BR,
Xiaojie

________________________________________
From: amd-gfx <[email protected]> on behalf of Nirmoy Das <[email protected]>
Sent: Tuesday, January 14, 2020 5:58 PM
To: [email protected]
Cc: Deucher, Alexander; Ho, Kenny; Das, Nirmoy; Koenig, Christian
Subject: [PATCH] drm/scheduler: fix documentation by replacing rq_list with sched_list

---
  drivers/gpu/drm/scheduler/sched_entity.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/scheduler/sched_entity.c +1 -2
index 2e3a058fc239..62bcca855c69 100644
@@ -45,7 +45,7 @@
   * @guilty: atomic_t set to 1 when a job on this queue
   *          is found to be guilty causing a timeout
   *
- * Note: the rq_list should have atleast one element to schedule
+ * Note: the sched_list should have atleast one element to schedule
   *       the entity
   *
   * Returns 0 on success or a negative error code on failure.
--

2.24.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7CXiaojie.Yuan%40amd.com%7Cb5b5e9e4c2a34ac6b50308d798d81903%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637145926254946780&amp;sdata=ZgkmwrForbuXnPGGHz2UVE67anyILWedAMNlcSA%2BvUw%3D&amp;reserved=0

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