mirror-linux/drivers/gpu/drm/ttm/tests
Tvrtko Ursulin 77e19f8d32 drm/ttm: Replace multiple booleans with flags in device init
Multiple consecutive boolean function arguments are usually not very
readable.

Replace the ones in ttm_device_init() with flags with the additional
benefit of soon being able to pass in more data with just a one off
code base churning cost.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@kernel.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Sui Jingfeng <suijingfeng@loongson.cn>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Zack Rusin <zack.rusin@broadcom.com>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Zack Rusin <zack.rusin@broadcom.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> # For xe
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20251020115411.36818-4-tvrtko.ursulin@igalia.com
[tursulin: fixup checkpatch while applying]
2025-10-31 09:14:35 +00:00
..
.kunitconfig drm/ttm/tests: Delete unnecessary config option 2024-06-24 16:01:13 +05:30
Makefile drm/ttm/tests: Add tests with mock resource managers 2024-06-24 16:01:17 +05:30
TODO drm/ttm/tests: Add TODO file 2024-06-24 16:01:24 +05:30
ttm_bo_test.c drm/ttm: Replace multiple booleans with flags in device init 2025-10-31 09:14:35 +00:00
ttm_bo_validate_test.c drm/ttm: Replace multiple booleans with flags in device init 2025-10-31 09:14:35 +00:00
ttm_device_test.c drm/ttm: Replace multiple booleans with flags in device init 2025-10-31 09:14:35 +00:00
ttm_kunit_helpers.c drm/ttm: Replace multiple booleans with flags in device init 2025-10-31 09:14:35 +00:00
ttm_kunit_helpers.h drm/ttm: Replace multiple booleans with flags in device init 2025-10-31 09:14:35 +00:00
ttm_mock_manager.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
ttm_mock_manager.h drm/ttm/tests: Add eviction testing 2024-06-24 16:01:21 +05:30
ttm_pool_test.c drm/ttm: Replace multiple booleans with flags in pool init 2025-10-31 09:01:08 +00:00
ttm_resource_test.c drm/ttm: Handle cgroup based eviction in TTM 2025-01-10 09:54:49 +01:00
ttm_tt_test.c drm/ttm/tests: add missing MODULE_DESCRIPTION() macros 2024-06-25 09:53:13 +02:00