platform/upstream/libdrm.git
16 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101
Alan Hourihane [Wed, 28 May 2008 20:01:18 +0000 (21:01 +0100)]
Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

Conflicts:

shared-core/i915_dma.c
shared-core/i915_drv.h

16 years agoi915: unmap BIOS when we're done with it
Jesse Barnes [Wed, 28 May 2008 15:24:42 +0000 (08:24 -0700)]
i915: unmap BIOS when we're done with it

At the moment, we only read it at startup time, so we can just unmap it there
when we're done.

16 years agoradeon: split microcode out into a separate header file.
Dave Airlie [Wed, 28 May 2008 01:12:57 +0000 (11:12 +1000)]
radeon: split microcode out into a separate header file.

16 years agoi915: fix BSD bh, DRI2 not uses anywhere else
Dave Airlie [Wed, 28 May 2008 00:28:13 +0000 (10:28 +1000)]
i915: fix BSD bh, DRI2 not uses anywhere else

16 years agoradeon: bump release date/version for r500 3D support
Dave Airlie [Wed, 28 May 2008 00:02:20 +0000 (10:02 +1000)]
radeon: bump release date/version for r500 3D support

16 years agoRADEON: add get_param for number of GB pipes
Alex Deucher [Tue, 27 May 2008 22:33:33 +0000 (18:33 -0400)]
RADEON: add get_param for number of GB pipes

16 years ago[BSD] Move unlock in drm_vm.c from accidental platform #ifdeffing.
Owain Ainsworth [Tue, 27 May 2008 22:12:35 +0000 (15:12 -0700)]
[BSD] Move unlock in drm_vm.c from accidental platform #ifdeffing.

Also remove an unreachable unlock.

16 years ago[BSD] Fix lock leak in drm_update_draw malloc failure path.
Owain Ainsworth [Tue, 27 May 2008 22:11:25 +0000 (15:11 -0700)]
[BSD] Fix lock leak in drm_update_draw malloc failure path.

16 years ago[BSD] Fix lock leaks in error paths in drm_bufs.c.
Owain Ainsworth [Tue, 27 May 2008 22:07:04 +0000 (15:07 -0700)]
[BSD] Fix lock leaks in error paths in drm_bufs.c.

16 years ago[BSD] Remove superfluous recursive locking in drm_add_magic.
Owain Ainsworth [Tue, 27 May 2008 21:59:38 +0000 (14:59 -0700)]
[BSD] Remove superfluous recursive locking in drm_add_magic.

16 years ago[i915] Fix typo in (unused) START_ADDR definition.
Jie Luo [Tue, 27 May 2008 21:55:01 +0000 (14:55 -0700)]
[i915] Fix typo in (unused) START_ADDR definition.

16 years ago[FreeBSD] Add vblank-rework support and get drivers building.
Robert Noland [Fri, 23 May 2008 18:36:05 +0000 (14:36 -0400)]
[FreeBSD] Add vblank-rework support and get drivers building.

The i915 driver now works again.

