diff options
author | Carlos Eduardo Gallo Filho <gcarlos@disroot.org> | 2024-09-10 21:15:26 -0300 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-09-11 14:16:59 +0200 |
commit | 96d068ea0d77e3bec79cf8199fce1aaa28cd256e (patch) | |
tree | 3881ed8f0d45146b868adb2df12a267f298776bd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 970b867d5bd483c4879a343fb894972ca5678d22 (diff) |
drm/tests: Stop using deprecated dev_private member on drm_framebuffer tests
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.
Also start using drm_kunit_helper_alloc_drm_device() for allocating
the drm_device mock.
Signed-off-by: Carlos Eduardo Gallo Filho <gcarlos@disroot.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240911001559.28284-2-gcarlos@disroot.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions