vboxvideo_drm.h revision 88425f069284443e3f70472d0b6b0e2cff8e5d2a
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync/** @file $Id$
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync *
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync * VirtualBox Additions Linux kernel driver, DRM support
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync */
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync/*
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Copyright (C) 2006-2007 Sun Microsystems, Inc.
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * available from http://www.virtualbox.org. This file is free software;
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * you can redistribute it and/or modify it under the terms of the GNU
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * General Public License (GPL) as published by the Free Software
681bb0bf6e9ab5a590d8afcdf37634e2fc29f595vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync *
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync * Clara, CA 95054 USA or visit http://www.sun.com if you need
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync * additional information or have any questions.
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync * --------------------------------------------------------------------
a74782eac5771b0de57834e8c8c0247c55e8dd57vboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * This code is based on:
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * tdfx.h -- 3dfx DRM template customization -*- linux-c -*-
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Created: Wed Feb 14 12:32:32 2001 by gareth@valinux.com
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Copyright 2000 VA Linux Systems, Inc., Sunnyvale, California.
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * All Rights Reserved.
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Permission is hereby granted, free of charge, to any person obtaining a
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * copy of this software and associated documentation files (the "Software"),
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * to deal in the Software without restriction, including without limitation
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * and/or sell copies of the Software, and to permit persons to whom the
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync * Software is furnished to do so, subject to the following conditions:
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync *
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync * The above copyright notice and this permission notice (including the next
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync * paragraph) shall be included in all copies or substantial portions of the
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Software.
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync *
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
9019681d4e9b8399b951793a9dd92b63c195e0eevboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1cc3bd5463294790ba54c78fde5313264185e50cvboxsync * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
1cc3bd5463294790ba54c78fde5313264185e50cvboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * OTHER DEALINGS IN THE SOFTWARE.
1cc3bd5463294790ba54c78fde5313264185e50cvboxsync *
681bb0bf6e9ab5a590d8afcdf37634e2fc29f595vboxsync * Authors:
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync * Gareth Hughes <gareth@valinux.com>
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync */
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync#ifndef __VBOXVIDEO_H__
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync#define __VBOXVIDEO_H__
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync/* General customization:
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync */
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync#define DRIVER_AUTHOR "Sun Microsystems Inc."
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define DRIVER_NAME "vboxvideo"
ebb33f3aef3b410579a2865109426b798b9d4a9dvboxsync#define DRIVER_DESC "VirtualBox Graphics Card"
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define DRIVER_DATE "20090303"
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define DRIVER_MAJOR 1
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define DRIVER_MINOR 0
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define DRIVER_PATCHLEVEL 0
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#define vboxvideo_PCI_IDS \
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync {0x80ee, 0xbeef, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, \
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync {0, 0, 0}
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync#endif
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync
1f1c37d7ffc2ad3691d79dab619d2198d2d9671avboxsync