aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2022-12-01 16:11:41 +0100
committerMaxime Ripard <[email protected]>2022-12-08 09:56:55 +0100
commita9143c5852a7a13d60ef685d27f9617f2a52338b (patch)
tree1a7db5ecdb9d53e58eaf78632e6c394cf7ef90c2 /tools/perf/scripts/python
parent57a84a97bbda3a4bb38534e9e37634fa9f58c7fc (diff)
drm/tests: helpers: Allow for a custom device struct to be allocated
The current helper to allocate a DRM device doesn't allow for any subclassing by drivers, which is going to be troublesome as we work on getting some kunit testing on atomic modesetting code. Let's use a similar pattern to the other allocation helpers by providing the structure size and offset as arguments. Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions