[PATCH] drm/xe: Drop force_alloc from xe_bo_evict in selftests
Taylor, Clinton A
clinton.a.taylor at intel.com
Mon Apr 28 02:07:31 UTC 2025
looks good to me.
Reviewed-by: Clint Taylor <Clinton.A.Taylor at intel.com>
-Clint
On Sun, 2025-04-27 at 18:33 -0700, Matthew Brost wrote:
> The force_alloc flag was removed from TTM / Xe but updating the
> selftests to new function interfaces was missed. Remove argument from
> xe_bo_evict in selftests.
>
> Fixes: 55df7c0c62c1 ("drm/ttm/xe: drop unused force_alloc flag")
> Signed-off-by: Matthew Brost <matthew.brost at intel.com>
> ---
> drivers/gpu/drm/xe/tests/xe_bo.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/tests/xe_bo.c
> b/drivers/gpu/drm/xe/tests/xe_bo.c
> index 230eb824550f..378dcd0fb414 100644
> --- a/drivers/gpu/drm/xe/tests/xe_bo.c
> +++ b/drivers/gpu/drm/xe/tests/xe_bo.c
> @@ -60,7 +60,7 @@ static int ccs_test_migrate(struct xe_tile *tile,
> struct xe_bo *bo,
> }
>
> /* Evict to system. CCS data should be copied. */
> - ret = xe_bo_evict(bo, true);
> + ret = xe_bo_evict(bo);
> if (ret) {
> KUNIT_FAIL(test, "Failed to evict bo.\n");
> return ret;
More information about the Intel-xe
mailing list