]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/ttm/tests: Remove checks from ttm_pool_free_no_dma_alloc
authorMaarten Lankhorst <dev@lankhorst.se>
Thu, 9 Apr 2026 14:26:59 +0000 (16:26 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Apr 2026 20:54:49 +0000 (06:54 +1000)
commit9fb0106249ca3e01d60c15d4f5592cd58a9164b0
tree63fd1054ffbf0e01027fcdca17f0ce671b9fb405
parent3b053cd71598f7769f41b4f01f4540aab2e77b93
drm/ttm/tests: Remove checks from ttm_pool_free_no_dma_alloc

On !x86, the pool type is never initialised, and the pages are freed
back to the system.

The test broke on the list_lru rewrite, but I'm not sure how that it was
supposed to work previously. In the meantime CI is broken so reverting
for now.

Fixes: 444e2a19d7fd ("ttm/pool: port to list_lru. (v2)")
Cc: Christian Koenig <christian.koenig@amd.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patch.msgid.link/20260409142658.1511941-2-dev@lankhorst.se
drivers/gpu/drm/ttm/tests/ttm_pool_test.c