platform/upstream/libdrm.git
19 years agoRemove DRM() macros from core ffb driver. DaveA says he'll make it compile
Jon Smirl [Thu, 30 Sep 2004 21:27:59 +0000 (21:27 +0000)]
Remove DRM() macros from core ffb driver. DaveA says he'll make it compile
    someday.

19 years agoLindent of core build. Drivers checked for no binary diffs. A few files
Jon Smirl [Thu, 30 Sep 2004 21:12:10 +0000 (21:12 +0000)]
Lindent of core build. Drivers checked for no binary diffs. A few files
    weren't Lindent's because their comments didn't convert very well. A
    bunch of other minor clean up with no code implact included.

19 years agosavage.h not used in core builds
Jon Smirl [Thu, 30 Sep 2004 21:06:53 +0000 (21:06 +0000)]
savage.h not used in core builds

19 years agocore ffb.h is not used anymore
Jon Smirl [Thu, 30 Sep 2004 20:46:59 +0000 (20:46 +0000)]
core ffb.h is not used anymore

19 years agoRemove unused drm_module.h
Jon Smirl [Thu, 30 Sep 2004 20:25:13 +0000 (20:25 +0000)]
Remove unused drm_module.h

19 years agoMove things around to reduce public symbols and even out files. Switch to
Jon Smirl [Thu, 30 Sep 2004 19:26:35 +0000 (19:26 +0000)]
Move things around to reduce public symbols and even out files. Switch to
    get_order from drm_order.

19 years agoMake fops per driver instead of global, remove default flush, poll, read
Jon Smirl [Thu, 30 Sep 2004 18:13:33 +0000 (18:13 +0000)]
Make fops per driver instead of global, remove default flush, poll, read
    functions

19 years agoGetting the AGP module is a global resource. Make sure a dual PCI/AGP
Jon Smirl [Tue, 28 Sep 2004 22:25:06 +0000 (22:25 +0000)]
Getting the AGP module is a global resource. Make sure a dual PCI/AGP
    driver doesn't release it on unload since an AGP driver may also be
    loaded.

19 years agoFix the shared directory I accidentally stomped on
Jon Smirl [Mon, 27 Sep 2004 20:14:31 +0000 (20:14 +0000)]
Fix the shared directory I accidentally stomped on

19 years agocore needs three new files
Jon Smirl [Mon, 27 Sep 2004 19:53:51 +0000 (19:53 +0000)]
core needs three new files

19 years agoFirst check in for DRM that splits core from personality modules
Jon Smirl [Mon, 27 Sep 2004 19:51:38 +0000 (19:51 +0000)]
First check in for DRM that splits core from personality modules

19 years agoFlip the 2.4 check so that it looks for 2.6 instead. This will allow builds
Jon Smirl [Mon, 27 Sep 2004 15:42:48 +0000 (15:42 +0000)]
Flip the 2.4 check so that it looks for 2.6 instead. This will allow builds
    where we can't determine the version through.

19 years agoREADME with hints on how to make a 2.6 specific version of a 2.4/2.6 shared
Jon Smirl [Fri, 24 Sep 2004 04:31:25 +0000 (04:31 +0000)]
README with hints on how to make a 2.6 specific version of a 2.4/2.6 shared
    file

19 years agoMakefile reminder to build in 2.6 when on 2.6
Jon Smirl [Fri, 24 Sep 2004 04:21:21 +0000 (04:21 +0000)]
Makefile reminder to build in 2.6 when on 2.6

19 years agoCreate new linux-2.6 build. Move all gpl files into the 2.6 build. If you
Jon Smirl [Fri, 24 Sep 2004 03:12:17 +0000 (03:12 +0000)]
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.

19 years agoRemove 2.6 code that allow DRM major device number to be shared. We can add
Jon Smirl [Thu, 23 Sep 2004 17:22:27 +0000 (17:22 +0000)]
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.

19 years agoAdd new sysfs support files
Jon Smirl [Thu, 23 Sep 2004 05:40:05 +0000 (05:40 +0000)]
Add new sysfs support files

