HomeSort by: relevance | last modified time | path
    Searched refs:agp (Results 1 - 25 of 45) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/
nouveau_nvkm_subdev_pci_agp.c 27 #include "agp.h"
43 /* SiS 761 does not support AGP cards, use PCI mode */
51 if (pci->agp.acquired) {
52 agp_backend_release(pci->agp.bridge);
53 pci->agp.acquired = false;
57 /* Ensure AGP controller is in a consistent state in case we need to
68 * enabled in the AGP bridge and we disable the card's AGP
71 if ((mode | pci->agp.mode) & PCI_AGP_COMMAND_FW) {
72 mode = pci->agp.mode & ~PCI_AGP_COMMAND_FW
    [all...]
nouveau_nvkm_subdev_pci_base.c 30 #include "agp.h"
98 if (pci->agp.bridge)
108 if (pci->agp.bridge)
189 if (pci->agp.bridge) {
  /src/sys/external/bsd/drm2/drm/
drm_agp_hook.c 142 struct drm_agp_head *agp; local in function:drm_agp_init
146 agp = hooks->agph_init(dev);
147 if (agp == NULL)
150 agp->hooks = hooks;
152 return agp;
159 if (dev->agp == NULL)
161 dev->agp->hooks->agph_clear(dev);
162 drm_agp_hooks_release(dev->agp->hooks);
163 kfree(dev->agp);
164 dev->agp = NULL
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_agpsupport.c 5 * DRM support for AGP/GART backend
43 #include <asm/agp.h>
54 * Get AGP information.
62 * Verifies the AGP device has been initialized and acquired and fills in the
69 if (!dev->agp || !dev->agp->acquired)
72 kern = &dev->agp->agp_info;
113 * Acquire the AGP device.
115 * \param dev DRM device that is to acquire AGP.
118 * Verifies the AGP device hasn't been acquired before and call
    [all...]
drm_memory.c 56 # include <asm/agp.h>
81 list_for_each_entry(agpmem, &dev->agp->memory, head)
86 if (&agpmem->head == &dev->agp->memory)
90 * OK, we're mapping AGP space on a chipset/platform on which memory accesses by
137 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
146 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
158 if (dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP
    [all...]
drm_pci.c 209 dev->agp = drm_agp_init(dev);
210 if (dev->agp) {
211 dev->agp->agp_mtrr = arch_phys_wc_add(
212 dev->agp->agp_info.aper_base,
213 dev->agp->agp_info.aper_size *
221 if (dev->agp) {
222 arch_phys_wc_del(dev->agp->agp_mtrr);
224 kfree(dev->agp);
225 dev->agp = NULL;
drm_vm.c 111 * \c fault method for AGP virtual memory.
117 * Find the right map and if it's AGP memory find the real physical page to
133 if (!dev->agp)
136 if (!dev->agp || !dev->agp->cant_use_aperture)
163 * It's AGP memory - find the real physical page to map
165 list_for_each_entry(agpmem, &dev->agp->memory, head) {
171 if (&agpmem->head == &dev->agp->memory)
374 /** AGP virtual memory operations */
551 * the AGP mapped at physical address
    [all...]
drm_bufs.c 280 if (!dev->agp) {
288 * added the AGP base itself, because dev->agp->base previously
289 * only got set during AGP enable. So, only add the base
294 if (map->offset < dev->agp->base ||
295 map->offset > dev->agp->base +
296 dev->agp->agp_info.aki_info.ai_aperture_size - 1) {
297 map->offset += dev->agp->base;
300 if (map->offset < dev->agp->base ||
301 map->offset > dev->agp->base
    [all...]
  /src/sys/external/bsd/drm/dist/bsd-core/
drm_agpsupport.c 32 * Support code for tying the kernel AGP support to DRM drivers and
33 * the DRM's AGP ioctls.
40 #include <dev/agp/agpreg.h>
47 /* Returns 1 if AGP or 0 if not. */
56 /* Code taken from agp.c. IWBNI that was a public interface. */
96 /* device_is_agp returns a tristate, 0 = not AGP, 1 = definitely
97 * AGP, 2 = fall back to PCI capability
116 if (!dev->agp || !dev->agp->acquired)
119 kern = &dev->agp->info
    [all...]
drm_drv.c 62 MODULE_DEPEND(drm, agp, 1, 1, 1);
539 /* Clear AGP information */
540 if (dev->agp) {
544 /* Remove AGP resources, but leave dev->agp intact until
547 for (entry = dev->agp->memory; entry; entry = nexte) {
554 dev->agp->memory = NULL;
556 if (dev->agp->acquired)
559 dev->agp->acquired = 0;
560 dev->agp->enabled = 0
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/via/
via_verifier.h 55 int agp; member in struct:__anonc9d94a0e0208
60 struct drm_device *dev, int agp);
via_mm.c 52 drm_via_agp_t *agp = data; local in function:via_agp_init
56 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> VIA_MM_ALIGN_SHIFT);
59 dev_priv->agp_offset = agp->offset;
62 DRM_DEBUG("offset = %u, size = %u\n", agp->offset, agp->size);
  /src/sys/external/bsd/drm/dist/shared-core/
sis_mm.c 50 set_t *sets[2]; /* 0 for video, 1 for AGP */
222 /* agp memory management */
227 drm_sis_agp_t *agp = data; local in function:sis_ioctl_agp_init
240 dev_priv->AGPHeap = mmInit(agp->offset, agp->size);
242 DRM_DEBUG("offset = %u, size = %u", agp->offset, agp->size);
250 drm_sis_mem_t *agp = data; local in function:sis_ioctl_agp_alloc
257 block = mmAllocMem(dev_priv->AGPHeap, agp->size, 0, 0);
260 agp->offset = block->ofs
282 drm_sis_mem_t *agp = data; local in function:sis_ioctl_agp_free
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_ttm.c 252 if (pci && pci->agp.bridge) {
253 drm->agp.bridge = pci->agp.bridge;
254 drm->agp.base = pci->agp.base;
255 drm->agp.size = pci->agp.size;
256 drm->agp.cma = pci->agp.cma;
296 if (!drm->agp.bridge)
    [all...]
nouveau_chan.c 208 if (chan->drm->agp.bridge) {
211 args.start = chan->drm->agp.base;
212 args.limit = chan->drm->agp.base +
213 chan->drm->agp.size - 1;
409 if (chan->drm->agp.bridge) {
412 args.start = chan->drm->agp.base;
413 args.limit = chan->drm->agp.base +
414 chan->drm->agp.size - 1;
489 /* hack until fencenv50 is fixed, and agp access relaxed */
  /src/sys/external/bsd/drm2/pci/
drm_pci.c 69 /* Ensure the drm agp hooks are initialized. */
125 /* Set up AGP stuff if requested. */
128 dev->agp = drm_agp_init(dev);
129 if (dev->agp)
130 dev->agp->agp_mtrr = arch_phys_wc_add(dev->agp->base,
131 dev->agp->agp_info.aki_info.ai_aperture_size);
142 /* Tear down AGP stuff if necessary. */
143 if (dev->agp) {
144 arch_phys_wc_del(dev->agp->agp_mtrr)
    [all...]
  /src/sys/external/bsd/drm2/ttm/
ttm_agp_backend.c 50 struct agp_softc *agp; member in struct:ttm_agp
64 ttm_agp->agp = &bridge->abd_sc;
102 struct agp_softc *const sc = ttm_agp->agp;
138 struct agp_softc *const sc = ttm_agp->agp;
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_agp.c 103 /* ASRock K7VT4A+ AGP 8x / ATI Radeon 9250 AGP Needs AGPMode 4 (lp #133192) */
148 /* Acquire AGP. */
151 DRM_ERROR("Unable to acquire AGP: %d\n", ret);
158 DRM_ERROR("Unable to get AGP info: %d\n", ret);
162 if (rdev->ddev->agp->agp_info.aki_info.ai_aperture_size >> 20 < 32) {
164 dev_warn(rdev->dev, "AGP aperture too small (%zuM) "
165 "need at least 32M, disabling AGP\n",
166 rdev->ddev->agp->agp_info.aki_info.ai_aperture_size >> 20);
171 /* chips with the agp to pcie bridge don't have the AGP_STATUS registe
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
pci.h 33 } agp; member in struct:nvkm_pci
  /src/sys/external/bsd/drm2/dist/drm/sis/
sis_mm.c 213 drm_sis_agp_t *agp = data; local in function:sis_ioctl_agp_init
217 drm_mm_init(&dev_priv->agp_mm, 0, agp->size >> SIS_MM_ALIGN_SHIFT);
220 dev_priv->agp_offset = agp->offset;
223 DRM_DEBUG("offset = %lu, size = %lu\n", agp->offset, agp->size);
  /src/sys/external/bsd/drm2/dist/include/drm/ttm/
ttm_set_memory.h 78 #include <asm/agp.h>
  /src/sys/external/bsd/drm2/dist/drm/ttm/
ttm_agp_backend.c 48 #include <asm/agp.h>
85 pr_err("AGP Bind memory failed\n");
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_device.h 274 /** @agp: AGP data */
275 struct drm_agp_head *agp; member in struct:drm_device
  /src/sys/external/bsd/drm2/dist/drm/mga/
mga_dma.c 401 * same PCI ID as the AGP G450, but have an additional PCI-to-PCI
411 && dev->agp) {
414 arch_phys_wc_del(dev->agp->agp_mtrr);
415 kfree(dev->agp);
416 dev->agp = NULL;
444 * Bootstrap the driver for AGP DMA.
448 * AGP memory. If not, the microcode may as well always be put in PCI
453 * in the hardware. Looking just at the Linux AGP driver code, I don't see
475 /* Acquire AGP. */
478 DRM_ERROR("Unable to acquire AGP: %d\n", err)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i810/
i810_dma.c 370 dev_priv->ring.map.offset = dev->agp->base + init->ring_start;
727 unsigned long start = address - dev->agp->base;
1046 unsigned long start = address - dev->agp->base;
1205 dev->agp = drm_agp_init(dev);
1206 if (dev->agp) {
1207 dev->agp->agp_mtrr = arch_phys_wc_add(
1208 dev->agp->agp_info.aper_base,
1209 dev->agp->agp_info.aper_size *
1213 /* Our userspace depends upon the agp mapping support. */
1214 if (!dev->agp)
    [all...]

Completed in 25 milliseconds

1 2