Home
last modified time | relevance | path

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

12

/linux-2.6.39/Documentation/x86/
Dmtrr.txt27 The CONFIG_MTRR option creates a /proc/mtrr file which may be used
34 There are two interfaces to /proc/mtrr: one is an ASCII interface
43 % cat /proc/mtrr
48 # echo "base=0xf8000000 size=0x400000 type=write-combining" >! /proc/mtrr
50 # echo "base=0xf8000000 size=0x400000 type=write-combining" >| /proc/mtrr
53 % cat /proc/mtrr
76 in other words the X server will manipulate /proc/mtrr using the
82 %echo "base=0xfb000000 size=0x1000000 type=write-combining" >/proc/mtrr
83 %echo "base=0xfb000000 size=0x1000 type=uncachable" >/proc/mtrr
85 And the results: cat /proc/mtrr
[all …]
D00-INDEX3 mtrr.txt
Dpat.txt121 Over time writes to /proc/mtrr will be deprecated in favor of using PAT based
122 interfaces. Users writing to /proc/mtrr are suggested to use above interfaces.
/linux-2.6.39/drivers/gpu/drm/savage/
Dsavage_bci.c571 dev_priv->mtrr[0].handle = -1; in savage_driver_firstopen()
572 dev_priv->mtrr[1].handle = -1; in savage_driver_firstopen()
573 dev_priv->mtrr[2].handle = -1; in savage_driver_firstopen()
585 dev_priv->mtrr[0].base = fb_base; in savage_driver_firstopen()
586 dev_priv->mtrr[0].size = 0x01000000; in savage_driver_firstopen()
587 dev_priv->mtrr[0].handle = in savage_driver_firstopen()
588 drm_mtrr_add(dev_priv->mtrr[0].base, in savage_driver_firstopen()
589 dev_priv->mtrr[0].size, DRM_MTRR_WC); in savage_driver_firstopen()
590 dev_priv->mtrr[1].base = fb_base + 0x02000000; in savage_driver_firstopen()
591 dev_priv->mtrr[1].size = 0x02000000; in savage_driver_firstopen()
[all …]
/linux-2.6.39/drivers/video/
Dvesafb.c50 static int mtrr __read_mostly; /* disable mtrr */
217 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup()
219 mtrr=0; in vesafb_setup()
402 if (mtrr) { in vesafb_probe()
406 switch (mtrr) { in vesafb_probe()
440 switch (mtrr) { in vesafb_probe()
Dvt8623fb.c104 static int mtrr = 1; variable
117 module_param(mtrr, int, 0444);
118 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
782 if (mtrr) { in vt8623_pci_probe()
Duvesafb.c46 static int mtrr __devinitdata = 3; /* enable mtrr by default */
1529 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr()
1533 switch (mtrr) { in uvesafb_init_mtrr()
1571 switch (mtrr) { in uvesafb_ioremap()
1889 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
1891 mtrr = 0; in uvesafb_setup()
2028 module_param(mtrr, uint, 0);
2029 MODULE_PARM_DESC(mtrr,
Ds3fb.c146 static int mtrr __devinitdata = 1;
162 module_param(mtrr, int, 0444);
163 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
1154 if (mtrr) { in s3_pci_probe()
1328 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
Darkfb.c106 static int mtrr = 1; variable
119 module_param(mtrr, int, 0444);
120 MODULE_PARM_DESC(mtrr, "Enable write-combining with MTRR (1=enable, 0=disable, default=1)");
1061 if (mtrr) { in ark_pci_probe()
/linux-2.6.39/Documentation/fb/
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
91 the old one. In this example, use "mtrr:2".
93 mtrr: type mismatch for e0000000,8000000 old: write-back new: write-combining
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".
/linux-2.6.39/drivers/staging/xgifb/
DXGIfb.h76 unsigned long mtrr; member
/linux-2.6.39/drivers/video/riva/
Drivafb.h65 struct { int vram; int vram_valid; } mtrr; member
/linux-2.6.39/arch/x86/include/asm/
DKbuild14 header-y += mtrr.h
/linux-2.6.39/drivers/gpu/drm/
Ddrm_ioctl.c186 map->mtrr = r_list->map->mtrr; in drm_getmap()
Ddrm_info.c102 if (map->mtrr < 0) in drm_vm_info()
105 seq_printf(m, "%4d\n", map->mtrr); in drm_vm_info()
Ddrm_ioc32.c185 int mtrr; /**< MTRR slot used */ member
215 || __get_user(m32.mtrr, &map->mtrr)) in compat_drm_getmap()
251 || __get_user(m32.mtrr, &map->mtrr) in compat_drm_addmap()
Ddrm_bufs.c173 map->mtrr = -1; in drm_addmap_core()
211 map->mtrr = mtrr_add(map->offset, map->size, in drm_addmap_core()
278 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core()
452 if (drm_core_has_MTRR(dev) && map->mtrr >= 0) { in drm_rmmap_locked()
454 retcode = mtrr_del(map->mtrr, map->offset, map->size); in drm_rmmap_locked()
/linux-2.6.39/arch/x86/kernel/cpu/
DMakefile32 obj-$(CONFIG_MTRR) += mtrr/
/linux-2.6.39/include/video/
Dneomagic.h164 int mtrr; member
/linux-2.6.39/drivers/video/aty/
Daty128fb.c356 static bool mtrr = true; variable
410 struct { int vram; int vram_valid; } mtrr; member
1664 mtrr = 0; in aty128fb_setup()
2112 if (mtrr) { in aty128_probe()
2113 par->mtrr.vram = mtrr_add(info->fix.smem_start, in aty128_probe()
2115 par->mtrr.vram_valid = 1; in aty128_probe()
2154 if (par->mtrr.vram_valid) in aty128_remove()
2155 mtrr_del(par->mtrr.vram, info->fix.smem_start, in aty128_remove()
2567 module_param_named(nomtrr, mtrr, invbool, 0);
/linux-2.6.39/drivers/video/nvidia/
Dnv_type.h155 } mtrr; member
/linux-2.6.39/drivers/video/matrox/
Dmatroxfb_base.c375 if (minfo->mtrr.vram_valid) in matroxfb_remove()
376 mtrr_del(minfo->mtrr.vram, minfo->video.base, minfo->video.len); in matroxfb_remove()
1261 static int mtrr = 1; /* "matroxfb:nomtrr" */ variable
1739 if (mtrr) { in initMatrox2()
1740 minfo->mtrr.vram = mtrr_add(video_base_phys, minfo->video.len, MTRR_TYPE_WRCOMB, 1); in initMatrox2()
1741 minfo->mtrr.vram_valid = 1; in initMatrox2()
2413 mtrr = value; in matroxfb_setup()
2484 module_param(mtrr, int, 0);
2485 MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");

12