]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/qxl: fix usage of ttm_bo_init
authorChristian König <christian.koenig@amd.com>
Tue, 29 Sep 2020 11:21:26 +0000 (13:21 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 29 Sep 2020 14:05:52 +0000 (16:05 +0200)
commit369a7210c12775afec57769efbe462f0feda2c60
tree3ef7edd81b74022fdaff3bc5ad6d617378456e9d
parentccc22d41bd9acec58cdc7c3b012e1887aba40af4
drm/qxl: fix usage of ttm_bo_init

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 <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/392561/?series=82199&rev=1
drivers/gpu/drm/qxl/qxl_object.c