Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ff51f82 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/fb/gp100: initial support



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 0cbe26f0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ int gk104_fb_new(struct nvkm_device *, int, struct nvkm_fb **);
int gk20a_fb_new(struct nvkm_device *, int, struct nvkm_fb **);
int gm107_fb_new(struct nvkm_device *, int, struct nvkm_fb **);
int gm200_fb_new(struct nvkm_device *, int, struct nvkm_fb **);
int gp100_fb_new(struct nvkm_device *, int, struct nvkm_fb **);

#include <subdev/bios.h>
#include <subdev/bios/ramcfg.h>
+1 −0
Original line number Diff line number Diff line
@@ -2153,6 +2153,7 @@ nv130_chipset = {
	.name = "GP100",
	.bios = nvkm_bios_new,
	.devinit = gm200_devinit_new,
	.fb = gp100_fb_new,
	.imem = nv50_instmem_new,
	.mc = gp100_mc_new,
	.pci = gp100_pci_new,
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ nvkm-y += nvkm/subdev/fb/gk104.o
nvkm-y += nvkm/subdev/fb/gk20a.o
nvkm-y += nvkm/subdev/fb/gm107.o
nvkm-y += nvkm/subdev/fb/gm200.o
nvkm-y += nvkm/subdev/fb/gp100.o

nvkm-y += nvkm/subdev/fb/ram.o
nvkm-y += nvkm/subdev/fb/ramnv04.o
@@ -41,6 +42,7 @@ nvkm-y += nvkm/subdev/fb/rammcp77.o
nvkm-y += nvkm/subdev/fb/ramgf100.o
nvkm-y += nvkm/subdev/fb/ramgk104.o
nvkm-y += nvkm/subdev/fb/ramgm107.o
nvkm-y += nvkm/subdev/fb/ramgp100.o
nvkm-y += nvkm/subdev/fb/sddr2.o
nvkm-y += nvkm/subdev/fb/sddr3.o
nvkm-y += nvkm/subdev/fb/gddr3.o
+2 −0
Original line number Diff line number Diff line
@@ -137,6 +137,8 @@ nvkm_fb_init(struct nvkm_subdev *subdev)
		fb->func->init(fb);
	if (fb->func->init_page)
		fb->func->init_page(fb);
	if (fb->func->init_unkn)
		fb->func->init_unkn(fb);
	return 0;
}

+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@

#include <core/memory.h>

static void
void
gm200_fb_init_page(struct nvkm_fb *fb)
{
	struct nvkm_device *device = fb->subdev.device;
Loading