diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2013-03-04 15:01:37 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-11-08 16:04:40 +1000 |
commit | 1b259fc870fab27df8109b4c0c627d3958b3afb3 (patch) | |
tree | 5d3be8ff0aafcae502d9ee12e835c7b2e75cf02e /drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h | |
parent | 2a3980e3356c688af8e75c1015b64515be0a512e (diff) |
drm/nouveau/fb: implement various bits of work towards memory reclocking
Not even remotely ready for the vast majority of the world.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h new file mode 100644 index 000000000000..581f808527f2 --- /dev/null +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv40.h @@ -0,0 +1,17 @@ +#ifndef __NVKM_FB_NV40_H__ +#define __NVKM_FB_NV40_H__ + +#include "priv.h" + +struct nv40_ram { + struct nouveau_ram base; + u32 ctrl; + u32 coef; +}; + + +int nv40_ram_calc(struct nouveau_fb *, u32); +int nv40_ram_prog(struct nouveau_fb *); +void nv40_ram_tidy(struct nouveau_fb *); + +#endif |