mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 07:43:57 -04:00
gm20b's FB has the same capabilities as gm200, minus the ability to allocate RAM. Create a device that reflects this instead of re-using the gk20a device which may be incorrect. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-By: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
24 lines
583 B
C
24 lines
583 B
C
#ifndef __NVKM_RAM_NVC0_H__
|
|
#define __NVKM_RAM_NVC0_H__
|
|
#define gf100_fb(p) container_of((p), struct gf100_fb, base)
|
|
#include "priv.h"
|
|
|
|
struct gf100_fb {
|
|
struct nvkm_fb base;
|
|
struct page *r100c10_page;
|
|
dma_addr_t r100c10;
|
|
};
|
|
|
|
int gf100_fb_new_(const struct nvkm_fb_func *, struct nvkm_device *,
|
|
int index, struct nvkm_fb **);
|
|
void *gf100_fb_dtor(struct nvkm_fb *);
|
|
void gf100_fb_init(struct nvkm_fb *);
|
|
void gf100_fb_intr(struct nvkm_fb *);
|
|
|
|
void gp100_fb_init(struct nvkm_fb *);
|
|
|
|
void gm200_fb_init_page(struct nvkm_fb *fb);
|
|
void gm200_fb_init(struct nvkm_fb *base);
|
|
|
|
#endif
|