diff options
author | Dave Airlie <airlied@redhat.com> | 2013-07-04 04:57:58 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-05 00:44:17 (GMT) |
commit | c9fdda2a2b7a8875db3eebd89e428aa760afb897 (patch) | |
tree | e890d31801cd801538fda0ed94625e3ba0b9a40a /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | 2bd6ce84e1b4799be1f328a165d0b8a4fdfd2141 (diff) | |
download | linux-fsl-qoriq-c9fdda2a2b7a8875db3eebd89e428aa760afb897.tar.xz |
qxl: prepare memslot code for suspend/resume
this splits out initing the hw memslots from the guest info, and
creates an entrypoint for s/r to use.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.h')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_drv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.h b/drivers/gpu/drm/qxl/qxl_drv.h index 6a92925..056330e 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.h +++ b/drivers/gpu/drm/qxl/qxl_drv.h @@ -331,6 +331,8 @@ void qxl_modeset_fini(struct qxl_device *qdev); int qxl_bo_init(struct qxl_device *qdev); void qxl_bo_fini(struct qxl_device *qdev); +void qxl_reinit_memslots(struct qxl_device *qdev); + struct qxl_ring *qxl_ring_create(struct qxl_ring_header *header, int element_size, int n_elements, |