19 years ago1) switches from class_sysfs to drm sysfs implementation to allow
Jon Smirl [Thu, 23 Sep 2004 05:39:15 +0000 (05:39 +0000)]
1) switches from class_sysfs to drm sysfs implementation to allow
    customization
2) compiles again on 2.4, but doesn't work

19 years agoCreate permanent maps of framebuffer, aperture and MMIO registers. Added
Felix Kuehling [Wed, 22 Sep 2004 22:51:18 +0000 (22:51 +0000)]
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.

19 years agoRemove hotplug reset support from DRM driver. This will be handled by the
Jon Smirl [Wed, 22 Sep 2004 19:13:02 +0000 (19:13 +0000)]
Remove hotplug reset support from DRM driver. This will be handled by the
    VGA driver when it gets written.

19 years agoAdd *.flags to cvsignore.
Eric Anholt [Wed, 22 Sep 2004 16:45:44 +0000 (16:45 +0000)]
Add *.flags to cvsignore.

19 years agoMake DRM permanent maps match broken X behavior. X is mapping regions that
Jon Smirl [Tue, 21 Sep 2004 05:13:21 +0000 (05:13 +0000)]
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.

19 years agoRemove size restriction on permanent addmap
Jon Smirl [Mon, 20 Sep 2004 19:23:27 +0000 (19:23 +0000)]
Remove size restriction on permanent addmap

19 years agoFelix's fix for map request smaller than permanent map size
Jon Smirl [Mon, 20 Sep 2004 17:09:26 +0000 (17:09 +0000)]
Felix's fix for map request smaller than permanent map size

19 years agoremove HAVE_COUNTERS
Dave Airlie [Mon, 20 Sep 2004 11:29:16 +0000 (11:29 +0000)]
remove HAVE_COUNTERS

19 years agoanother fix after the macro stuff
Dave Airlie [Mon, 20 Sep 2004 10:45:53 +0000 (10:45 +0000)]
another fix after the macro stuff

19 years agoFix from: Nishanth Aravamudan replace direct assignment with
Jon Smirl [Sat, 18 Sep 2004 16:44:43 +0000 (16:44 +0000)]
Fix from: Nishanth Aravamudan replace direct assignment with
    __set_current_state()

19 years agoMakefile and missing file to build libxf86drm.a
Jon Smirl [Fri, 17 Sep 2004 20:01:59 +0000 (20:01 +0000)]
Makefile and missing file to build libxf86drm.a

19 years agoAdd the two GPL licensed I2C support files.
Jon Smirl [Fri, 17 Sep 2004 04:25:19 +0000 (04:25 +0000)]
Add the two GPL licensed I2C support files.

19 years agoAdd linux sysfs i2c support to radeon driver. This patch adds GPL licensed
Jon Smirl [Fri, 17 Sep 2004 04:02:28 +0000 (04:02 +0000)]
Add linux sysfs i2c support to radeon driver. This patch adds GPL licensed
    files to the linux build but not to the BSD directories.

19 years agoLet's try adding the dyn-minor patch again. This patch will reuse minor
Jon Smirl [Thu, 16 Sep 2004 18:42:03 +0000 (18:42 +0000)]
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.

19 years agoFix drm_scatter to properly report it's availability
Jon Smirl [Thu, 16 Sep 2004 14:32:17 +0000 (14:32 +0000)]
Fix drm_scatter to properly report it's availability

19 years agoBack dyn-minor patch out for now. fops handling is broken on some cards
Jon Smirl [Wed, 15 Sep 2004 17:44:30 +0000 (17:44 +0000)]
Back dyn-minor patch out for now. fops handling is broken on some cards

19 years agoDon't use module_param if it isn't defined in older kernels.
Jon Smirl [Wed, 15 Sep 2004 16:06:50 +0000 (16:06 +0000)]
Don't use module_param if it isn't defined in older kernels.

19 years agoDynamic device minor support. Minor device numbers will be reused if the
Jon Smirl [Wed, 15 Sep 2004 00:20:21 +0000 (00:20 +0000)]
Dynamic device minor support. Minor device numbers will be reused if the
    device is hotplugged in/out of the system

