1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/vc4/tests
Maxime Ripard 5a46e490e4
drm/vc4: Switch to container_of_const
container_of_const() allows to preserve the pointer constness and is
thus more flexible than inline functions.

Let's switch all our instances of container_of() to
container_of_const().

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20221207-rpi-hdmi-improvements-v3-1-bdd54f66884e@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
2023-04-25 09:32:25 +02:00
..
.kunitconfig drm/vc4: tests: Introduce a mocking infrastructure 2022-12-08 09:56:56 +01:00
vc4_mock.c drm/vc4: tests: Introduce a mocking infrastructure 2022-12-08 09:56:56 +01:00
vc4_mock.h drm/vc4: Switch to container_of_const 2023-04-25 09:32:25 +02:00
vc4_mock_crtc.c drm/vc4: tests: Introduce a mocking infrastructure 2022-12-08 09:56:56 +01:00
vc4_mock_output.c drm/vc4: Switch to container_of_const 2023-04-25 09:32:25 +02:00
vc4_mock_plane.c drm/vc4: tests: Introduce a mocking infrastructure 2022-12-08 09:56:56 +01:00
vc4_test_pv_muxing.c drm/vc4: tests: Add unit test suite for the PV muxing 2022-12-08 09:56:56 +01:00