File Index
Files and directories
Sign in
FILE

nv50.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/nv50.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NVKM_FB_NV50_H__
 3#define __NVKM_FB_NV50_H__
 4#define nv50_fb(p) container_of((p), struct nv50_fb, base)
 5#include "priv.h"
 6
 7struct nv50_fb {
 8	const struct nv50_fb_func *func;
 9	struct nvkm_fb base;
10};
11
12struct nv50_fb_func {
13	int (*ram_new)(struct nvkm_fb *, struct nvkm_ram **);
14	u32 (*tags)(struct nvkm_fb *);
15	u32 trap;
16};
17
18int nv50_fb_new_(const struct nv50_fb_func *, struct nvkm_device *, enum nvkm_subdev_type, int,
19		 struct nvkm_fb **pfb);
20#endif
~/ Read-only file preview.