2013-03-04 15:01:37 +10:00
|
|
|
#ifndef __NVKM_FB_NV40_H__
|
|
|
|
|
#define __NVKM_FB_NV40_H__
|
|
|
|
|
#include "priv.h"
|
|
|
|
|
|
|
|
|
|
struct nv40_ram {
|
2015-01-14 14:52:58 +10:00
|
|
|
struct nvkm_ram base;
|
2013-03-04 15:01:37 +10:00
|
|
|
u32 ctrl;
|
|
|
|
|
u32 coef;
|
|
|
|
|
};
|
|
|
|
|
|
2015-01-14 14:52:58 +10:00
|
|
|
int nv40_ram_calc(struct nvkm_fb *, u32);
|
|
|
|
|
int nv40_ram_prog(struct nvkm_fb *);
|
|
|
|
|
void nv40_ram_tidy(struct nvkm_fb *);
|
2013-03-04 15:01:37 +10:00
|
|
|
#endif
|