diff options
author | Alon Levy <alevy@redhat.com> | 2012-07-23 11:52:42 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-10-25 12:44:52 +0200 |
commit | d2a1a26a2a75157a72c6f981457d3df401be20a2 (patch) | |
tree | 761708bb563fbee6cffe92cb46ba5876be0865a7 | |
parent | 751fc7daeed292c7ef0f80325938ba925de1d272 (diff) |
qxl: change handles from 64 bits to 32
relocation offsets remain 64 bit, compatible with drm_mode_map_dumb.
-rw-r--r-- | include/drm/qxl_drm.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h index d40db3f7..81585cab 100644 --- a/include/drm/qxl_drm.h +++ b/include/drm/qxl_drm.h @@ -31,24 +31,24 @@ enum { struct drm_qxl_alloc { uint32_t type; uint32_t size; - uint64_t handle; // 0 is an invalid handle + uint32_t handle; // 0 is an invalid handle }; struct drm_qxl_incref { - uint64_t handle; + uint32_t handle; }; struct drm_qxl_decref { - uint64_t handle; + uint32_t handle; }; struct drm_qxl_map { - uint64_t handle; uint64_t offset; // use for mmap system call + uint32_t handle; }; struct drm_qxl_unmap { - uint64_t handle; + uint32_t handle; }; /* @@ -56,10 +56,10 @@ struct drm_qxl_unmap { * dst_offset) */ struct drm_qxl_reloc { - uint64_t src_handle; // 0 if to command buffer uint64_t src_offset; // offset into src_handle or src buffer - uint64_t dst_handle; // dest handle to compute address from uint64_t dst_offset; // offset in dest handle + uint32_t src_handle; // 0 if to command buffer + uint32_t dst_handle; // dest handle to compute address from }; struct drm_qxl_command { |