Home
last modified time | relevance | path

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

/drivers/video/fbdev/
Dvesafb.c56 static int mtrr __read_mostly; /* disable mtrr */
226 mtrr = simple_strtoul(this_opt+5, NULL, 0); in vesafb_setup()
228 mtrr=0; in vesafb_setup()
417 if (mtrr == 3) { in vesafb_probe()
433 if (mtrr && mtrr != 3) in vesafb_probe()
Duvesafb.c47 static int mtrr = 3; /* enable mtrr by default */ variable
1520 if (mtrr && !(info->fix.smem_start & (PAGE_SIZE - 1))) { in uvesafb_init_mtrr()
1832 mtrr = simple_strtoul(this_opt+5, NULL, 0); in uvesafb_setup()
1834 mtrr = 0; in uvesafb_setup()
1860 if (mtrr != 3 && mtrr != 0) in uvesafb_setup()
1861 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); in uvesafb_setup()
1971 module_param(mtrr, uint, 0);
1972 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.c34 static int mtrr = 1; variable
1144 if (mtrr) in i740fb_probe()
1270 mtrr = simple_strtoul(opt + 5, NULL, 0); in i740fb_setup()
1307 module_param(mtrr, int, 0444);
1308 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()
1527 mtrr = simple_strtoul(opt + 5, NULL, 0); in s3fb_setup()
/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()
/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c338 drm->ttm.mtrr = arch_phys_wc_add(device->func->resource_addr(device, 1), in nouveau_ttm_init()
372 arch_phys_wc_del(drm->ttm.mtrr); in nouveau_ttm_fini()
373 drm->ttm.mtrr = 0; in nouveau_ttm_fini()
Dnouveau_drv.h168 int mtrr; member
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpci.h23 int mtrr; member
/drivers/gpu/drm/
Ddrm_ioc32.c174 int mtrr; /* MTRR slot used */ member
198 m32.mtrr = map.mtrr; in compat_drm_getmap()
227 m32.mtrr = map.mtrr; in compat_drm_addmap()
Ddrm_bufs.c188 map->mtrr = -1; in drm_addmap_core()
222 map->mtrr = in drm_addmap_core()
292 map->mtrr = dev->agp->agp_mtrr; /* for getmap */ in drm_addmap_core()
444 map->mtrr = -1; in drm_legacy_addmap_ioctl()
498 map->mtrr = arch_phys_wc_index(r_list->map->mtrr); in drm_legacy_getmap_ioctl()
542 arch_phys_wc_del(map->mtrr); in drm_legacy_rmmap_locked()
Ddrm_vm.c274 arch_phys_wc_del(map->mtrr); in drm_vm_shm_close()
/drivers/staging/sm750fb/
Dsm750.h90 } mtrr; member
Dsm750.c1035 sm750_dev->mtrr.vram = 0; in lynxfb_pci_probe()
1061 sm750_dev->mtrr.vram = arch_phys_wc_add(sm750_dev->vidmem_start, in lynxfb_pci_probe()
1093 arch_phys_wc_del(sm750_dev->mtrr.vram); in lynxfb_pci_remove()
/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()
742 if (mtrr) in intelfb_pci_register()
/drivers/video/fbdev/i810/
Di810_main.c139 static bool mtrr; variable
1820 if (mtrr) in i810_init_device()
1969 mtrr = true; in i810fb_setup()
2193 module_param(mtrr, bool, 0);
2194 MODULE_PARM_DESC(mtrr, "Use MTRR (default = 0)");
/drivers/video/fbdev/matrox/
Dmatroxfb_base.c1253 static int mtrr = 1; /* "matroxfb:nomtrr" */ variable
1783 if (mtrr) in initMatrox2()
2452 mtrr = value; in matroxfb_setup()
2521 module_param(mtrr, int, 0);
2522 MODULE_PARM_DESC(mtrr, "This speeds up video memory accesses (0=disabled or 1) (default=1)");
/drivers/video/fbdev/aty/
Daty128fb.c395 static bool mtrr = true; variable
1695 mtrr = false; in aty128fb_setup()
2136 if (mtrr) in aty128_probe()
2523 module_param_named(nomtrr, mtrr, invbool, 0);
/drivers/gpu/drm/i915/gt/
Dintel_gtt.h314 int mtrr; member
Dintel_ggtt.c64 ggtt->mtrr = arch_phys_wc_add(ggtt->gmadr.start, in ggtt_init_hw()
729 arch_phys_wc_del(ggtt->mtrr); in ggtt_cleanup_hw()
/drivers/gpu/drm/i810/
Di810_dma.c312 buf_priv->map.mtrr = 0; in i810_freelist_init()
369 dev_priv->ring.map.mtrr = 0; in i810_dma_initialize()
/drivers/gpu/drm/via/
Dvia_dma.c208 dev_priv->ring.map.mtrr = 0; in via_initialize()