19 years agoAdd chip family names to the radeon driver
Jon Smirl [Tue, 14 Sep 2004 03:59:25 +0000 (03:59 +0000)]
Add chip family names to the radeon driver

19 years agoFix error path in probe() to release resources if there is an error.
Jon Smirl [Sun, 12 Sep 2004 19:24:08 +0000 (19:24 +0000)]
Fix error path in probe() to release resources if there is an error.

19 years agoMake the comment match the code
Jon Smirl [Sun, 12 Sep 2004 03:30:30 +0000 (03:30 +0000)]
Make the comment match the code

19 years agoFix DRM to compile cleanly with recent kernel changes in PCI IO and
Jon Smirl [Sun, 12 Sep 2004 03:23:50 +0000 (03:23 +0000)]
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.

19 years agoMore general patch to mark resources in use by all DRM drivers. Makes the
Jon Smirl [Fri, 10 Sep 2004 16:44:28 +0000 (16:44 +0000)]
More general patch to mark resources in use by all DRM drivers. Makes the
    code Linux specific.

19 years agoUpdate doxygen configuration file. Minor documentation updates/fixes.
Jose Fonseca [Wed, 8 Sep 2004 20:57:39 +0000 (20:57 +0000)]
Update doxygen configuration file. Minor documentation updates/fixes.

19 years agoAdjust permanent mapping code to account for more than one framebuffer map
Jon Smirl [Wed, 8 Sep 2004 01:49:06 +0000 (01:49 +0000)]
Adjust permanent mapping code to account for more than one framebuffer map

19 years agoAdded IOCTL for writing 2D DMA command buffers over PCI. Bumped minor
Thomas Hellstrom [Tue, 7 Sep 2004 16:48:44 +0000 (16:48 +0000)]
Added IOCTL for writing 2D DMA command buffers over PCI. Bumped minor
    version number.

19 years agomissed fix as part of last checkin
Dave Airlie [Sun, 5 Sep 2004 23:33:57 +0000 (23:33 +0000)]
missed fix as part of last checkin

19 years agomerge back bunch of whitespace and misc changes from kernel
Dave Airlie [Sun, 5 Sep 2004 10:54:59 +0000 (10:54 +0000)]
merge back bunch of whitespace and misc changes from kernel

19 years agobad code copy for alpha.. fix the member names
Dave Airlie [Sun, 5 Sep 2004 10:10:34 +0000 (10:10 +0000)]
bad code copy for alpha.. fix the member names

19 years agomake the AMD64 check a compat thing
Dave Airlie [Sun, 5 Sep 2004 02:36:48 +0000 (02:36 +0000)]
make the AMD64 check a compat thing

19 years agoFixup OS_HAS_AGP/OS_HAS_MTRR along lines of patches going to kernel, as
Dave Airlie [Sat, 4 Sep 2004 23:21:40 +0000 (23:21 +0000)]
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>
19 years agodoh.. that makes no sense.. thinko in removal of OS_HAS_AGP
Dave Airlie [Sat, 4 Sep 2004 13:15:40 +0000 (13:15 +0000)]
doh.. that makes no sense.. thinko in removal of OS_HAS_AGP

19 years agofile drm_core.h was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_core.h was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_agpsupport.c was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_agpsupport.c was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_core_memory.h was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_core_memory.h was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_headers.h was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_headers.h was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_memory.c was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_memory.c was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_memory_debug.c was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_memory_debug.c was initially added on branch drmlib-0-0-1-branch.

19 years agofile drm_proc.c was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drm_proc.c was initially added on branch drmlib-0-0-1-branch.

19 years agofile drmcore_exports.c was initially added on branch drmlib-0-0-1-branch.
Dave Airlie [Fri, 3 Sep 2004 14:54:53 +0000 (14:54 +0000)]
file drmcore_exports.c was initially added on branch drmlib-0-0-1-branch.

19 years agooops called ctor instead of dtor.. found this on the kernel merge
Dave Airlie [Thu, 2 Sep 2004 12:33:03 +0000 (12:33 +0000)]
oops called ctor instead of dtor.. found this on the kernel merge

