summaryrefslogtreecommitdiff
path: root/bsd-core/via_drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-05 15:21:07 +1000
committerDave Airlie <airlied@redhat.com>2008-06-05 15:21:07 +1000
commitefcf066eff690887ace33c0f1192168a31115805 (patch)
tree541f47ebd3175c52ea53a10f1587c94c007d88fe /bsd-core/via_drm.h
parentf73e54bbf0b97a8f5184ede64d4f263020d623ee (diff)
drm/modesetting: attempt to make fb code more sane
Diffstat (limited to 'bsd-core/via_drm.h')
0 files changed, 0 insertions, 0 deletions
y of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice (including the next * paragraph) shall be included in all copies or substantial portions of the * Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. * * Authors: * Jerome Glisse <glisse@freedesktop.org> */ #ifndef __AMD_H__ #define __AMD_H__ /* struct amd_cbuffer are for command buffer, this is the structure passed * around during command validation (ie check that user have the right to * execute the given command). */ struct amd_cmd_bo { struct list_head list; uint64_t *offsets; uint32_t *cdw_id; struct drm_buffer_object *bo; unsigned int handle; uint64_t mask; uint64_t flags; uint32_t type; }; struct amd_cmd { uint32_t *cdw; uint32_t cdw_count; struct drm_bo_kmap_obj cdw_kmap; size_t cdw_size; struct amd_cmd_bo *cdw_bo; struct amd_cmd_bo bo_unused;