2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/gpu/drm/ttm
Qasim Ijaz 878516a9e6 drm/ttm/tests: fix incorrect assert in ttm_bo_unreserve_bulk()
In the ttm_bo_unreserve_bulk() test function, resv is allocated using
kunit_kzalloc(), but the subsequent assertion mistakenly verifies the
ttm_dev pointer instead of the resv pointer.

Fix the assertion to properly verify the resv pointer.

Signed-off-by: Qasim Ijaz <qasdev00@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250313161424.10688-1-qasdev00@gmail.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
2025-03-14 07:54:39 +01:00
..
tests drm/ttm/tests: fix incorrect assert in ttm_bo_unreserve_bulk() 2025-03-14 07:54:39 +01:00
Makefile drm/ttm: Provide a shmem backup implementation 2025-03-05 17:08:59 +01:00
ttm_agp_backend.c
ttm_backup.c drm/ttm: Provide a shmem backup implementation 2025-03-05 17:08:59 +01:00
ttm_bo_util.c drm/ttm: Add helpers for shrinking 2025-03-05 17:08:59 +01:00
ttm_bo_vm.c UAPI Changes: 2024-12-13 10:19:44 +10:00
ttm_bo.c drm/ttm: test private resv obj on release/destroy 2025-03-06 16:50:13 +01:00
ttm_device.c drm/ttm: Move swapped objects off the manager's LRU list 2024-10-09 13:41:30 +02:00
ttm_execbuf_util.c drm/ttm: merge ttm_bo_api.h and ttm_bo_driver.h v2 2022-12-06 12:54:14 +01:00
ttm_module.c
ttm_module.h
ttm_pool.c drm/ttm: Use fault-injection to test error paths 2025-03-05 17:08:59 +01:00
ttm_range_manager.c drm/ttm: merge ttm_bo_api.h and ttm_bo_driver.h v2 2022-12-06 12:54:14 +01:00
ttm_resource.c drm/ttm: use ttm_resource_unevictable() to replace pin_count and swapped 2025-02-10 13:39:03 +01:00
ttm_sys_manager.c
ttm_tt.c drm/ttm: Add helpers for shrinking 2025-03-05 17:08:59 +01:00