The bulk SPDX addition made all these files into GPL-2.0 licensed files.
However the remainder of the project is MIT-licensed, these files
(primarily header files) were simply missing the boiler plate and got
caught up in the global update.
Fixes: b24413180f
(License cleanup: add SPDX GPL-2.0 license identifier to files with no license)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
22 lines
529 B
C
22 lines
529 B
C
/* SPDX-License-Identifier: MIT */
|
|
#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 (*tags)(struct nvkm_fb *);
|
|
u32 trap;
|
|
};
|
|
|
|
int nv50_fb_new_(const struct nv50_fb_func *, struct nvkm_device *, int index,
|
|
struct nvkm_fb **pfb);
|
|
#endif
|