summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv40.h
blob: 581f808527f2ef697d682a09567e7c11c817fc81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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