Skip to content

Commit be7ffc8

Browse files
dliviubbrezillon
authored andcommitted
drm/panthor: Fix some kerneldoc warnings
When compiling with W=1 the build process will flag empty comments, misnamed documented variables and incorrect tagging of functions. Fix them in one go. Fixes: de85488 ("drm/panthor: Add the scheduler logical block") Cc: Boris Brezillon <[email protected]> Cc: Steven Price <[email protected]> Signed-off-by: Liviu Dudau <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0004416 commit be7ffc8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

drivers/gpu/drm/panthor/panthor_sched.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ struct panthor_group {
517517
/** @max_compute_cores: Maximum number of shader cores used for compute jobs. */
518518
u8 max_compute_cores;
519519

520-
/** @max_compute_cores: Maximum number of shader cores used for fragment jobs. */
520+
/** @max_fragment_cores: Maximum number of shader cores used for fragment jobs. */
521521
u8 max_fragment_cores;
522522

523523
/** @max_tiler_cores: Maximum number of tiler cores used for tiler jobs. */
@@ -993,7 +993,7 @@ cs_slot_prog_locked(struct panthor_device *ptdev, u32 csg_id, u32 cs_id)
993993
}
994994

995995
/**
996-
* @cs_slot_reset_locked() - Reset a queue slot
996+
* cs_slot_reset_locked() - Reset a queue slot
997997
* @ptdev: Device.
998998
* @csg_id: Group slot.
999999
* @cs_id: Queue slot.
@@ -1591,7 +1591,7 @@ static void sched_process_idle_event_locked(struct panthor_device *ptdev)
15911591
}
15921592

15931593
/**
1594-
* panthor_sched_process_global_irq() - Process the scheduling part of a global IRQ
1594+
* sched_process_global_irq_locked() - Process the scheduling part of a global IRQ
15951595
* @ptdev: Device.
15961596
*/
15971597
static void sched_process_global_irq_locked(struct panthor_device *ptdev)
@@ -1660,8 +1660,6 @@ static const struct dma_fence_ops panthor_queue_fence_ops = {
16601660
.get_timeline_name = queue_fence_get_timeline_name,
16611661
};
16621662

1663-
/**
1664-
*/
16651663
struct panthor_csg_slots_upd_ctx {
16661664
u32 update_mask;
16671665
u32 timedout_mask;

0 commit comments

Comments
 (0)