Re: [PATCH] drm/qxl: fix usage of ttm_bo_init

2020-09-29 Thread Gerd Hoffmann
On Tue, Sep 29, 2020 at 01:23:06PM +0200, Christian König wrote: > We need to use ttm_bo_init_reserved here to make sure > that the BO is pinned before it becomes visible on the LRU. > > Signed-off-by: Christian König Reviewed-by: Gerd Hoffmann # Tested-by: Gerd Hoffmann #

Re: [PATCH] drm/qxl: fix usage of ttm_bo_init

2020-09-29 Thread Daniel Vetter
On Tue, Sep 29, 2020 at 01:23:06PM +0200, Christian König wrote: > We need to use ttm_bo_init_reserved here to make sure > that the BO is pinned before it becomes visible on the LRU. > > Signed-off-by: Christian König Reviewed-by: Daniel Vetter But maybe let Gerd test this first before

[PATCH] drm/qxl: fix usage of ttm_bo_init

2020-09-29 Thread Christian König
We need to use ttm_bo_init_reserved here to make sure that the BO is pinned before it becomes visible on the LRU. Signed-off-by: Christian König --- drivers/gpu/drm/qxl/qxl_object.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_object.c