16 years ago[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.
Eric Anholt [Tue, 27 May 2008 21:12:51 +0000 (14:12 -0700)]
[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.

16 years agoi915: do a better job of parsing VBIOS data
Jesse Barnes [Sat, 24 May 2008 01:42:47 +0000 (18:42 -0700)]
i915: do a better job of parsing VBIOS data

Add code to get panel modes from the VBIOS if present and check whether certain
outputs exist.  Should make our display detection code a little more robust.

16 years agodrm_mode_debug_printmodeline doesn't need struct drm_device *
Jesse Barnes [Sat, 24 May 2008 01:41:58 +0000 (18:41 -0700)]
drm_mode_debug_printmodeline doesn't need struct drm_device *

Makes printing modelines from some routines easier.

16 years agor500: add two more register ranges for mesa driver to setup
Dave Airlie [Thu, 22 May 2008 23:39:54 +0000 (09:39 +1000)]
r500: add two more register ranges for mesa driver to setup

16 years agodrm: fix nouveau warning
Dave Airlie [Thu, 15 May 2008 01:13:03 +0000 (11:13 +1000)]
drm: fix nouveau warning

16 years agoi915: check dummy page before freeing
Hong Liu [Mon, 19 May 2008 09:06:40 +0000 (17:06 +0800)]
i915: check dummy page before freeing

The dummy read page will point to NULL if drm_bo_driver_init failed at
firstopen (modeset is not enabled), and will cause kernel oops at
subsequent drm_lastclose call, so be sure to check it.

16 years agoi915: init bo mm at driver init only when modeset=1
Hong Liu [Mon, 19 May 2008 09:06:38 +0000 (17:06 +0800)]
i915: init bo mm at driver init only when modeset=1

To avoid bo memory manager being inited twice, it will be called
at firstopen when modeset is not enabled.

16 years agors690/r500: vblank support.
Dave Airlie [Wed, 21 May 2008 10:14:45 +0000 (20:14 +1000)]
rs690/r500: vblank support.

The new display controller has the vblank interrupts in a different place.

Add support for vbl interrupts for these chips

16 years agor500: add more register ranges for Mesa driver
Dave Airlie [Sat, 17 May 2008 00:22:12 +0000 (10:22 +1000)]
r500: add more register ranges for Mesa driver

16 years agoati_pcigart: oops wrong way around not that it actually mattered
Dave Airlie [Wed, 14 May 2008 12:48:12 +0000 (22:48 +1000)]
ati_pcigart: oops wrong way around not that it actually mattered

16 years agoati_pcigart: stop working in the evenings you mess up too often
Dave Airlie [Wed, 14 May 2008 12:44:22 +0000 (22:44 +1000)]
ati_pcigart: stop working in the evenings you mess up too often

16 years agoRevert "ati_pcigart: fixup properly this version might even work"
Dave Airlie [Wed, 14 May 2008 12:43:28 +0000 (22:43 +1000)]
Revert "ati_pcigart: fixup properly this version might even work"

This reverts commit bc0836e12a9790f1cc83f8bc29bc05043c4bc840.

tree has some kref hacks in it - oops

16 years agoati_pcigart: fixup properly this version might even work
Dave Airlie [Wed, 14 May 2008 12:42:21 +0000 (22:42 +1000)]
ati_pcigart: fixup properly this version might even work

16 years agoati_pcigart: fill out 40-bit gart table support properly
Dave Airlie [Wed, 14 May 2008 12:35:32 +0000 (22:35 +1000)]
ati_pcigart: fill out 40-bit gart table support properly

Thanks to Alex for supplying this info.

16 years agoRS4xx: separate out RS400 and RS480 IGP chips
Alex Deucher [Wed, 14 May 2008 01:02:17 +0000 (21:02 -0400)]
RS4xx: separate out RS400 and RS480 IGP chips

RS400 (intel based IGP) and RS480 (AMD based IGP) have
different MC and GART setups.  Currently we only support
RS480.

16 years agoMerge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modeset...
Jesse Barnes [Tue, 13 May 2008 21:47:17 +0000 (14:47 -0700)]
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

16 years agoi915: register definition & header file cleanup
Jesse Barnes [Tue, 13 May 2008 21:44:17 +0000 (14:44 -0700)]
i915: register definition & header file cleanup

It would be nice if one day the DRM driver was the canonical source for
register definitions and core macros.  To that end, this patch cleans
things up quite a bit, removing redundant definitions (some with
different names referring to the same register) and generally tidying up
the header file.

16 years agoi915: execbuf now works without i915_dma_init being called
Jakob Bornecrantz [Tue, 13 May 2008 07:24:47 +0000 (09:24 +0200)]
i915: execbuf now works without i915_dma_init being called

16 years agoi915: TV hotplug fixes
Jesse Barnes [Mon, 12 May 2008 22:47:19 +0000 (15:47 -0700)]
i915: TV hotplug fixes

In order to avoid recursive ->detect->interrupt->detect->interrupt->...
we need to disable TV hotplug interrupts in
intel_tv.c:intel_tv_detect_type.  We also need to enable the TV interrupt
detection and hotplug sequence properly in i915_irq.c.

16 years agofix kernel oops when removing fb
Hong Liu [Fri, 9 May 2008 02:06:17 +0000 (10:06 +0800)]
fix kernel oops when removing fb

drm_crtc->fb may point to NULL, f.e X server will allocate a new fb
and assign it to the CRTC at startup, when X server exits, it will destroy
the allocated fb, making drm_crtc->fb points to NULL.

16 years agofree dummy read page if fail to init mm
Hong Liu [Fri, 9 May 2008 02:15:17 +0000 (10:15 +0800)]
free dummy read page if fail to init mm

Since drm_bo_driver_init will be called in driver_load, we need to free
what it alloced when error to avoid memory leak.

16 years agomodeset init code cleanup
Hong Liu [Mon, 12 May 2008 08:14:38 +0000 (16:14 +0800)]
modeset init code cleanup

moving modeset init code into one function and correct error
handling druing i915 init

16 years agofix G33 hardware status page in modeset
Hong Liu [Mon, 12 May 2008 06:38:49 +0000 (14:38 +0800)]
fix G33 hardware status page in modeset

We need to alloc a hw status page bo for G33 if modeset is enabled since the 2D
driver can't alloc gfx memory when working in drm modeset.

16 years agoRADEON: fix copy/pasto in last commit
Alex Deucher [Mon, 12 May 2008 18:49:43 +0000 (14:49 -0400)]
RADEON: fix copy/pasto in last commit

16 years agoR3/4/5: init pipe setup in drm
Alex Deucher [Mon, 12 May 2008 13:44:20 +0000 (09:44 -0400)]
R3/4/5: init pipe setup in drm

Similar (broken) code in mesa needs to be removed

16 years agoRADEON: cleanup radeon_do_engine_reset()
Alex Deucher [Mon, 12 May 2008 13:35:06 +0000 (09:35 -0400)]
RADEON: cleanup radeon_do_engine_reset()

16 years agoR300+: fixup pixcache flush
Alex Deucher [Mon, 12 May 2008 13:30:47 +0000 (09:30 -0400)]
R300+: fixup pixcache flush

16 years agoRS4xx: fix MCIND index mask
Alex Deucher [Mon, 12 May 2008 13:24:13 +0000 (09:24 -0400)]
RS4xx: fix MCIND index mask

16 years agoRADEON: write AGP_BASE_2 on chips that support it
Alex Deucher [Mon, 12 May 2008 13:21:45 +0000 (09:21 -0400)]
RADEON: write AGP_BASE_2 on chips that support it

16 years agoR300+: fixup PURGE/FLUSH macros
Alex Deucher [Mon, 12 May 2008 13:18:28 +0000 (09:18 -0400)]
R300+: fixup PURGE/FLUSH macros

16 years agoRadeon IGP: merge RS4xx/RS6xx gart setup
Alex Deucher [Mon, 12 May 2008 13:13:44 +0000 (09:13 -0400)]
Radeon IGP: merge RS4xx/RS6xx gart setup

16 years agoRadeon IGP: wrap MCIND access
Alex Deucher [Mon, 12 May 2008 13:00:40 +0000 (09:00 -0400)]
Radeon IGP: wrap MCIND access

first step in merging rs4xx/rs6xx gart setup

16 years agoRadeon IGP: clean up registers and magic numbers
Alex Deucher [Mon, 12 May 2008 12:56:11 +0000 (08:56 -0400)]
Radeon IGP: clean up registers and magic numbers

16 years agodrm: remove root only from a lot of drm ioctls to get stuff running as non-root
Dave Airlie [Mon, 12 May 2008 06:29:13 +0000 (16:29 +1000)]
drm: remove root only from a lot of drm ioctls to get stuff running as non-root

16 years agodrm: masters are always authenticated
Dave Airlie [Mon, 12 May 2008 06:28:58 +0000 (16:28 +1000)]
drm: masters are always authenticated

16 years agodrm: fix oops on reading proc file with no master
Dave Airlie [Mon, 12 May 2008 06:28:40 +0000 (16:28 +1000)]
drm: fix oops on reading proc file with no master

16 years agofixup i915 workqueue handling when modeset=1
Hong Liu [Fri, 9 May 2008 02:08:36 +0000 (10:08 +0800)]
fixup i915 workqueue handling when modeset=1

Fixup workqueue creation error handling and make sure we destroy the queue on
unload.

16 years agoi915: use BDB TV flag for TV detection
Jesse Barnes [Fri, 9 May 2008 21:19:39 +0000 (14:19 -0700)]
i915:  use BDB TV flag for TV detection

Even if the TV encoder hasn't been fused off, we may not have a TV connector on
the platform.  The BDB in the BIOS should give us this info in some cases.

16 years agoi915: add basic VBT support
Jesse Barnes [Fri, 9 May 2008 21:19:00 +0000 (14:19 -0700)]
i915:  add basic VBT support

Map the VBIOS (and therefore VBT) at init time for use by various output
initialization routines.

16 years agoFix build problems
Alan Hourihane [Fri, 9 May 2008 15:36:28 +0000 (16:36 +0100)]
Fix build problems

16 years agoFix test applications for recent DRM changes
Alan Hourihane [Fri, 9 May 2008 08:26:17 +0000 (09:26 +0100)]
Fix test applications for recent DRM changes

16 years agoi915: Changed intel_fb to use the new drm_crtc_set_config interface
Jakob Bornecrantz [Thu, 8 May 2008 18:10:18 +0000 (20:10 +0200)]
i915: Changed intel_fb to use the new drm_crtc_set_config interface

16 years agoi915: Fixed indent in intel_fb.c
Jakob Bornecrantz [Thu, 8 May 2008 13:25:37 +0000 (15:25 +0200)]
i915: Fixed indent in intel_fb.c

16 years agodrm: Made set_config use drm_mode_set as a argument
Jakob Bornecrantz [Thu, 8 May 2008 13:00:18 +0000 (15:00 +0200)]
drm: Made set_config use drm_mode_set as a argument

16 years agoRevert "i915: fix vbl swap for multi-master"
Dave Airlie [Thu, 8 May 2008 07:12:16 +0000 (17:12 +1000)]
Revert "i915: fix vbl swap for multi-master"

This reverts commit 2a78ad22647933aa8842d534bce6495ff93fbf76.

16 years agoi915: fix vbl swap for multi-master
Dave Airlie [Thu, 8 May 2008 06:14:33 +0000 (16:14 +1000)]
i915: fix vbl swap for multi-master

patch from F9 tree

16 years agodrm: check for NULL fb here, shouldn't happen but avoid oops for now
Dave Airlie [Thu, 8 May 2008 06:11:25 +0000 (16:11 +1000)]
drm: check for NULL fb here, shouldn't happen but avoid oops for now

16 years agodrm: set crtc->fb to NULL
Dave Airlie [Thu, 8 May 2008 06:10:26 +0000 (16:10 +1000)]
drm: set crtc->fb to NULL

16 years agointel: set correct limits on screen width/height from DDX
Dave Airlie [Thu, 8 May 2008 06:10:06 +0000 (16:10 +1000)]
intel: set correct limits on screen width/height from DDX

16 years agodrm: fix replacefb to change fb properties
Dave Airlie [Thu, 8 May 2008 06:09:45 +0000 (16:09 +1000)]
drm: fix replacefb to change fb properties

16 years agodrm_mode: initial replacefb implemenation
Dave Airlie [Thu, 8 May 2008 04:01:24 +0000 (14:01 +1000)]
drm_mode: initial replacefb implemenation

16 years agodrm: fix typo from previous merge
Dave Airlie [Thu, 8 May 2008 00:45:18 +0000 (10:45 +1000)]
drm: fix typo from previous merge

16 years agocursor: pass handle not BO.
Dave Airlie [Thu, 8 May 2008 00:26:37 +0000 (10:26 +1000)]
cursor: pass handle not BO.

16 years agoMerge remote branch 'origin/master' into modesetting-101
Dave Airlie [Thu, 8 May 2008 00:25:01 +0000 (10:25 +1000)]
Merge remote branch 'origin/master' into modesetting-101

Conflicts:

linux-core/Makefile.kernel
shared-core/i915_drv.h

16 years agodrm: nopage compat fixup for drm_vm
Dave Airlie [Wed, 7 May 2008 05:10:23 +0000 (15:10 +1000)]
drm: nopage compat fixup for drm_vm

The kernel has removed nopage so move the old nopage codepaths into a compat vm file and switch to using the fault paths.

nopfn is on its way out in the future also, so we should switch to using fault
for that path as well soon

16 years agor500: add allowed range for us config/pixsize
Dave Airlie [Mon, 5 May 2008 06:49:04 +0000 (16:49 +1000)]
r500: add allowed range for us config/pixsize

16 years agonv50: enable 0x400500 bit 0 after PGRAPH exception also
Ben Skeggs [Thu, 1 May 2008 15:36:30 +0000 (01:36 +1000)]
nv50: enable 0x400500 bit 0 after PGRAPH exception also

No solid idea about what these 2 bits do, but nv50 can now survive a few
PGRAPH exceptions just as nv40 does :)

16 years agonouveau: guard against channels potentially not having a context, fix nv50
Ben Skeggs [Thu, 1 May 2008 15:03:51 +0000 (01:03 +1000)]
nouveau: guard against channels potentially not having a context, fix nv50

16 years agonouveau: disable all card interrupts when unknown PFIFO IRQ occurs.
Ben Skeggs [Thu, 1 May 2008 14:53:42 +0000 (00:53 +1000)]
nouveau: disable all card interrupts when unknown PFIFO IRQ occurs.

This is possibly temporary.  I can trigger an unending IRQ storm on G8x
in some circumstances, and have no idea how to handle that particular PFIFO
exception correctly yet.

16 years agonouveau: restore original NV_PFIFO_CACHES_REASSIGN value in fifo handler
Ben Skeggs [Thu, 1 May 2008 14:52:21 +0000 (00:52 +1000)]
nouveau: restore original NV_PFIFO_CACHES_REASSIGN value in fifo handler

Doesn't fix any issue I've seen, but is a potential issue if a FIFO IRQ
occurs during channel creation/takedown.

16 years agonouveau: gather nsource in trap_info()
Ben Skeggs [Thu, 1 May 2008 14:50:21 +0000 (00:50 +1000)]
nouveau: gather nsource in trap_info()

The IRQ handling stuff really is a mess.. On the TODO :)

