Searched refs:agp (Results 1 - 20 of 20) sorted by relevance

/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_agpsupport.c96 if (!dev->agp || !dev->agp->acquired)
99 agpinfo = &dev->agp->agp_info;
121 if (!dev->agp) {
122 DRM_ERROR("drm_agp_acquire : agp isn't initialized yet");
125 ret = ldi_ioctl(dev->agp->agpgart_lh, AGPIOC_ACQUIRE,
131 dev->agp->acquired = 1;
143 if (!dev->agp)
145 if (!dev->agp->acquired)
148 ret = ldi_ioctl(dev->agp
380 drm_agp_head_t *agp = NULL; local
427 drm_agp_head_t *agp = dev->agp; local
[all...]
H A Ddrm_sunmod.h56 #include <sys/agp/agpdefs.h>
57 #include <sys/agp/agpmaster_io.h>
H A Ddrm_drv.c188 dev->agp = drm_agp_init(dev);
189 if (dev->driver->require_agp && dev->agp == NULL) {
266 if (dev->agp) {
271 * Remove AGP resources, but leave dev->agp
274 for (entry = dev->agp->memory; entry; entry = nexte) {
282 dev->agp->memory = NULL;
284 if (dev->agp->acquired)
287 dev->agp->acquired = 0;
288 dev->agp->enabled = 0;
H A Ddrm_pci.c122 if ((map->type == _DRM_AGP) && dev->agp) {
126 * managed by agp gart in kernel space, we have to go
130 * gets invoking to dispose the mapping between agp aperture
132 * memory which is allocated to agp gart to kernel space.
133 * After that, access to physical memory managed by agp gart
134 * hardware in kernel space doesn't go through agp hardware,
139 * direct mapping between kernel space and agp memory. So,
H A Dradeon_cp.c1142 RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base);
1149 dev->agp->base + dev_priv->gart_vm_start;
1171 dev->agp->base + dev_priv->gart_vm_start);
1535 DRM_ERROR("radeon_do_init_cp: failed to find agp "
1592 base = dev->agp->base;
1599 "won't fit\n", dev->agp->base);
1626 dev->agp->base + dev_priv->gart_vm_start);
H A Ddrm_bufs.c184 map->offset += dev->agp->base;
438 agp_offset = dev->agp->base + request->agp_start;
H A Ddrm_sunmod.c590 if (dp->agp == NULL) {
596 aperbase = dp->agp->base;
H A DdrmP.h658 drm_agp_head_t *agp; member in struct:drm_device
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_agpsupport.c58 struct drm_agp_head *agp = dev->agp; local
60 (void) ldi_close(agp->agpgart_lh, FEXCL, kcred);
61 ldi_ident_release(agp->agpgart_li);
80 if (!dev->agp || !dev->agp->acquired)
83 agpinfo = &dev->agp->agp_info;
121 if (!dev->agp)
123 if (dev->agp->acquired)
127 if (ret = ldi_ioctl(dev->agp
[all...]
H A Ddrm_sysfs.c47 #include <sys/agp/agpdefs.h>
48 #include <sys/agp/agpmaster_io.h>
H A Ddrm_drv.c179 if (drm_core_has_AGP(dev) && dev->agp &&
183 /* Remove AGP resources, but leave dev->agp
185 list_for_each_entry_safe(entry, tempe, struct drm_agp_mem, &dev->agp->memory, head) {
190 INIT_LIST_HEAD(&dev->agp->memory);
192 if (dev->agp->acquired)
195 dev->agp->acquired = 0;
196 dev->agp->enabled = 0;
H A Ddrm_stub.c495 if (drm_core_has_AGP(dev) && dev->agp) {
497 kfree(dev->agp, sizeof(*dev->agp));
498 dev->agp = NULL;
H A Ddrm_sun_pci.c47 #include <sys/agp/agpdefs.h>
48 #include <sys/agp/agpmaster_io.h>
H A Ddrm_pci.c55 if ((map->type == _DRM_AGP) && dev->agp) {
59 * managed by agp gart in kernel space, we have to go
63 * gets invoking to dispose the mapping between agp aperture
65 * memory which is allocated to agp gart to kernel space.
66 * After that, access to physical memory managed by agp gart
67 * hardware in kernel space doesn't go through agp hardware,
72 * direct mapping between kernel space and agp memory. So,
H A Ddrm_fops.c72 dev->agp = drm_agp_init(dev);
74 && (dev->agp == NULL)) {
H A Ddrm_bufs.c235 map->offset += dev->agp->base;
568 agp_offset = dev->agp->base + request->agp_start;
H A Ddrm_sunmod.c363 if (dev->agp == NULL) {
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_sunmod.h73 #include <sys/agp/agpdefs.h>
74 #include <sys/agp/agpmaster_io.h>
H A DdrmP.h708 * \sa drm_agp_init() and drm_device::agp.
1172 struct drm_agp_head *agp; /**< AGP data */ member in struct:drm_device
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_dma.c44 #include <sys/agp/agptarget_io.h>
1139 (void) sprintf(name, "/dev/agp/agptarget%d", i);
1627 * So we read the agp base and size here.
1633 dev->agp_aperbase = dev->agp->agp_info.agpi_aperbase;

Completed in 54 milliseconds