nouveau_pushbuf.h revision 7a0d67332f33bc21290d63bc7c8150b0cf0a4b21
/*
* Copyright 2007 Nouveau Project
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy 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,
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice 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
* THE AUTHORS 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.
*/
#ifndef __NOUVEAU_PUSHBUF_H__
#define __NOUVEAU_PUSHBUF_H__
#include <assert.h>
#include <string.h>
#include "nouveau_bo.h"
#include "nouveau_grobj.h"
struct nouveau_pushbuf {
struct nouveau_channel *channel;
unsigned remaining;
};
int
int
/* Push buffer access macros */
static __inline__ void
{
}
static __inline__ void
{
}
static __inline__ void
{
union { uint32_t i; float f; } c;
c.f = f;
}
static __inline__ unsigned
{
}
static __inline__ void
{
}
static __inline__ void
{
}
static __inline__ void
{
}
static __inline__ void
{
assert(0);
}
}
static __inline__ void
{
}
static __inline__ void
{
}
static __inline__ void
{
}
static __inline__ void
unsigned flags)
{
}
/* Low 32-bits of offset */
static __inline__ void
{
}
/* Low 32-bits of offset + GPU linear access range info */
static __inline__ void
{
}
/* High 32-bits of offset */
static __inline__ void
{
}
#endif