Loading drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c +3 −0 Original line number Diff line number Diff line Loading @@ -958,6 +958,9 @@ nvd0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading drivers/gpu/drm/nouveau/core/engine/disp/nve0.c +3 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ nve0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading drivers/gpu/drm/nouveau/core/engine/disp/nvf0.c +3 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ nvf0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading drivers/gpu/drm/nouveau/core/subdev/bios/base.c +5 −1 Original line number Diff line number Diff line Loading @@ -85,11 +85,15 @@ static void nouveau_bios_shadow_pramin(struct nouveau_bios *bios) { struct nouveau_device *device = nv_device(bios); u64 addr = 0; u32 bar0 = 0; int i; if (device->card_type >= NV_50) { u64 addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8; if ( device->card_type < NV_C0 || !(nv_rd32(bios, 0x022500) & 0x00000001)) addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8; if (!addr) { addr = (u64)nv_rd32(bios, 0x001700) << 16; addr += 0xf0000; Loading drivers/gpu/drm/nouveau/core/subdev/devinit/nvc0.c +2 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ nvc0_devinit_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return ret; priv->base.pll_set = nvc0_devinit_pll_set; if (nv_rd32(priv, 0x022500) & 0x00000001) priv->base.post = true; return 0; } Loading Loading
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c +3 −0 Original line number Diff line number Diff line Loading @@ -958,6 +958,9 @@ nvd0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading
drivers/gpu/drm/nouveau/core/engine/disp/nve0.c +3 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ nve0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading
drivers/gpu/drm/nouveau/core/engine/disp/nvf0.c +3 −0 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ nvf0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine, int heads = nv_rd32(parent, 0x022448); int ret; if (nv_rd32(parent, 0x022500) & 0x00000001) return -ENODEV; ret = nouveau_disp_create(parent, engine, oclass, heads, "PDISP", "display", &priv); *pobject = nv_object(priv); Loading
drivers/gpu/drm/nouveau/core/subdev/bios/base.c +5 −1 Original line number Diff line number Diff line Loading @@ -85,11 +85,15 @@ static void nouveau_bios_shadow_pramin(struct nouveau_bios *bios) { struct nouveau_device *device = nv_device(bios); u64 addr = 0; u32 bar0 = 0; int i; if (device->card_type >= NV_50) { u64 addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8; if ( device->card_type < NV_C0 || !(nv_rd32(bios, 0x022500) & 0x00000001)) addr = (u64)(nv_rd32(bios, 0x619f04) & 0xffffff00) << 8; if (!addr) { addr = (u64)nv_rd32(bios, 0x001700) << 16; addr += 0xf0000; Loading
drivers/gpu/drm/nouveau/core/subdev/devinit/nvc0.c +2 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ nvc0_devinit_ctor(struct nouveau_object *parent, struct nouveau_object *engine, return ret; priv->base.pll_set = nvc0_devinit_pll_set; if (nv_rd32(priv, 0x022500) & 0x00000001) priv->base.post = true; return 0; } Loading