[PATCH 28/70] drm/tests: Switch to drm_atomic_helper_crtc_create_state
Maxime Ripard <[email protected]>
| Newsgroups | org.freedesktop.lists.dri-devel |
|---|---|
| Message-ID | <[email protected]> |
The KUnit test helpers use the deprecated drm_atomic_helper_crtc_reset() as their reset hook. Switch to drm_atomic_helper_crtc_create_state() instead. Signed-off-by: Maxime Ripard <[email protected]> --- drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c index 727766444d63..1afa9b162355 100644 --- a/drivers/gpu/drm/tests/drm_kunit_helpers.c +++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c @@ -215,11 +215,11 @@ static const struct drm_crtc_helper_funcs default_crtc_helper_funcs = { }; static const struct drm_crtc_funcs default_crtc_funcs = { .atomic_destroy_state = drm_atomic_helper_crtc_destroy_state, .atomic_duplicate_state = drm_atomic_helper_crtc_duplicate_state, - .reset = drm_atomic_helper_crtc_reset, + .atomic_create_state = drm_atomic_helper_crtc_create_state, }; /** * drm_kunit_helper_create_crtc - Creates a mock CRTC for a KUnit test * @test: The test context object -- 2.55.0