platform/upstream/libdrm.git
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 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 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 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

16 years agoradeon_ms: rework command submission ioctl & cleanup
Jerome Glisse [Fri, 11 Apr 2008 22:15:12 +0000 (00:15 +0200)]
radeon_ms: rework command submission ioctl & cleanup

16 years agoFixup Intel TV property code
Jesse Barnes [Fri, 11 Apr 2008 03:31:31 +0000 (20:31 -0700)]
Fixup Intel TV property code

Use the new TV property creation routine and fixup the set_property code
to actually do a mode set call when properties change.

16 years agoSplit TV property creation into its own routine
Jesse Barnes [Fri, 11 Apr 2008 03:30:12 +0000 (20:30 -0700)]
Split TV property creation into its own routine

It needs to take arguments from the caller about supported TV formats,
so declare it in drm_crtc.h and export it.

16 years agoRemove structure fields & code
Jesse Barnes [Fri, 11 Apr 2008 02:02:53 +0000 (19:02 -0700)]
Remove structure fields & code

Cleanup some random cruft left over from the initial port.

16 years agoFix masking in get_load_detect_pipe
Jesse Barnes [Thu, 10 Apr 2008 18:27:39 +0000 (11:27 -0700)]
Fix masking in get_load_detect_pipe

Start i at -1 so that the masking works right.

16 years agoKeep display info in struct display_info
Jesse Barnes [Thu, 10 Apr 2008 18:23:55 +0000 (11:23 -0700)]
Keep display info in struct display_info

Some fields had snuck into the drm_output structure.  Put them back and
fill in more stuff from the EDID block.

16 years agoAdd TV out hotplug detection
Jesse Barnes [Wed, 9 Apr 2008 21:12:56 +0000 (14:12 -0700)]
Add TV out hotplug detection

Doesn't yet work on my i915 test machine, but most of the necessary bits
should be there.

16 years agoFix TV load detection
Jesse Barnes [Wed, 9 Apr 2008 21:09:29 +0000 (14:09 -0700)]
Fix TV load detection

Now that we can allocate load detect pipes, we can perform TV out load
detection correctly.  Call the new routines and enable proper TV
detection.

16 years agoPort pipe reservation code for load detection
Jesse Barnes [Wed, 9 Apr 2008 21:07:55 +0000 (14:07 -0700)]
Port pipe reservation code for load detection

TV out needs to do load detection, which means we have to find an
available pipe to use for the detection.  Port over the pipe reservation
code for this purpose.

16 years agoAdd newline to debug output for output add
Jesse Barnes [Wed, 9 Apr 2008 21:06:36 +0000 (14:06 -0700)]
Add newline to debug output for output add

16 years agoOlder kernels don't have kobject_uevent_env(), so punt
Alan Hourihane [Wed, 9 Apr 2008 21:07:40 +0000 (22:07 +0100)]
Older kernels don't have kobject_uevent_env(), so punt
the event for these older kernels.

16 years agoFixup sysfs output registration
Jesse Barnes [Wed, 9 Apr 2008 18:30:15 +0000 (11:30 -0700)]
Fixup sysfs output registration

Put off registering new outputs with sysfs until they're properly configured,
or we may get duplicates if the type hasn't been set yet (as is the case with
SDVO initialization).  This also means moving de-registration into the cleanup
function instead of output destroy, since the latter occurs during the normal
course of setup when an output isn't found (and therefore not registered with
sysfs yet.

16 years agoMerge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modeset...
Jesse Barnes [Tue, 8 Apr 2008 19:48:41 +0000 (12:48 -0700)]
Merge branch 'modesetting-101' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-101

16 years agoAdd devname in modeset case
Jesse Barnes [Tue, 8 Apr 2008 19:44:52 +0000 (12:44 -0700)]
Add devname in modeset case

If the driver is 'modeset' enabled, it'll register it's interrupt
handler at load time.  Set the devname in this case so that
/proc/interrupts makes sense.

16 years agoImproved DRM sysfs support
Jesse Barnes [Tue, 8 Apr 2008 19:42:23 +0000 (12:42 -0700)]
Improved DRM sysfs support

