summaryrefslogtreecommitdiff
path: root/linux-core
AgeCommit message (Expand)Author
2004-09-30Move things around to reduce public symbols and even out files. Switch toJon Smirl
2004-09-30Make fops per driver instead of global, remove default flush, poll, readJon Smirl
2004-09-28Getting the AGP module is a global resource. Make sure a dual PCI/AGPJon Smirl
2004-09-27core needs three new filesJon Smirl
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl
2004-09-27Flip the 2.4 check so that it looks for 2.6 instead. This will allow buildsJon Smirl
2004-09-24Makefile reminder to build in 2.6 when on 2.6Jon Smirl
2004-09-24Create new linux-2.6 build. Move all gpl files into the 2.6 build. If youJon Smirl
2004-09-23Remove 2.6 code that allow DRM major device number to be shared. We can addJon Smirl
2004-09-23Add new sysfs support filesJon Smirl
2004-09-231) switches from class_sysfs to drm sysfs implementation to allowJon Smirl
2004-09-22Create permanent maps of framebuffer, aperture and MMIO registers. AddedFelix Kuehling
2004-09-22Remove hotplug reset support from DRM driver. This will be handled by theJon Smirl
2004-09-21Make DRM permanent maps match broken X behavior. X is mapping regions thatJon Smirl
2004-09-20Remove size restriction on permanent addmapJon Smirl
2004-09-20Felix's fix for map request smaller than permanent map sizeJon Smirl
2004-09-20remove HAVE_COUNTERSDave Airlie
2004-09-20another fix after the macro stuffDave Airlie
2004-09-18Fix from: Nishanth Aravamudan replace direct assignment withJon Smirl
2004-09-17Add linux sysfs i2c support to radeon driver. This patch adds GPL licensedJon Smirl
2004-09-16Let's try adding the dyn-minor patch again. This patch will reuse minorJon Smirl
2004-09-16Fix drm_scatter to properly report it's availabilityJon Smirl
2004-09-15Back dyn-minor patch out for now. fops handling is broken on some cardsJon Smirl
2004-09-15Don't use module_param if it isn't defined in older kernels.Jon Smirl
2004-09-15Dynamic device minor support. Minor device numbers will be reused if theJon Smirl
2004-09-12Fix error path in probe() to release resources if there is an error.Jon Smirl
2004-09-12Make the comment match the codeJon Smirl
2004-09-12Fix DRM to compile cleanly with recent kernel changes in PCI IO andJon Smirl
2004-09-10More general patch to mark resources in use by all DRM drivers. Makes theJon Smirl
2004-09-08Update doxygen configuration file. Minor documentation updates/fixes.Jose Fonseca
2004-09-08Adjust permanent mapping code to account for more than one framebuffer mapJon Smirl
2004-09-05missed fix as part of last checkinDave Airlie
2004-09-05merge back bunch of whitespace and misc changes from kernelDave Airlie
2004-09-05bad code copy for alpha.. fix the member namesDave Airlie
2004-09-05make the AMD64 check a compat thingDave Airlie
2004-09-04Fixup OS_HAS_AGP/OS_HAS_MTRR along lines of patches going to kernel, asDave Airlie
2004-09-04doh.. that makes no sense.. thinko in removal of OS_HAS_AGPDave Airlie
2004-09-02oops called ctor instead of dtor.. found this on the kernel mergeDave Airlie
2004-09-02Fix ref count problem in stealth mode. pci_get_subsys() with last parameterJon Smirl
2004-08-30implement drm_core_check_feature and use it .. looks lots nicerDave Airlie
2004-08-30drm-memory patch, cleans up alloc/free and makes calloc look more libc likeDave Airlie
2004-08-29add context include so fn are definedDave Airlie
2004-08-29fix up some small things ffb (no idea if it works or not ..)Dave Airlie
2004-08-29remove hacky context thing that was gamma onlyDave Airlie
2004-08-29Drop GAMMA DRM from a great height ...Dave Airlie
2004-08-29fixup issue caused by fntbl-2 mergeDave Airlie
2004-08-28Initialize pdev to NULL correctly so that pci_get_subsys() will work.Jon Smirl
2004-08-27run i915 through lindentDave Airlie
2004-08-27__NO_VERSION__ hasn't been needed since 2.3 days ditch it...Dave Airlie
2004-08-27Make DRM detect vesafb and revert to stealth mode to avoid resourceJon Smirl
pan> bus_space_vaddr(map->bst, map->bsh); #endif } void drm_ioremapfree(drm_local_map_t *map) { #ifdef __FreeBSD__ pmap_unmapdev((vm_offset_t) map->handle, map->size); #elif defined(__NetBSD__) || defined(__OpenBSD__) bus_space_unmap(map->bst, map->bsh, map->size); #endif } #ifdef __FreeBSD__ int drm_mtrr_add(unsigned long offset, size_t size, int flags) { int act; struct mem_range_desc mrdesc; mrdesc.mr_base = offset; mrdesc.mr_len = size; mrdesc.mr_flags = flags; act = MEMRANGE_SET_UPDATE; strlcpy(mrdesc.mr_owner, "drm", sizeof(mrdesc.mr_owner)); return mem_range_attr_set(&mrdesc, &act); } int drm_mtrr_del(int __unused handle, unsigned long offset, size_t size, int flags) { int act; struct mem_range_desc mrdesc; mrdesc.mr_base = offset; mrdesc.mr_len = size; mrdesc.mr_flags = flags; act = MEMRANGE_SET_REMOVE; strlcpy(mrdesc.mr_owner, "drm", sizeof(mrdesc.mr_owner)); return mem_range_attr_set(&mrdesc, &act); } #elif defined(__NetBSD__) || defined(__OpenBSD__) int drm_mtrr_add(unsigned long offset, size_t size, int flags) { struct mtrr mtrrmap; int one = 1; mtrrmap.base = offset; mtrrmap.len = size; mtrrmap.type = flags; mtrrmap.flags = MTRR_VALID; return mtrr_set(&mtrrmap, &one, NULL, MTRR_GETSET_KERNEL); } int drm_mtrr_del(unsigned long offset, size_t size, int flags) { struct mtrr mtrrmap; int one = 1; mtrrmap.base = offset; mtrrmap.len = size; mtrrmap.type = flags; mtrrmap.flags = 0; return mtrr_set(&mtrrmap, &one, NULL, MTRR_GETSET_KERNEL); } #endif