]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: vsp1: vsp1_dl: Count display lists
authorJacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Mon, 16 Jun 2025 16:30:38 +0000 (18:30 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Wed, 18 Jun 2025 07:20:46 +0000 (09:20 +0200)
commitfe2a3493c597869322c2e68ada77c44a84a42e81
treefc7118bedeb27040c55fd3c02167eed4cdc87ca0
parent30e77ed16bdc79f55b06192a1f5445bd0515fb54
media: vsp1: vsp1_dl: Count display lists

To detect leaks of display lists, store in the display list manager the
number of allocated display lists when the manager is created and verify
that when the display manager is reset the same number of lists is
available in the free list.

Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250616-vsp1_dl_list_count-v2-2-7d3f43fb1306@ideasonboard.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/renesas/vsp1/vsp1_dl.c