19 years agoFix ref count problem in stealth mode. pci_get_subsys() with last parameter
Jon Smirl [Thu, 2 Sep 2004 04:11:27 +0000 (04:11 +0000)]
Fix ref count problem in stealth mode. pci_get_subsys() with last parameter
    set does the pci_dev_put for you.

19 years agoApply patch from Bryan Stine bugzilla #1227
Dave Airlie [Tue, 31 Aug 2004 05:02:23 +0000 (05:02 +0000)]
Apply patch from Bryan Stine bugzilla #1227

19 years agoimplement drm_core_check_feature and use it .. looks lots nicer
Dave Airlie [Mon, 30 Aug 2004 11:34:51 +0000 (11:34 +0000)]
implement drm_core_check_feature and use it .. looks lots nicer

19 years agodrm-memory patch, cleans up alloc/free and makes calloc look more libc like
Dave Airlie [Mon, 30 Aug 2004 09:01:50 +0000 (09:01 +0000)]
drm-memory patch, cleans up alloc/free and makes calloc look more libc like

19 years agoFix copy_from_user return value ignored warning at via_dma.c:168.
Erdi Chen [Mon, 30 Aug 2004 04:58:24 +0000 (04:58 +0000)]
Fix copy_from_user return value ignored warning at via_dma.c:168.

19 years agoadd context include so fn are defined
Dave Airlie [Sun, 29 Aug 2004 12:39:17 +0000 (12:39 +0000)]
add context include so fn are defined

19 years agofix up some small things ffb (no idea if it works or not ..)
Dave Airlie [Sun, 29 Aug 2004 12:37:11 +0000 (12:37 +0000)]
fix up some small things ffb (no idea if it works or not ..)

19 years agoremove hacky context thing that was gamma only
Dave Airlie [Sun, 29 Aug 2004 12:17:26 +0000 (12:17 +0000)]
remove hacky context thing that was gamma only

19 years agoDrop GAMMA DRM from a great height ...
Dave Airlie [Sun, 29 Aug 2004 12:04:35 +0000 (12:04 +0000)]
Drop GAMMA DRM from a great height ...

19 years agofixup issue caused by fntbl-2 merge
Dave Airlie [Sun, 29 Aug 2004 10:09:23 +0000 (10:09 +0000)]
fixup issue caused by fntbl-2 merge

19 years agoInitialize pdev to NULL correctly so that pci_get_subsys() will work.
Jon Smirl [Sat, 28 Aug 2004 23:59:51 +0000 (23:59 +0000)]
Initialize pdev to NULL correctly so that pci_get_subsys() will work.

19 years agorun i915 through lindent
Dave Airlie [Fri, 27 Aug 2004 09:14:30 +0000 (09:14 +0000)]
run i915 through lindent

19 years ago__NO_VERSION__ hasn't been needed since 2.3 days ditch it...
Dave Airlie [Fri, 27 Aug 2004 09:11:07 +0000 (09:11 +0000)]
__NO_VERSION__ hasn't been needed since 2.3 days ditch it...

19 years agoMake DRM detect vesafb and revert to stealth mode to avoid resource
Jon Smirl [Fri, 27 Aug 2004 02:26:07 +0000 (02:26 +0000)]
Make DRM detect vesafb and revert to stealth mode to avoid resource
    conflicts

19 years agoRearrange things so that via_dma.c will compile with inline via_check_dma
Jon Smirl [Thu, 26 Aug 2004 03:54:01 +0000 (03:54 +0000)]
Rearrange things so that via_dma.c will compile with inline via_check_dma

19 years agoMerged drmfntbl-0-0-2
Dave Airlie [Tue, 24 Aug 2004 11:15:53 +0000 (11:15 +0000)]
Merged drmfntbl-0-0-2

19 years agoaddmap-base-2 patch from Jon Smirl:
Dave Airlie [Tue, 24 Aug 2004 10:43:45 +0000 (10:43 +0000)]
addmap-base-2 patch from Jon Smirl:
sets up the DRM to have the ability to have permanent maps while the driver
    is loaded...

