Home
last modified time | relevance | path

Searched refs:ramcfg (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
A Dnv05.c53 u8 strap, ramcfg[2]; in nv05_devinit_meminit() local
65 ramcfg[0] = nvbios_rd08(bios, data + 2 * strap + 0); in nv05_devinit_meminit()
66 ramcfg[1] = nvbios_rd08(bios, data + 2 * strap + 1); in nv05_devinit_meminit()
68 ramcfg[0] = default_config_tab[strap][0]; in nv05_devinit_meminit()
69 ramcfg[1] = default_config_tab[strap][1]; in nv05_devinit_meminit()
89 nvkm_mask(device, NV04_PFB_BOOT_0, 0x3f, ramcfg[0]); in nv05_devinit_meminit()
91 if (ramcfg[1] & 0x80) in nv05_devinit_meminit()
94 nvkm_mask(device, NV04_PFB_CFG1, 0x700001, (ramcfg[1] & 1) << 20); in nv05_devinit_meminit()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
A Dramgf100.c140 } rammap, ramcfg, timing; in gf100_ram_calc() local
148 &cnt, &ramcfg.size, &cfg); in gf100_ram_calc()
161 ramcfg.data = rammap.data + rammap.size + (strap * ramcfg.size); in gf100_ram_calc()
162 if (!ramcfg.data || ver != 0x10 || ramcfg.size < 0x0e) { in gf100_ram_calc()
168 strap = nvbios_rd08(bios, ramcfg.data + 0x01); in gf100_ram_calc()
A Dbase.c74 const u8 ramcfg = (nvkm_rd32(device, 0x101000) & 0x0000003c) >> 2; in nvkm_fb_bios_memtype() local
78 if (nvbios_M0203Em(bios, ramcfg, &ver, &hdr, &M0203E)) { in nvkm_fb_bios_memtype()
A Dramgk104.c1271 gk104_ram_train_type(struct nvkm_ram *ram, int i, u8 ramcfg, in gk104_ram_train_type() argument
1300 if (!(data = nvbios_M0205Sp(bios, i, ramcfg, &ver, &hdr, &M0205S))) in gk104_ram_train_type()
1370 u8 ramcfg = nvbios_ramcfg_index(&ram->fb->subdev); in gk104_ram_train_init() local
1378 ret = gk104_ram_train_type(ram, i, ramcfg, train); in gk104_ram_train_init()
1439 gk104_ram_ctor_data(struct gk104_ram *ram, u8 ramcfg, int i) in gk104_ram_ctor_data() argument
1462 data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, ramcfg, in gk104_ram_ctor_data()
1530 u8 ramcfg = nvbios_ramcfg_index(subdev); in gk104_ram_new_() local
1574 ret = gk104_ram_ctor_data(ram, ramcfg, i); in gk104_ram_new_()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A DM0203.c103 nvbios_M0203Em(struct nvkm_bios *bios, u8 ramcfg, u8 *ver, u8 *hdr, in nvbios_M0203Em() argument
119 if (info->strap != ramcfg) in nvbios_M0203Em()
A DKbuild24 nvkm-y += nvkm/subdev/bios/ramcfg.o
A Dinit.c455 if (!init->ramcfg || init->subdev->device->bios->version.major < 0x70) in init_ram_restrict()
456 init->ramcfg = 0x80000000 | nvbios_ramcfg_index(init->subdev); in init_ram_restrict()
457 return (init->ramcfg & 0x7fffffff); in init_ram_restrict()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
A Dinit.h19 u32 ramcfg; member
A DM0203.h31 u32 nvbios_M0203Em(struct nvkm_bios *, u8 ramcfg, u8 *ver, u8 *hdr,
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dr600.c1992 u32 ramcfg; in r600_gpu_init() local
2087 ramcfg = RREG32(RAMCFG); in r600_gpu_init()
2105 rdev->config.r600.tiling_nbanks = 4 << ((ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT); in r600_gpu_init()
2106 tiling_config |= BANK_TILING((ramcfg & NOOFBANK_MASK) >> NOOFBANK_SHIFT); in r600_gpu_init()
2107 tiling_config |= GROUP_SIZE((ramcfg & BURSTLENGTH_MASK) >> BURSTLENGTH_SHIFT); in r600_gpu_init()
2109 tmp = (ramcfg & NOOFROWS_MASK) >> NOOFROWS_SHIFT; in r600_gpu_init()

Completed in 28 milliseconds