qxl: allow creation of pre-pinned objects and use for releases.
commit4f49ec92be64ad1d96cf5d26fc8276f9849202a3
authorDave Airlie <airlied@redhat.com>
Tue, 23 Jul 2013 04:06:07 +0000 (23 14:06 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Jul 2013 01:58:10 +0000 (24 11:58 +1000)
treee295739f2bfaf65a1b88447383d7316c9f3d7af2
parent0665f9f852b4ac05f2f62046a169f0f5b9212317
qxl: allow creation of pre-pinned objects and use for releases.

In order to fix an issue with reservations we need to create the releases
as pre-pinned objects, this changes the placement interface and bo creation
interface to allow creating pinned objects to save nested reservations later.

This is just a stepping stone to main fix which follows to actually fix how
qxl deals with reservations.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_cmd.c
drivers/gpu/drm/qxl/qxl_gem.c
drivers/gpu/drm/qxl/qxl_ioctl.c
drivers/gpu/drm/qxl/qxl_object.c
drivers/gpu/drm/qxl/qxl_object.h
drivers/gpu/drm/qxl/qxl_release.c
drivers/gpu/drm/qxl/qxl_ttm.c