Home
last modified time | relevance | path

Searched refs:mtrr (Results 1 – 44 of 44) sorted by relevance

/linux-4.4.14/Documentation/x86/
Dmtrr.txt51 The CONFIG_MTRR option creates a /proc/mtrr file which may be used
58 There are two interfaces to /proc/mtrr: one is an ASCII interface
67 % cat /proc/mtrr
72 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
74 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
77 % cat /proc/mtrr
100 in other words the X server will manipulate /proc/mtrr using the
106 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr
107 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr
109 And the results: cat /proc/mtrr
[all …]
D00-INDEX13 mtrr.txt
Dpat.txt159 Over time writes to /proc/mtrr will be deprecated in favor of using PAT based
160 interfaces. Users writing to /proc/mtrr are suggested to use above interfaces.
/linux-4.4.14/arch/x86/mm/
Dpgtable.c586 u8 mtrr, uniform; in pud_set_huge() local
588 mtrr = mtrr_type_lookup(addr, addr + PUD_SIZE, &uniform); in pud_set_huge()
589 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pud_set_huge()
590 (mtrr != MTRR_TYPE_WRBACK)) in pud_set_huge()
611 u8 mtrr, uniform; in pmd_set_huge() local
613 mtrr = mtrr_type_lookup(addr, addr + PMD_SIZE, &uniform); in pmd_set_huge()
614 if ((mtrr != MTRR_TYPE_INVALID) && (!uniform) && in pmd_set_huge()
615 (mtrr != MTRR_TYPE_WRBACK)) { in pmd_set_huge()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c100 arch_phys_wc_del(pci->agp.mtrr); in nvkm_agp_dtor()
136 pci->agp.mtrr = -1; in nvkm_agp_ctor()
173 pci->agp.mtrr = arch_phys_wc_add(pci->agp.base, pci->agp.size); in nvkm_agp_ctor()
/linux-4.4.14/drivers/video/fbdev/
Dvesafb.c54 static int mtrr __read_mostly; /* disable mtrr */
224 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup()
226 mtrr=0; in vesafb_setup()
415 if (mtrr == 3) { in vesafb_probe()
431 if (mtrr && mtrr != 3) in vesafb_probe()
Duvesafb.c43 static int mtrr = 3; /* enable mtrr by default */ variable
1535 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr()
1850 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
1852 mtrr = 0; in uvesafb_setup()
1879 if (mtrr != 3 && mtrr != 0) in uvesafb_setup()
1880 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup()
1992 module_param(mtrr, uint, 0);
1993 MODULE_PARM_DESC(mtrr,
Dvt8623fb.c98 static int mtrr = 1; variable
108 module_param(mtrr, int, 0444);
109 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
774 if (mtrr) in vt8623_pci_probe()
Di740fb.c33 static int mtrr = 1; variable
1138 if (mtrr) in i740fb_probe()
1272 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup()
1309 module_param(mtrr, int, 0444);
1310 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
Ds3fb.c153 static int mtrr = 1; variable
165 module_param(mtrr, int, 0444);
166 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
1357 if (mtrr) in s3_pci_probe()
1534 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_info.c104 if (map->mtrr < 0) in drm_vm_info()
107 seq_printf(m, "%4d\n", map->mtrr); in drm_vm_info()
Ddrm_ioc32.c189 int mtrr; /**< MTRR slot used */ member
219 || __get_user(m32.mtrr, &map->mtrr)) in compat_drm_getmap()
255 || __get_user(m32.mtrr, &map->mtrr) in compat_drm_addmap()
Ddrm_bufs.c174 map->mtrr = -1; in drm_addmap_core()
208 map->mtrr = in drm_addmap_core()
278 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core()
414 map->mtrr = -1; in drm_legacy_addmap_ioctl()
457 arch_phys_wc_del(map->mtrr); in drm_legacy_rmmap_locked()
Ddrm_ioctl.c197 map->mtrr = arch_phys_wc_index(r_list->map->mtrr); in drm_getmap()
Ddrm_vm.c259 arch_phys_wc_del(map->mtrr); in drm_vm_shm_close()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpci.h16 int mtrr; member
/linux-4.4.14/Documentation/fb/
Dintel810.txt136 k. "mtrr"
185 vsync1:50,vsync2:85,accel,mtrr"
204 Example, to enable MTRR, include "mtrr=1".
212 vsync2=85 accel=1 mtrr=1
217 vsync2=85 accel=1 mtrr=1
Dvesafb.txt147 mtrr:n setup memory type range registers for the vesafb framebuffer
156 old one. In this example, use "mtrr:2".
158 mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
161 nomtrr disable mtrr
Dintelfb.txt65 g. "mtrr"
114 Example, to enable MTRR, include "mtrr=1".
Duvesafb.txt53 video=uvesafb:1024x768-32,mtrr:3,ywrap (compiled into the kernel)
55 # modprobe uvesafb mode_option=1024x768-32 mtrr=3 scroll=ywrap (module)
82 mtrr:n Setup memory type range registers for the framebuffer
Dmatroxfb.txt173 mtrr - enables write combining on frame buffer. It speeds up video accesses
/linux-4.4.14/arch/x86/kvm/
DMakefile15 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
/linux-4.4.14/drivers/staging/xgifb/
DXGIfb.h70 int mtrr; member
DXGI_main_26.c1789 xgifb_info->mtrr = -1; in xgifb_probe()
2014 xgifb_info->mtrr = arch_phys_wc_add(xgifb_info->video_base, in xgifb_probe()
2027 arch_phys_wc_del(xgifb_info->mtrr); in xgifb_probe()
2051 arch_phys_wc_del(xgifb_info->mtrr); in xgifb_remove()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c407 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init()
439 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini()
440 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
Dnouveau_drm.h133 int mtrr; member
/linux-4.4.14/arch/x86/kernel/cpu/
DMakefile56 obj-$(CONFIG_MTRR) += mtrr/
/linux-4.4.14/include/drm/
Ddrm_legacy.h138 int mtrr; /**< MTRR slot used */ member
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750.h86 } mtrr; member
Dsm750.c1031 sm750_dev->mtrr.vram = 0; in lynxfb_pci_probe()
1062 sm750_dev->mtrr.vram = arch_phys_wc_add(sm750_dev->vidmem_start, in lynxfb_pci_probe()
1161 arch_phys_wc_del(sm750_dev->mtrr.vram); in lynxfb_pci_remove()
/linux-4.4.14/arch/x86/include/uapi/asm/
DKbuild32 header-y += mtrr.h
/linux-4.4.14/Documentation/DocBook/
D.kernel-api.xml.cmd2 …ge.c kernel/dma.c kernel/resource.c kernel/resource.c arch/x86/kernel/cpu/mtrr/main.c drivers/pci/…
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfbdrv.c232 static bool mtrr = 1; variable
250 module_param(mtrr, bool, S_IRUGO);
251 MODULE_PARM_DESC(mtrr, "Enable MTRR support");
359 else if (get_opt_bool(this_opt, "mtrr", &mtrr)) in intelfb_setup()
743 if (mtrr) in intelfb_pci_register()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_dma.c991 dev_priv->gtt.mtrr = arch_phys_wc_add(dev_priv->gtt.mappable_base, in i915_driver_load()
1112 arch_phys_wc_del(dev_priv->gtt.mtrr); in i915_driver_load()
1153 arch_phys_wc_del(dev_priv->gtt.mtrr); in i915_driver_unload()
Di915_gem_gtt.h358 int mtrr; member
/linux-4.4.14/drivers/video/fbdev/i810/
Di810_main.c139 static bool mtrr; variable
1820 if (mtrr) in i810_init_device()
1969 mtrr = 1; in i810fb_setup()
2193 module_param(mtrr, bool, 0);
2194 MODULE_PARM_DESC(mtrr, "Use MTRR (default = 0)");
/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1252 static int mtrr = 1; /* "matroxfb:nomtrr" */ variable
1769 if (mtrr) in initMatrox2()
2437 mtrr = value; in matroxfb_setup()
2506 module_param(mtrr, int, 0);
2507 MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");
/linux-4.4.14/include/uapi/drm/
Ddrm.h218 int mtrr; /**< MTRR slot used */ member
/linux-4.4.14/drivers/video/fbdev/aty/
Daty128fb.c398 static bool mtrr = true; variable
1720 mtrr = 0; in aty128fb_setup()
2162 if (mtrr) in aty128_probe()
2607 module_param_named(nomtrr, mtrr, invbool, 0);
/linux-4.4.14/drivers/gpu/drm/i810/
Di810_dma.c307 buf_priv->map.mtrr = 0; in i810_freelist_init()
364 dev_priv->ring.map.mtrr = 0; in i810_dma_initialize()
/linux-4.4.14/drivers/gpu/drm/via/
Dvia_dma.c201 dev_priv->ring.map.mtrr = 0; in via_initialize()
/linux-4.4.14/arch/x86/
DKconfig1564 /proc/mtrr file which may be used to manipulate your processor's
1586 See <file:Documentation/x86/mtrr.txt> for more information.
1597 The largest mtrr entry size for a continuous block can be set with
1608 Enable mtrr cleanup default value
1616 mtrr cleanup spare entries default, it can be changed via
/linux-4.4.14/Documentation/
Dkernel-parameters.txt2217 used for mtrr cleanup. It is largest continuous chunk
2221 Used for mtrr cleanup. It is granularity of mtrr block.
2230 Used for mtrr cleanup. It is spare mtrr entries number.
/linux-4.4.14/
DCREDITS1276 D: /proc/mtrr support to manipulate MTRRs on Intel P6 family