Re: [PATCH v2 3/3] drm/tests: managed: Add a simple test for drmm_managed_release

2023-12-05 Thread Michał Winiarski
On Tue, Dec 05, 2023 at 02:50:22PM +0100, Maxime Ripard wrote: > Hi, > > Thanks for the rework > > On Tue, Dec 05, 2023 at 02:22:10AM +0100, Michał Winiarski wrote: > > Add a simple test that checks whether the action is indeed called right > > away and that it is not called on the final drm_dev_

Re: [PATCH v2 3/3] drm/tests: managed: Add a simple test for drmm_managed_release

2023-12-05 Thread Maxime Ripard
Hi, Thanks for the rework On Tue, Dec 05, 2023 at 02:22:10AM +0100, Michał Winiarski wrote: > Add a simple test that checks whether the action is indeed called right > away and that it is not called on the final drm_dev_put(). > > Signed-off-by: Michał Winiarski > --- > drivers/gpu/drm/tests/d

[PATCH v2 3/3] drm/tests: managed: Add a simple test for drmm_managed_release

2023-12-04 Thread Michał Winiarski
Add a simple test that checks whether the action is indeed called right away and that it is not called on the final drm_dev_put(). Signed-off-by: Michał Winiarski --- drivers/gpu/drm/tests/drm_managed_test.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/gp