nouveau: s/inline/INLINE/
This commit is contained in:
parent
65ba566ff1
commit
e02c1e215e
|
@ -14,7 +14,7 @@ struct nouveau_screen {
|
||||||
unsigned index_buffer_flags;
|
unsigned index_buffer_flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline struct nouveau_screen *
|
static INLINE struct nouveau_screen *
|
||||||
nouveau_screen(struct pipe_screen *pscreen)
|
nouveau_screen(struct pipe_screen *pscreen)
|
||||||
{
|
{
|
||||||
return (struct nouveau_screen *)pscreen;
|
return (struct nouveau_screen *)pscreen;
|
||||||
|
@ -67,13 +67,13 @@ void nouveau_screen_fini(struct nouveau_screen *);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static __inline__ unsigned
|
static INLINE unsigned
|
||||||
RING_3D(unsigned mthd, unsigned size)
|
RING_3D(unsigned mthd, unsigned size)
|
||||||
{
|
{
|
||||||
return (7 << 13) | (size << 18) | mthd;
|
return (7 << 13) | (size << 18) | mthd;
|
||||||
}
|
}
|
||||||
|
|
||||||
static __inline__ unsigned
|
static INLINE unsigned
|
||||||
RING_3D_NI(unsigned mthd, unsigned size)
|
RING_3D_NI(unsigned mthd, unsigned size)
|
||||||
{
|
{
|
||||||
return 0x40000000 | (7 << 13) | (size << 18) | mthd;
|
return 0x40000000 | (7 << 13) | (size << 18) | mthd;
|
||||||
|
|
|
@ -103,7 +103,7 @@ struct u_split_prim {
|
||||||
uint edgeflag_off:1;
|
uint edgeflag_off:1;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline void
|
static INLINE void
|
||||||
u_split_prim_init(struct u_split_prim *s,
|
u_split_prim_init(struct u_split_prim *s,
|
||||||
unsigned mode, unsigned start, unsigned count)
|
unsigned mode, unsigned start, unsigned count)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include "nouveau/nouveau_resource.h"
|
#include "nouveau/nouveau_resource.h"
|
||||||
#include "nouveau/nouveau_pushbuf.h"
|
#include "nouveau/nouveau_pushbuf.h"
|
||||||
|
|
||||||
static inline uint32_t
|
static INLINE uint32_t
|
||||||
nouveau_screen_transfer_flags(unsigned pipe)
|
nouveau_screen_transfer_flags(unsigned pipe)
|
||||||
{
|
{
|
||||||
uint32_t flags = 0;
|
uint32_t flags = 0;
|
||||||
|
|
Loading…
Reference in New Issue