16 years agonv50: PGRAPH exception handling completely different from earlier chips
Ben Skeggs [Thu, 1 May 2008 14:06:22 +0000 (00:06 +1000)]
nv50: PGRAPH exception handling completely different from earlier chips

16 years agonv50: I cave... Add nv84 initial context values.
Ben Skeggs [Thu, 1 May 2008 13:47:42 +0000 (23:47 +1000)]
nv50: I cave...  Add nv84 initial context values.

I swore I'd actually do this properly and not go the horrible route
we did with nv4x, but I won't get around to it just yet with so many
*actually* interesting things to do first.. One day.

Since someone already added nv86, why not!

16 years agoi915: fix off by one in VGA save/restore of AR & CR regs
Jesse Barnes [Tue, 29 Apr 2008 19:36:04 +0000 (12:36 -0700)]
i915: fix off by one in VGA save/restore of AR & CR regs

Turns out it's important to save/restore AR14 in particular.

16 years agonouveau: NV9x cards exist as well.
Maarten Maathuis [Tue, 29 Apr 2008 17:34:22 +0000 (19:34 +0200)]
nouveau: NV9x cards exist as well.

16 years agoMerge branch 'master' into modesetting-101
Thomas Hellstrom [Mon, 28 Apr 2008 10:10:44 +0000 (12:10 +0200)]
Merge branch 'master' into modesetting-101

