| /linux-4.4.14/Documentation/x86/ |
| D | mtrr.txt | 51 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 …]
|
| D | 00-INDEX | 13 mtrr.txt
|
| D | pat.txt | 159 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/ |
| D | pgtable.c | 586 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/ |
| D | agp.c | 100 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/ |
| D | vesafb.c | 54 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()
|
| D | uvesafb.c | 43 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,
|
| D | vt8623fb.c | 98 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()
|
| D | i740fb.c | 33 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)");
|
| D | s3fb.c | 153 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/ |
| D | drm_info.c | 104 if (map->mtrr < 0) in drm_vm_info() 107 seq_printf(m, "%4d\n", map->mtrr); in drm_vm_info()
|
| D | drm_ioc32.c | 189 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()
|
| D | drm_bufs.c | 174 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()
|
| D | drm_ioctl.c | 197 map->mtrr = arch_phys_wc_index(r_list->map->mtrr); in drm_getmap()
|
| D | drm_vm.c | 259 arch_phys_wc_del(map->mtrr); in drm_vm_shm_close()
|
| /linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| D | pci.h | 16 int mtrr; member
|
| /linux-4.4.14/Documentation/fb/ |
| D | intel810.txt | 136 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
|
| D | vesafb.txt | 147 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
|
| D | intelfb.txt | 65 g. "mtrr" 114 Example, to enable MTRR, include "mtrr=1".
|
| D | uvesafb.txt | 53 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
|
| D | matroxfb.txt | 173 mtrr - enables write combining on frame buffer. It speeds up video accesses
|
| /linux-4.4.14/arch/x86/kvm/ |
| D | Makefile | 15 i8254.o ioapic.o irq_comm.o cpuid.o pmu.o mtrr.o \
|
| /linux-4.4.14/drivers/staging/xgifb/ |
| D | XGIfb.h | 70 int mtrr; member
|
| D | XGI_main_26.c | 1789 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/ |
| D | nouveau_ttm.c | 407 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()
|
| D | nouveau_drm.h | 133 int mtrr; member
|
| /linux-4.4.14/arch/x86/kernel/cpu/ |
| D | Makefile | 56 obj-$(CONFIG_MTRR) += mtrr/
|
| /linux-4.4.14/include/drm/ |
| D | drm_legacy.h | 138 int mtrr; /**< MTRR slot used */ member
|
| /linux-4.4.14/drivers/staging/sm750fb/ |
| D | sm750.h | 86 } mtrr; member
|
| D | sm750.c | 1031 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/ |
| D | Kbuild | 32 header-y += mtrr.h
|
| /linux-4.4.14/Documentation/DocBook/ |
| D | .kernel-api.xml.cmd | 2 …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/ |
| D | intelfbdrv.c | 232 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/ |
| D | i915_dma.c | 991 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()
|
| D | i915_gem_gtt.h | 358 int mtrr; member
|
| /linux-4.4.14/drivers/video/fbdev/i810/ |
| D | i810_main.c | 139 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/ |
| D | matroxfb_base.c | 1252 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/ |
| D | drm.h | 218 int mtrr; /**< MTRR slot used */ member
|
| /linux-4.4.14/drivers/video/fbdev/aty/ |
| D | aty128fb.c | 398 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/ |
| D | i810_dma.c | 307 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/ |
| D | via_dma.c | 201 dev_priv->ring.map.mtrr = 0; in via_initialize()
|
| /linux-4.4.14/arch/x86/ |
| D | Kconfig | 1564 /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/ |
| D | kernel-parameters.txt | 2217 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/ |
| D | CREDITS | 1276 D: /proc/mtrr support to manipulate MTRRs on Intel P6 family
|