This patch ties outputs, output properties and hotplug events into the
DRM core.  Each output has a corresponding directory under the primary
DRM device (usually card0) containing dpms, edid, modes, and connection
status files.

New hotplug change events occur when outputs are added or hotplug events
are detected.

16 years agoradeon_ms: command buffer validation use array of function pointer
Jerome Glisse [Tue, 8 Apr 2008 00:18:14 +0000 (02:18 +0200)]
radeon_ms: command buffer validation use array of function pointer

16 years agoMissing KERNEL_VERSION macro
Patrice Mandin [Mon, 7 Apr 2008 20:24:24 +0000 (22:24 +0200)]
Missing KERNEL_VERSION macro

16 years agoradeon_ms: another fb fix reset mode if fb changed
Jerome Glisse [Mon, 7 Apr 2008 18:49:36 +0000 (20:49 +0200)]
radeon_ms: another fb fix reset mode if fb changed

16 years agoAdd DragonFly BSD support for device creation
Hasso Tepper [Mon, 7 Apr 2008 12:27:43 +0000 (15:27 +0300)]
Add DragonFly BSD support for device creation

DragonFly behaves just like FreeBSD in this regard.

16 years agonouveau: enable accelerated move to sysmem
Ben Skeggs [Mon, 7 Apr 2008 03:29:11 +0000 (13:29 +1000)]
nouveau: enable accelerated move to sysmem

16 years agonouveau: enable m2mf for tt<->vram moves, fix fence_poll
Ben Skeggs [Mon, 7 Apr 2008 03:05:51 +0000 (13:05 +1000)]
nouveau: enable m2mf for tt<->vram moves, fix fence_poll

16 years agoradeon_ms: fix framebuffer code
Jerome Glisse [Sun, 6 Apr 2008 17:23:20 +0000 (19:23 +0200)]
radeon_ms: fix framebuffer code

16 years agoradeon_ms: check for NULL fb
Jerome Glisse [Sun, 6 Apr 2008 17:01:31 +0000 (19:01 +0200)]
radeon_ms: check for NULL fb

16 years agoPlace highmem pages last in the ttm page array.
Thomas Hellstrom [Sun, 6 Apr 2008 09:21:22 +0000 (11:21 +0200)]
Place highmem pages last in the ttm page array.

16 years agoUse clflush() when available for cache flushing.
Thomas Hellstrom [Sun, 6 Apr 2008 08:32:02 +0000 (10:32 +0200)]
Use clflush() when available for cache flushing.

16 years ago[I915] Fix VRAM eviction.
Thomas Hellstrom [Sun, 6 Apr 2008 07:46:29 +0000 (09:46 +0200)]
[I915] Fix VRAM eviction.

16 years agoFix emergency allocation accounting.
Thomas Hellstrom [Sun, 6 Apr 2008 07:33:50 +0000 (09:33 +0200)]
Fix emergency allocation accounting.

16 years agonv50: primitive i2c interrupt handler
Maarten Maathuis [Sat, 5 Apr 2008 19:02:00 +0000 (21:02 +0200)]
nv50: primitive i2c interrupt handler

16 years agoradeon_ms: add crtc set base callback & fix palette
Jerome Glisse [Thu, 3 Apr 2008 01:15:47 +0000 (03:15 +0200)]
radeon_ms: add crtc set base callback & fix palette

16 years agoradeon_ms: fixes fb handling
Jerome Glisse [Thu, 3 Apr 2008 01:14:52 +0000 (03:14 +0200)]
radeon_ms: fixes fb handling

16 years agonv50: primitive display interrupt handler.
Maarten Maathuis [Wed, 2 Apr 2008 23:13:31 +0000 (01:13 +0200)]
nv50: primitive display interrupt handler.

16 years agoradeon_ms: small fix & cleanup to command checking
Jerome Glisse [Mon, 31 Mar 2008 19:50:02 +0000 (21:50 +0200)]
radeon_ms: small fix & cleanup to command checking

16 years agonouveau: fix return from function..
Dave Airlie [Mon, 31 Mar 2008 01:34:48 +0000 (11:34 +1000)]
nouveau: fix return from function..

dude kernel moduless use kernel errors :)

this fixes an oops on init when this codepath hits.