summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h
blob: 92bfc3b9bb6dcaa89463f2c2d2338a87275606ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __NVKM_FB_NV50_H__
#define __NVKM_FB_NV50_H__
#include "priv.h"

struct nv50_fb {
	struct nvkm_fb base;
	struct page *r100c08_page;
	dma_addr_t r100c08;
};

int  nv50_fb_ctor(struct nvkm_object *, struct nvkm_object *,
		  struct nvkm_oclass *, void *, u32,
		  struct nvkm_object **);
void nv50_fb_dtor(struct nvkm_object *);
int  nv50_fb_init(struct nvkm_object *);

struct nv50_fb_impl {
	struct nvkm_fb_impl base;
	u32 trap;
};

extern int nv50_fb_memtype[0x80];
#endif