Commit Graph

1195 Commits (c6161eff86b250f3113791edcc162dc97322c401)

Author SHA1 Message Date
Jon Smirl 74f063fc9d Create new linux-2.6 build. Move all gpl files into the 2.6 build. If you
edit files for 2.6 be sure and break the link to the 2.4 directory and
    copy the cvs history.
2004-09-24 03:12:17 +00:00
Jon Smirl 36a257cfe9 Remove 2.6 code that allow DRM major device number to be shared. We can add
it back later if needed. Checked DRM on both 2.4 and
2.6 to ensure that it builds and runs.
2004-09-23 17:22:27 +00:00
Jon Smirl 55c5e24089 Add new sysfs support files 2004-09-23 05:40:05 +00:00
Jon Smirl c158a36c4c 1) switches from class_sysfs to drm sysfs implementation to allow
customization
2) compiles again on 2.4, but doesn't work
2004-09-23 05:39:15 +00:00
Felix Kuehling af326f6f0c Create permanent maps of framebuffer, aperture and MMIO registers. Added
chipset-type information in driver data field of Savage PCI-IDs. Added
    missing PCI-ID 0x8d03 (ProSavageDDR on Pentium boards). Don't require
    AGP.
2004-09-22 22:51:18 +00:00
Jon Smirl 27fc998f7d Remove hotplug reset support from DRM driver. This will be handled by the
VGA driver when it gets written.
2004-09-22 19:13:02 +00:00
Eric Anholt 184a503685 Add *.flags to cvsignore. 2004-09-22 16:45:44 +00:00
Jon Smirl 2ad068005a Make DRM permanent maps match broken X behavior. X is mapping regions that
are both smaller and larger than what the hardware supports. If DRM
    tries to fix these requests X will fail.
2004-09-21 05:13:21 +00:00
Jon Smirl 6f31c42fe9 Remove size restriction on permanent addmap 2004-09-20 19:23:27 +00:00
Jon Smirl 59cc1d8256 Felix's fix for map request smaller than permanent map size 2004-09-20 17:09:26 +00:00
Dave Airlie 5654880eee remove HAVE_COUNTERS 2004-09-20 11:29:16 +00:00
Dave Airlie fa75a81c9a another fix after the macro stuff 2004-09-20 10:45:53 +00:00
Jon Smirl c15b1d15ff Fix from: Nishanth Aravamudan replace direct assignment with
__set_current_state()
2004-09-18 16:44:43 +00:00
Jon Smirl 993a75a5d1 Makefile and missing file to build libxf86drm.a 2004-09-17 20:01:59 +00:00
Jon Smirl f10f882101 Add the two GPL licensed I2C support files. 2004-09-17 04:25:19 +00:00
Jon Smirl 0c6fb0fbe1 Add linux sysfs i2c support to radeon driver. This patch adds GPL licensed
files to the linux build but not to the BSD directories.
2004-09-17 04:02:28 +00:00
Jon Smirl c7c9d3ef7b Let's try adding the dyn-minor patch again. This patch will reuse minor
numbers if a card is hotplugged in/out instead of just having them
    increase.
2004-09-16 18:42:03 +00:00
Jon Smirl 5dfd89ae0a Fix drm_scatter to properly report it's availability 2004-09-16 14:32:17 +00:00
Jon Smirl eeb0ef1a70 Back dyn-minor patch out for now. fops handling is broken on some cards 2004-09-15 17:44:30 +00:00
Jon Smirl 941d2cf431 Don't use module_param if it isn't defined in older kernels. 2004-09-15 16:06:50 +00:00
Jon Smirl 64ef12c55c Dynamic device minor support. Minor device numbers will be reused if the
device is hotplugged in/out of the system
2004-09-15 00:20:21 +00:00
Jon Smirl 03c2e674e4 Add chip family names to the radeon driver 2004-09-14 03:59:25 +00:00
Jon Smirl 13cb3f1b00 Fix error path in probe() to release resources if there is an error. 2004-09-12 19:24:08 +00:00
Jon Smirl 15407efd46 Make the comment match the code 2004-09-12 03:30:30 +00:00
Jon Smirl 36050cc958 Fix DRM to compile cleanly with recent kernel changes in PCI IO and
DRM_COPY_FROM_USER. PCI IO changes in 2.6.9-rc1 bk currently.
2004-09-12 03:23:50 +00:00
Jon Smirl e6d468ad7f More general patch to mark resources in use by all DRM drivers. Makes the
code Linux specific.
2004-09-10 16:44:28 +00:00
Jose Fonseca 1fb27632c3 Update doxygen configuration file. Minor documentation updates/fixes. 2004-09-08 20:57:39 +00:00
Jon Smirl 3bf785c912 Adjust permanent mapping code to account for more than one framebuffer map 2004-09-08 01:49:06 +00:00
Thomas Hellstrom b0c73b7fcb Added IOCTL for writing 2D DMA command buffers over PCI. Bumped minor
version number.
2004-09-07 16:48:44 +00:00
Dave Airlie c33f4449fc missed fix as part of last checkin 2004-09-05 23:33:57 +00:00
Dave Airlie eeae6a0a38 merge back bunch of whitespace and misc changes from kernel 2004-09-05 10:54:59 +00:00
Dave Airlie f96e00595d bad code copy for alpha.. fix the member names 2004-09-05 10:10:34 +00:00
Dave Airlie 3dcbc1f4a1 make the AMD64 check a compat thing 2004-09-05 02:36:48 +00:00
Dave Airlie 4499ea42ea Fixup OS_HAS_AGP/OS_HAS_MTRR along lines of patches going to kernel, as
suggested by Arjan..
Signed-off-by: Dave Airlie <airlied@linux.ie>
2004-09-04 23:21:40 +00:00
Dave Airlie 3d9e16aa6e doh.. that makes no sense.. thinko in removal of OS_HAS_AGP 2004-09-04 13:15:40 +00:00
Dave Airlie 8825579f1c file drm_core.h was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie fba81d4482 file drm_agpsupport.c was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie 0c955c00c7 file drm_core_memory.h was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie be11d2b185 file drm_headers.h was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie 91be7bd6de file drm_memory.c was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie b13574a0f3 file drm_memory_debug.c was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie 02ab8dd7f7 file drm_proc.c was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie 9ed4e7854b file drmcore_exports.c was initially added on branch drmlib-0-0-1-branch. 2004-09-03 14:54:53 +00:00
Dave Airlie 838bb7af71 oops called ctor instead of dtor.. found this on the kernel merge 2004-09-02 12:33:03 +00:00
Jon Smirl a070d15b53 Fix ref count problem in stealth mode. pci_get_subsys() with last parameter
set does the pci_dev_put for you.
2004-09-02 04:11:27 +00:00
Dave Airlie 244b3e6c7c Apply patch from Bryan Stine bugzilla #1227 2004-08-31 05:02:23 +00:00
Dave Airlie da6b448497 implement drm_core_check_feature and use it .. looks lots nicer 2004-08-30 11:34:51 +00:00
Dave Airlie 7809efc8c3 drm-memory patch, cleans up alloc/free and makes calloc look more libc like 2004-08-30 09:01:50 +00:00
Erdi Chen 08de6e5b04 Fix copy_from_user return value ignored warning at via_dma.c:168. 2004-08-30 04:58:24 +00:00
Dave Airlie 0844f3e9f3 add context include so fn are defined 2004-08-29 12:39:17 +00:00