linux/drivers/media/platform/mtk-mdp
Eizan Miyamoto 86698b9505 media: mtk-mdp: convert mtk_mdp_dev.comp array to list
The functions mtk_mdp_register/unregister_component have been created to
add / remove items from the list of components.

This will eventually enable us to specify a list of components in the
device tree instead of hardcoding them into this driver.

The list is modified by a single thread at driver probe time, and will
not be traversed by another thread until the call to pm_runtime_enable
at the end of probing.

Signed-off-by: Eizan Miyamoto <eizan@chromium.org>
Reviewed-by: Enric Balletbo I Serra <enric.balletbo@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-04 12:00:49 +02:00
..
Makefile
mtk_mdp_comp.c media: mtk-mdp: convert mtk_mdp_dev.comp array to list 2020-07-04 12:00:49 +02:00
mtk_mdp_comp.h media: mtk-mdp: convert mtk_mdp_dev.comp array to list 2020-07-04 12:00:49 +02:00
mtk_mdp_core.c media: mtk-mdp: convert mtk_mdp_dev.comp array to list 2020-07-04 12:00:49 +02:00
mtk_mdp_core.h media: mtk-mdp: convert mtk_mdp_dev.comp array to list 2020-07-04 12:00:49 +02:00
mtk_mdp_ipi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_m2m.c media: mtk-mdp: Remove states for format checks 2020-07-04 11:57:44 +02:00
mtk_mdp_m2m.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_regs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
mtk_mdp_vpu.c media: mtk-vpu: avoid unaligned access to DTCM buffer. 2020-03-12 16:25:33 +01:00
mtk_mdp_vpu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00