diff options
author | Dave Airlie <airlied@redhat.com> | 2013-07-04 04:58:45 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-07-05 00:44:17 (GMT) |
commit | 1e209117dbe00d3d87db1c5266f177eaa60451c8 (patch) | |
tree | 4e7e856989cf2c2c0b17bd6717c9be68024e5cc2 /drivers/gpu/drm/qxl/qxl_drv.h | |
parent | c9fdda2a2b7a8875db3eebd89e428aa760afb897 (diff) | |
download | linux-fsl-qoriq-1e209117dbe00d3d87db1c5266f177eaa60451c8.tar.xz |
qxl: add ring prep code for s/r
This prepare the ring code for s/r additions, the release ring will need
reinitialising.
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 056330e..aec9f1f 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.h +++ b/drivers/gpu/drm/qxl/qxl_drv.h @@ -340,6 +340,8 @@ struct qxl_ring *qxl_ring_create(struct qxl_ring_header *header, bool set_prod_notify, wait_queue_head_t *push_event); void qxl_ring_free(struct qxl_ring *ring); +void qxl_ring_init_hdr(struct qxl_ring *ring); +int qxl_check_idle(struct qxl_ring *ring); static inline void * qxl_fb_virtual_address(struct qxl_device *qdev, unsigned long physical) |