Conflicts:

linux-core/Makefile.kernel
linux-core/drm_compat.c
linux-core/drm_fops.c
linux-core/drm_lock.c
shared-core/drm.h
shared-core/i915_dma.c
shared-core/i915_drv.h
shared-core/i915_irq.c

16 years agoUse fixed sized types in new ioctls
Jesse Barnes [Sun, 27 Apr 2008 16:42:17 +0000 (09:42 -0700)]
Use fixed sized types in new ioctls

Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat
issues.

16 years agoEnum-ectomy of vblank modesetting ioctl
Jesse Barnes [Sun, 27 Apr 2008 00:11:18 +0000 (17:11 -0700)]
Enum-ectomy of vblank modesetting ioctl

Enum can be of pretty much any size since C leaves the choice of size up to the implementation.  So avoid using it in new interfaces like the vblank pre- & post-modeset ioctl.  Thanks to hch for spotting this.

16 years agoMake via compile.
Kristian Høgsberg [Wed, 23 Apr 2008 16:43:52 +0000 (12:43 -0400)]
Make via compile.

Chase the lock to it's new location.

16 years agoMake radeon_ms compile.
Kristian Høgsberg [Wed, 23 Apr 2008 16:42:26 +0000 (12:42 -0400)]
Make radeon_ms compile.

