FAILED: Patch "drm/tests: shmem: Swap names of export tests" failed to apply to 6.12-stable tree
Subsystems (3)
Sasha Levin
maintainerThe patch below does not apply to the 6.12-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
Thanks,
Sasha
------------------ original commit in Linus's tree ------------------
From 89f23d42006630dd94c01a8c916f8c648141ad8e Mon Sep 17 00:00:00 2001
From: Thomas Zimmermann <[email protected]>
Date: Fri, 12 Dec 2025 17:00:32 +0100
Subject: [PATCH] drm/tests: shmem: Swap names of export tests
GEM SHMEM has 2 helpers for exporting S/G tables. Swap the names of the rsp. tests, so that each matches the helper it tests.
Signed-off-by Thomas Zimmermann <[email protected]>
Fixes 93032ae634d4 ("drm/test: add a test suite for GEM objects backed by shmem")
Cc <[email protected]> # v6.8+
Reviewed-by Boris Brezillon <[email protected]>
--- drivers/gpu/drm/tests/drm_gem_shmem_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/tests/drm_gem_shmem_test.c +3 -3
@@ -194,7 +194,7 @@ static void drm_gem_shmem_test_vmap(struct kunit *test)* scatter/gather table large enough to accommodate the backing memory * is successfully exported. */ -static void drm_gem_shmem_test_get_pages_sgt (struct kunit *test) +static void drm_gem_shmem_test_get_sg_table (struct kunit *test) {struct drm_device *drm_dev = test->priv;struct drm_gem_shmem_object *shmem;
@@ -236,7 +236,7 @@ static void drm_gem_shmem_test_get_pages_sgt(struct kunit *test)* backing pages are pinned and a scatter/gather table large enough to * accommodate the backing memory is successfully exported. */ -static void drm_gem_shmem_test_get_sg_table (struct kunit *test) +static void drm_gem_shmem_test_get_pages_sgt (struct kunit *test) {struct drm_device *drm_dev = test->priv;struct drm_gem_shmem_object *shmem;
@@ -366,8 +366,8 @@ static struct kunit_case drm_gem_shmem_test_cases[] = {KUNIT_CASE (drm_gem_shmem_test_obj_create_private),KUNIT_CASE (drm_gem_shmem_test_pin_pages),KUNIT_CASE (drm_gem_shmem_test_vmap), -KUNIT_CASE (drm_gem_shmem_test_get_pages_sgt),KUNIT_CASE (drm_gem_shmem_test_get_sg_table), +KUNIT_CASE (drm_gem_shmem_test_get_pages_sgt),KUNIT_CASE (drm_gem_shmem_test_madvise), KUNIT_CASE(drm_gem_shmem_test_purge), {}
Signature · 1 line
2.51.0