[PATCH v3 1/9] drm/tests: Stop using deprecated dev_private member on drm_framebuffer tests

Maxime Ripard mripard at kernel.org
Mon Jul 8 11:24:45 UTC 2024


On Wed, 3 Jul 2024 14:22:20 -0300, Carlos Eduardo Gallo Filho wrote:
> The dev_private member of drm_device is deprecated and its use should
> be avoided. Stop using it by embedding the drm_device onto a mock struct.
> 
> The new mock struct allows to share variables and even further mocks
> over the tests in a cleaner way than using dev_private void pointer.
> 
> [ ... ]

Acked-by: Maxime Ripard <mripard at kernel.org>

Thanks!
Maxime


More information about the dri-devel mailing list