Remove lock functions and use pci_map_rom() instead of pci_map_rom_copy().

16 years agoDon't disable IRQs, just tasklets, when taking the drm lock spinlock.
Thomas Hellstrom [Wed, 23 Apr 2008 15:33:09 +0000 (17:33 +0200)]
Don't disable IRQs, just tasklets, when taking the drm lock spinlock.

16 years agoFixed unlock check on EAGAIN
Jakob Bornecrantz [Wed, 23 Apr 2008 10:43:30 +0000 (12:43 +0200)]
Fixed unlock check on EAGAIN

16 years agoi915: fix for compatibility mode
Xiang, Haihao [Wed, 23 Apr 2008 09:17:16 +0000 (17:17 +0800)]
i915: fix for compatibility mode

16 years agoi915: allocate devname at init time
Jesse Barnes [Wed, 23 Apr 2008 01:41:28 +0000 (18:41 -0700)]
i915: allocate devname at init time

Since it'll be freed at unload time, we should alloc devname rather than
pointing to the DRIVER_NAME string.

16 years agoadd sysfs entry for DVO output
Hong Liu [Fri, 18 Apr 2008 08:52:04 +0000 (16:52 +0800)]
add sysfs entry for DVO output

forget to add it in the previous DVO porting patch.

Signed-off-by: Hong Liu <hong.liu@intel.com>
16 years agoclear interrupt status before install irq
Hong Liu [Fri, 18 Apr 2008 08:49:23 +0000 (16:49 +0800)]
clear interrupt status before install irq

