summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2005-01-27Fixed multiple devices DMA bug. Fixed PCI path FIRE command detectionThomas Hellstrom
2005-01-27fix incorrect PCI id for ATI radeonDave Airlie
2005-01-26(Stephane Marchesin,me) Add radeon framebuffer tiling support to radeonRoland Scheidegger
2005-01-26replace magic number with macro constant RADEON_ZBLOCK16Roland Scheidegger
2005-01-24use libdrm after it was updatedDave Airlie
2005-01-24hopefully fix drm_core setversion ioctl... pointed out by Eric on ircDave Airlie
2005-01-22Add drm.h to the install target.Adam Jackson
2005-01-20Removed one bogus Savage3D PCI ID. Corrected another one. RestoredFelix Kuehling
2005-01-20Add a Savage3D PCI IDAdam Jackson
2005-01-20Corrected some confusion of vb_stride and vtx_sizeFelix Kuehling
2005-01-19Fix cut & paste problemAlan Hourihane
2005-01-19Fix a cut & paste problemAlan Hourihane
2005-01-17Some code commenting concerning the FIFO & DMA engine.Jose Fonseca
2005-01-17Add detection of whether the device is AGP by walking the capabilitiesEric Anholt
2005-01-17Add xf86drm.h to the install target.Adam Jackson
2005-01-16Shared libdrm work:Adam Jackson
2005-01-16remove duplicate drm_sysfs.oDave Airlie
2005-01-16This table is in radeon_drv.h along with the version number so remove itDave Airlie
2005-01-16The patch makes drmAddBufs/drmMapBufs can handle buffers in video memoryDave Airlie
2005-01-16Fixed a bug that prevented the driver from ever emitting triangle strips orFelix Kuehling
2005-01-15Setup MTRRs for frame buffer and aperture manually on Savage3D andFelix Kuehling
2005-01-13due to backways compat crap for IRQ_HANDLED etc.. this wouldn't build onDave Airlie
2005-01-12Use virt_to_page instead of vmalloc_to_page in drm_do_vm_shm_nopage forFelix Kuehling
2005-01-11Import Thomas' changes upto 2.4.3 to shared. Small tweak to install target.Keith Whitwell
2005-01-11import Thomas' shared-core via changes up to 2.4.1Keith Whitwell
2005-01-10Only try to find the agp_buffer_map if dma_type is AGP. This is all that'sFelix Kuehling
2005-01-09Improved workaround for Savage3D DMA lockup to emit NOPs only before theFelix Kuehling
2005-01-09Adjust 4 level page check for <= 2.6.10Jon Smirl
2005-01-08Fixed off-by-one error in savage_bci_wait_fifo_shadow.Felix Kuehling
2005-01-07via updates: moved the verifier state struct to dev_priv. Implemented AGPThomas Hellstrom
2005-01-07Updated via DRM with check for stray FIRE commands primitive list.Thomas Hellstrom
2005-01-06Add i915GM support Add resume functionality (must be used with later DDX)Alan Hourihane
2005-01-06Adjust drm-memory for 4 level page tables in 2.6.10 ifdef'd to use 3 levelsJon Smirl
2005-01-06via DRM: Updated the verifier to check the vertex lists more thorough. ThisThomas Hellstrom
2005-01-053D scissor regs are now managed by the DRM to iterate over clip rectsFelix Kuehling
2005-01-05Bumped driver date and minor version.Thomas Hellstrom
2005-01-05VIA update:Thomas Hellstrom
2005-01-05Fixed the DMA buffer age test. Should fix occasional "soft" lockups. BumpedFelix Kuehling
2005-01-01Completeley rewritten Savage DRM which can be considered secure (moduloFelix Kuehling
2005-01-01Added a new DRM map type _DRM_CONSISTENT for consistent PCI memory. It usesFelix Kuehling
2005-01-01i810/i830 bug with Jon's file operations changesDave Airlie
2004-12-31VIA DRM: verifier: Added verbose palette error reporting, and support forThomas Hellstrom
2004-12-31VIA DRM: Stability enhancements and cleanups in via_dma.c Added explicitThomas Hellstrom
2004-12-21via DRM: Tightened the security for some functions of theThomas Hellstrom
2004-12-20Copy HC_ParaType_Auto change to shared-core. Bump version numbers andKeith Whitwell
2004-12-20Add a very simple install target. I expect there are more correct ways toKeith Whitwell
2004-12-19via changes: Fixed typecasting bug in via_dma.c, and possible short-circuitThomas Hellstrom
2004-12-17Add the 'Auto' pageflipping command to the verifier. I don't think anyKeith Whitwell
2004-12-16drm_pciids.h should only 'cleaned' when the shared/ directory exists. WhichAlan Hourihane
2004-12-15Use SYSCTL_ADD_OID macro instead of calling function directly.Eric Anholt
n class="hl kwc">nullptr; return c; } } else { char* endptr; unsigned idx = strtoul(name.c_str(), &endptr, 10); if (*endptr == 0) { if (idx >= connectors.size()) return nullptr; Connector* c = connectors[idx]; if (contains(reserved, c)) return nullptr; return c; } } for (Connector* conn : connectors) { if (to_lower(conn->fullname()).find(to_lower(name)) == string::npos) continue; if (contains(reserved, conn)) continue; return conn; } return nullptr; } Connector* ResourceManager::reserve_connector(const string& name) { Connector* conn; if (name.empty()) conn = find_connector(m_card, m_reserved_connectors); else conn = resolve_connector(m_card, name, m_reserved_connectors); if (!conn) return nullptr; m_reserved_connectors.push_back(conn); return conn; } Connector* ResourceManager::reserve_connector(Connector* conn) { if (!conn) return nullptr; if (contains(m_reserved_connectors, conn)) return nullptr; m_reserved_connectors.push_back(conn); return conn; } Crtc* ResourceManager::reserve_crtc(Connector* conn) { if (!conn) return nullptr; if (Crtc* crtc = conn->get_current_crtc()) { m_reserved_crtcs.push_back(crtc); return crtc; } for (Crtc* crtc : conn->get_possible_crtcs()) { if (contains(m_reserved_crtcs, crtc)) continue; m_reserved_crtcs.push_back(crtc); return crtc; } return nullptr; } Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat format) { if (!crtc) return nullptr; for (Plane* plane : crtc->get_possible_planes()) { if (plane->plane_type() != type) continue; if (format != PixelFormat::Undefined && !plane->supports_format(format)) continue; if (contains(m_reserved_planes, plane)) continue; m_reserved_planes.push_back(plane); return plane; } return nullptr; } Plane* ResourceManager::reserve_generic_plane(Crtc* crtc, PixelFormat format) { if (!crtc) return nullptr; for (Plane* plane : crtc->get_possible_planes()) { if (plane->plane_type() == PlaneType::Cursor) continue; if (format != PixelFormat::Undefined && !plane->supports_format(format)) continue; if (contains(m_reserved_planes, plane)) continue; m_reserved_planes.push_back(plane); return plane; } return nullptr; } Plane* ResourceManager::reserve_primary_plane(Crtc* crtc, PixelFormat format) { return reserve_plane(crtc, PlaneType::Primary, format); } Plane* ResourceManager::reserve_overlay_plane(Crtc* crtc, PixelFormat format) { return reserve_plane(crtc, PlaneType::Overlay, format); }