Re: [PATCH v10 3/9] drm/ttm/tests: Test simple BO creation and validation

2024-04-16 Thread Somalapuram, Amaranath
On 3/22/2024 7:59 PM, Karolina Stolarek wrote: Add tests for ttm_bo_init_reserved() and ttm_bo_validate() that use sys manager. Define a simple move function in ttm_device_funcs. Expose destroy callback of the buffer object to make testing of ttm_bo_init_reserved() behaviour easier.

Re: [PATCH v10 3/9] drm/ttm/tests: Test simple BO creation and validation

2024-04-11 Thread Karolina Stolarek
On 10.04.2024 16:01, Matthew Auld wrote: On 22/03/2024 14:29, Karolina Stolarek wrote: +static void ttm_bo_validate_pinned(struct kunit *test) +{ +    enum ttm_bo_type bo_type = ttm_bo_type_device; +    uint32_t size = ALIGN(BO_SIZE, PAGE_SIZE); +    struct ttm_operation_ctx ctx = { }; +   

Re: [PATCH v10 3/9] drm/ttm/tests: Test simple BO creation and validation

2024-04-10 Thread Matthew Auld
On 22/03/2024 14:29, Karolina Stolarek wrote: Add tests for ttm_bo_init_reserved() and ttm_bo_validate() that use sys manager. Define a simple move function in ttm_device_funcs. Expose destroy callback of the buffer object to make testing of ttm_bo_init_reserved() behaviour easier.

[PATCH v10 3/9] drm/ttm/tests: Test simple BO creation and validation

2024-03-22 Thread Karolina Stolarek
Add tests for ttm_bo_init_reserved() and ttm_bo_validate() that use sys manager. Define a simple move function in ttm_device_funcs. Expose destroy callback of the buffer object to make testing of ttm_bo_init_reserved() behaviour easier. Signed-off-by: Karolina Stolarek ---