586c55f6ad
Adds an extra layer of indirection to each register access, but it's not too bad, and will also go away as pieces are ported. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
11 lines
291 B
C
11 lines
291 B
C
#ifndef __NOUVEAU_COMPAT_H__
|
|
#define __NOUVEAU_COMPAT_H__
|
|
|
|
u8 _nv_rd08(struct drm_device *, u32);
|
|
void _nv_wr08(struct drm_device *, u32, u8);
|
|
u32 _nv_rd32(struct drm_device *, u32);
|
|
void _nv_wr32(struct drm_device *, u32, u32);
|
|
u32 _nv_mask(struct drm_device *, u32, u32, u32);
|
|
|
|
#endif
|