19 years agoThis patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:
Erdi Chen [Tue, 24 Aug 2004 01:44:37 +0000 (01:44 +0000)]
This patch adds three new ioctl's to the VIA Unichrome/Pro DRM driver:
    DRM_IOCTL_VIA_DMA_INIT DRM_IOCTL_VIA_CMDBUFFER DRM_IOCTL_VIA_FLUSH
The first ioctl sets up an area in AGP memory that will be used as the ring
    buffer. The second ioctl copies a command buffer from user space memory
    to the ring buffer. The third ioctl waits for engine idle until it
    returns.
The motivation for this patch is to avoid the wait for engine idle call
    before each buffer flush in the current DRI driver. With this patch,
    the DRI driver can continue to flush its buffer as long as there is
    free space in the ring buffer.
This patch adds an additional copy operation on the command buffer. This
    buffer copying is necessary to support multiple DRI clients rendering
    simultaneously. Otherwise, more CPU time will be spent in the busy loop
    waiting for engine idle between DRI context switch. Even in the single
    client case, the tradeoff is reasonable in comparision to the kernel
    call to check for free buffer space for the client to render directly
    to the ring buffer.

19 years agoset pointers to NULL after freeing, remove some extra debugging
Dave Airlie [Mon, 23 Aug 2004 10:05:01 +0000 (10:05 +0000)]
set pointers to NULL after freeing, remove some extra debugging

19 years agoMerged drmfntbl-0-0-1
Dave Airlie [Tue, 17 Aug 2004 13:10:05 +0000 (13:10 +0000)]
Merged drmfntbl-0-0-1

19 years agopreparation patch for radeon permanent mapping registers/framebuffer makes
Dave Airlie [Tue, 17 Aug 2004 11:24:50 +0000 (11:24 +0000)]
preparation patch for radeon permanent mapping registers/framebuffer makes
    dev_priv live always, and add AGP detection in kernel patch:
    radeon-pre-2.patch From: Jon Smirl

19 years ago2.6.8.1 has changed the links in /lib/modules
Dave Airlie [Tue, 17 Aug 2004 10:36:46 +0000 (10:36 +0000)]
2.6.8.1 has changed the links in /lib/modules

19 years agoFix warning about unused ddev variable
Jon Smirl [Sun, 15 Aug 2004 15:46:28 +0000 (15:46 +0000)]
Fix warning about unused ddev variable

19 years agoAdd dev to DRIVER_CTX_DTOR( dev, pos->handle) so that sis driver will
Jon Smirl [Sun, 15 Aug 2004 15:35:14 +0000 (15:35 +0000)]
Add dev to DRIVER_CTX_DTOR( dev, pos->handle) so that sis driver will
    compile #if 0 get_pci_driver use in hotplug function until fbdev work
    around is written

19 years agoRemove unused pcigart/sg header stuff from i915 driver.
Eric Anholt [Sat, 14 Aug 2004 00:56:34 +0000 (00:56 +0000)]
Remove unused pcigart/sg header stuff from i915 driver.

19 years agoAdd a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in an
Eric Anholt [Sat, 14 Aug 2004 00:46:15 +0000 (00:46 +0000)]
Add a "dev" argument to DRIVER_CTX_[CD]TOR. This will be used in an
    upcoming commit for the SiS driver.

19 years agoHopefully proper fix for corrupted driver name in memcontrol list.
Eric Anholt [Sat, 14 Aug 2004 00:03:32 +0000 (00:03 +0000)]
Hopefully proper fix for corrupted driver name in memcontrol list.
Reported by: Jung-uk Kim <jkim@niksun.com>

19 years agoFix apparent copy'n'paste-o of the card attributes commit that broke the
Eric Anholt [Fri, 13 Aug 2004 23:32:39 +0000 (23:32 +0000)]
Fix apparent copy'n'paste-o of the card attributes commit that broke the
    FreeBSD build.

19 years agoEnable MTRR usage on AMD64, and use DELAY() instead of rolling our own
Eric Anholt [Fri, 13 Aug 2004 23:17:17 +0000 (23:17 +0000)]
Enable MTRR usage on AMD64, and use DELAY() instead of rolling our own
    udelay code.
