diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h')
| -rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h new file mode 100644 index 000000000000..581f808527f2 --- /dev/null +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef __NVKM_FB_NV40_H__ | ||
| 2 | #define __NVKM_FB_NV40_H__ | ||
| 3 | |||
| 4 | #include "priv.h" | ||
| 5 | |||
| 6 | struct nv40_ram { | ||
| 7 | struct nouveau_ram base; | ||
| 8 | u32 ctrl; | ||
| 9 | u32 coef; | ||
| 10 | }; | ||
| 11 | |||
| 12 | |||
| 13 | int nv40_ram_calc(struct nouveau_fb *, u32); | ||
| 14 | int nv40_ram_prog(struct nouveau_fb *); | ||
| 15 | void nv40_ram_tidy(struct nouveau_fb *); | ||
| 16 | |||
| 17 | #endif | ||
