From 0d93cd92bd616474da0c842bc4e88f6921da18f1 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 19 May 2017 23:59:35 +1000 Subject: drm/nouveau/disp/nv50-: implement a common supervisor 3.0 This makes use of all the additional routing and state added in previous commits, making it possible to deal with GM20x macro link routing, while also sharing code between the NV50 and GF119 implementations. Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev') diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c index 2095f43..b58ee99 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c @@ -2278,11 +2278,6 @@ nvbios_exec(struct nvbios_init *init) { struct nvkm_bios *bios = init->subdev->device->bios; - if (init->bios) { - init->or = init->outp ? ffs(init->outp->or) - 1 : -1; - init->link = init->outp ? init->outp->sorconf.link : 0; - } - init->nested++; while (init->offset) { u8 opcode = nvbios_rd08(bios, init->offset); -- cgit v1.1