Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3be7988674ab33565700a37b210f502563d932e6 authored by Linus Torvalds on 19 September 2016, 00:27:41 UTC
Linux 4.8-rc7
Tip revision: 3be7988
nv50.h
#ifndef __NVKM_FB_NV50_H__
#define __NVKM_FB_NV50_H__
#define nv50_fb(p) container_of((p), struct nv50_fb, base)
#include "priv.h"

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

struct nv50_fb_func {
	int (*ram_new)(struct nvkm_fb *, struct nvkm_ram **);
	u32 trap;
};

int nv50_fb_new_(const struct nv50_fb_func *, struct nvkm_device *, int index,
		 struct nvkm_fb **pfb);
extern int nv50_fb_memtype[0x80];
#endif
back to top