Re: [PATCH 2/5] drm/ttm: fix memcpy move bo size comparison

2020-10-20 Thread Christian König
You can just nuke the whole handling. As far as I can see ttm_bo_move_memcpy() is never used with overlapping memory objects because those are illegal in TTM for other reasons. Christian. Am 20.10.20 um 00:22 schrieb Dave Airlie: From: Dave Airlie start is in page units, so compare with

[PATCH 2/5] drm/ttm: fix memcpy move bo size comparison

2020-10-19 Thread Dave Airlie
From: Dave Airlie start is in page units, so compare with pages. Signed-off-by: Dave Airlie --- drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index