On my 865G machine, it seems the CPU will receive interrupt before
irq_postinstall is called. This will cause kernel oops because vblank is not
inited at that time. Clear interrupt status before install seems fixing this
problem.

Signed-off-by: Hong Liu <hong.liu@intel.com>
16 years agofix removing output_attrs
Hong Liu [Fri, 18 Apr 2008 08:26:41 +0000 (16:26 +0800)]
fix removing output_attrs

fix a typo in removing output sysfs.

Signed-off-by: Hong Liu <hong.liu@intel.com>
16 years agolinux-core Makefile: add GIT_REVISION
Pekka Paalanen [Sun, 20 Apr 2008 17:47:38 +0000 (20:47 +0300)]
linux-core Makefile: add GIT_REVISION

This tries to automatically fetch a git revision string and if succeeds,
it #defines GIT_REVISION string macro. Packagers can override it by
'make GIT_REVISION=foo'.

Update Nouveau to use GIT_REVISION, if defined, instead of DRIVER_DATE
in struct drm_driver.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
16 years agoi915: gfx hw and i945gme fixes from upstream
Dave Airlie [Tue, 22 Apr 2008 06:08:17 +0000 (16:08 +1000)]
i915: gfx hw and i945gme fixes from upstream

From Jesse and Zhenyu originally.

16 years ago[I915] Handle tiled buffers in vblank tasklet
Keith Packard [Sun, 20 Apr 2008 23:10:05 +0000 (16:10 -0700)]
[I915] Handle tiled buffers in vblank tasklet

The vblank tasklet update code must build 2D blt commands with the
appropriate tiled flags.

16 years agoOn I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblank
Keith Packard [Sun, 20 Apr 2008 08:55:57 +0000 (01:55 -0700)]
On I965, use correct 3DSTATE_DRAWING_RECTANGLE command in vblank

The batchbuffer submission paths were fixed to use the 965-specific command,
but the vblank tasklet was not. When the older version is sent, the 965 will
lock up.

16 years agoPorting DVO stuff
Hong Liu [Thu, 17 Apr 2008 08:51:00 +0000 (16:51 +0800)]
Porting DVO stuff

Ported from Xorg intel 2d driver. Changed interfaces definitions, which needed
to be changed later if other device wants to use these DVO stuff.

16 years agoFix buffer object map wait error.
Thomas Hellstrom [Mon, 14 Apr 2008 11:52:33 +0000 (13:52 +0200)]
Fix buffer object map wait error.
Add some branch prediction hints.

16 years agoFix buffer object creation validation.
Thomas Hellstrom [Mon, 14 Apr 2008 10:10:50 +0000 (12:10 +0200)]
Fix buffer object creation validation.

BO lock fixes.

16 years agoUnlock the BO mutex while waiting for idle, unmapped, unfenced.
Thomas Hellstrom [Sun, 13 Apr 2008 12:49:14 +0000 (14:49 +0200)]
Unlock the BO mutex while waiting for idle, unmapped, unfenced.

Move unfenced checking into idle checking.
Never time out while waiting for software events like unmapped or unfenced.

16 years agoFix up buffer manager locking.
Thomas Hellstrom [Fri, 11 Apr 2008 07:36:12 +0000 (09:36 +0200)]
Fix up buffer manager locking.

16 years agoSave and restore dsparb and d_state regs
Keith Packard [Thu, 27 Mar 2008 18:40:04 +0000 (11:40 -0700)]
Save and restore dsparb and d_state regs

16 years agoMerge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modeset...
Jerome Glisse [Fri, 11 Apr 2008 22:15:47 +0000 (00:15 +0200)]
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101