Submitted by: Jung-uk Kim <jkim@niksun.com>

19 years agoBug #979: Don't include <sys/sysmacros.h> on linux, it occasionally emits
Adam Jackson [Wed, 11 Aug 2004 23:23:35 +0000 (23:23 +0000)]
Bug #979: Don't include <sys/sysmacros.h> on linux, it occasionally emits
    makedev() as a function call that elfloader can't resolve. Originally
    Gentoo Bug #41962, reported by Ryan Breen, fix feedback from Ryan
    Lortie.

19 years agominor patch from Jon Smirl : sets up some things for later use
Dave Airlie [Wed, 11 Aug 2004 09:07:36 +0000 (09:07 +0000)]
minor patch from Jon Smirl : sets up some things for later use

19 years agoPatch from Jon Smirl to add attribute field to the pciids, and use this for
Dave Airlie [Tue, 10 Aug 2004 11:14:07 +0000 (11:14 +0000)]
Patch from Jon Smirl to add attribute field to the pciids, and use this for
    certain radeon combinations - intel drivers can probably use this for
    dual head capable devices etc..

19 years ago2.4 compat
Dave Airlie [Wed, 4 Aug 2004 10:56:48 +0000 (10:56 +0000)]
2.4 compat

19 years ago2.4 hotplug compat
Dave Airlie [Wed, 4 Aug 2004 10:53:21 +0000 (10:53 +0000)]
2.4 hotplug compat

19 years agobring over fix from i865-agp branch, it now probes the driver, X hangs
Dave Airlie [Tue, 3 Aug 2004 11:26:38 +0000 (11:26 +0000)]
bring over fix from i865-agp branch, it now probes the driver, X hangs
    box..

19 years agofix for drm in /proc - from Jon Smirl
Dave Airlie [Tue, 3 Aug 2004 09:21:11 +0000 (09:21 +0000)]
fix for drm in /proc - from Jon Smirl

19 years agoforgot to check these in.. thanks to Jon for reminding me ..
Dave Airlie [Mon, 2 Aug 2004 11:45:23 +0000 (11:45 +0000)]
forgot to check these in.. thanks to Jon for reminding me ..

19 years agoAdd a hotplug event to DRM. Parameters match the ones from the general PCI
Jon Smirl [Sat, 31 Jul 2004 15:45:00 +0000 (15:45 +0000)]
Add a hotplug event to DRM. Parameters match the ones from the general PCI
    hotplug event plus the addition of one requesting RESET. Put your
    scripts in /etc/hotplug.d/drm to run. kernel class_simple generates the
    ADD/REMOVE events. No cards currently request RESET, the flag is there
    to stop you from resetting your boot display.

19 years agopatch from RH xorg-x11 tree ported to drm.h
Dave Airlie [Sat, 31 Jul 2004 08:38:39 +0000 (08:38 +0000)]
patch from RH xorg-x11 tree ported to drm.h

19 years agoPatch picked up from Redhat xorg release:
Dave Airlie [Sat, 31 Jul 2004 08:12:39 +0000 (08:12 +0000)]
Patch picked up from Redhat xorg release:
Patch by John Dennis <jdennis@redhat.com> which fixes DRI locking bug on
    ia64 architecture.
    https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104338
    http://bugs.xfree86.org/show_bug.cgi?id=778

19 years agofixes for using userspace pointers found by sparse utility
Dave Airlie [Sat, 31 Jul 2004 07:26:52 +0000 (07:26 +0000)]
fixes for using userspace pointers found by sparse utility
From: Dave Airlie

19 years agoathe patch below optimises the drm code to not do put_user() on memory the
Dave Airlie [Sat, 31 Jul 2004 07:25:58 +0000 (07:25 +0000)]
athe patch below optimises the drm code to not do put_user() on memory the
    kernel allocated and then mmap-installed to userspace, but instead
    makes it use the kernel virtual address directly instead.
From: Arjan van de Ven <arjanv@redhat.com>