Commit Graph

4431 Commits (03ca202fa56ad7711ad0f7527a1e537154093e8a)

Author SHA1 Message Date
vehemens 0808cf923d Style white space cleanup part 2.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-09-06 18:55:03 -04:00
Robert Noland 6f2479c674 [FreeBSD] Ensure that drm_pci_alloc is never called while locks are held. 2008-09-06 18:37:06 -04:00
Dave Airlie f60d9a04b8 radeon: change interface from headers add pin_domain into padding 2008-09-07 08:09:24 +10:00
vehemens 31709aa2be Reorder lock functions like linux.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-09-05 12:42:41 -04:00
vehemens 76dd74c64e Style white space cleanup.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-09-05 12:42:41 -04:00
vehemens ed6dd03818 Need M_NOWAIT for malloc.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-09-05 12:38:41 -04:00
Robert Noland 3f915f68e8 i915: fix i915_ring_validate() 2008-09-05 12:38:41 -04:00
Dave Airlie 9f9f171f8e radeon: rs690 GART tables need to be in uncached memory.
Allocate the rs480/690 tables from uncached memory.
2008-09-05 10:57:47 +10:00
Stephane Marchesin ce84511f4d nouveau: 8200 cards are 0xA0 family. 2008-09-05 00:17:52 +02:00
Dave Airlie fe59d04a7c radeon: fixup a number of avivo checks for rs690 2008-09-04 11:57:00 +10:00
Dave Airlie 99f8cce3ea drm: fix sysfs error path.
Pointed out by Roel Kluin on dri-devel.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2008-09-02 10:08:26 +10:00
Dave Airlie cd7d71f19c radeon: make writeback work after suspend/resume.
While re-writing this for modesetting, I find we disable writeback on
resume.
2008-08-31 07:27:26 +10:00
vehemens 2b27804715 [FreeBSD] Use driver features macros and flags
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-29 15:46:06 -04:00
vehemens 2649103bf9 [FreeBSD] Convert drm_driver to a pointer like linux.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-29 15:46:05 -04:00
vehemens 71f0a3e389 [FreeBSD] Replace typedefs on bsd.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-29 15:46:05 -04:00
vehemens b92f557767 [FreeBSD] Catch up to vblank rework for via.
(No, we don't build via right now.)

Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-29 15:46:05 -04:00
vehemens 043ad591b5 [FreeBSD] Correct debug message
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-29 15:46:05 -04:00
Robert Noland c7f7b6d7e2 [FreeBSD] Fix a couple of locking problems. 2008-08-29 15:46:05 -04:00
Robert Noland f8a14b1f95 [FreeBSD] Increase debugging output for vblank code.
Doing my part to make DRM_DEBUG more chatty...
2008-08-29 15:46:05 -04:00
Tomas Carnecky b460aeec3e Fix drm_realloc when you're reallocing into something smaller. 2008-08-29 00:43:19 +02:00
Dave Airlie d88d1eac89 radeon: fixup LVDS mode getting
if we have no DDC we were oopsing. fix that.
then make a native panel mode
2008-08-29 07:20:24 +10:00
Dave Airlie 499170ad22 radeon: get lvds atombios info
set the correct values from atombios makes LVDS work a lot better
2008-08-28 16:35:25 +10:00
Dave Airlie 23cb67dfba drm: port X crtc picking algorithm.
This mimics the X.org from ajax with less options
2008-08-28 16:18:09 +10:00
Dave Airlie 9afe872ae9 radeon: limit LVDS to first CRTC for now 2008-08-28 11:30:55 +10:00
Dave Airlie 6a27e019bc radeon: fixup checks for crtc in dpms paths 2008-08-28 11:30:20 +10:00
Dave Airlie 7552b2a6c3 drm: fix some whitespace 2008-08-27 13:41:53 +10:00
Dave Airlie f9d4c58d43 radeon: braino pointed out on mailing list
thanks to Ville Syrjälä
2008-08-27 12:35:11 +10:00
Dave Airlie a4167e7b57 radeon: avoid oops on encoders with no crtc set 2008-08-27 11:12:19 +10:00
Stephane Marchesin bffbb497e2 Change git-describe into git describe. 2008-08-27 02:27:10 +02:00
Kristian Høgsberg 0239594fc3 [intel_bufmgr_gem] Remember global name when creating buffer from name. 2008-08-26 14:28:25 -04:00
Dave Airlie 01b2e7368a radeon/ttm: add support for zeroing the contents of VRAM buffers
This uses a solid fill fastpath, falling back to the slow memset path.
2008-08-26 17:44:47 +10:00
Dave Airlie 203243eea5 drm: add move zero function to memset unclean buffers 2008-08-26 17:43:12 +10:00
Dave Airlie c72a4e20e8 drm/ttm: export drm_bo_add_ttm 2008-08-26 17:42:36 +10:00
Dave Airlie 361ab10d2f radeon: fixup domains and use them properly 2008-08-26 17:39:00 +10:00
Dave Airlie 4c8e8e0d0b drm: add memory clean flag.
When the mapping is clean this flag will be set. This can be used
by a driver to save migrating and allocating pages for an object
that will first be used in VRAM.
2008-08-26 17:33:46 +10:00
Robert Noland c8fd8d3a0d i915: Fix i915 build on FreeBSD
ifdef out all the gem stuff for now.  Also, the msi stuff isn't portable
the way it is... I'll try and fix that up sometime soon.
2008-08-24 15:53:17 -04:00
Robert Noland bfea578352 [FreeBSD] Add drm_drawable_free_all() 2008-08-24 15:25:20 -04:00
Robert Noland 0687c0a4ec [FreeBSD] Fix long standing memory leak in drm_remove_magic.
We shuffled all the links around to disconnect the entry, but
never free it.  We would incorrectly free the last entry in the
hash chain if nothing matched.
2008-08-24 15:25:20 -04:00
Robert Noland d0acbe4553 i915: Convert vblank on disabled pipe DRM_ERROR to DRM_DEBUG. 2008-08-24 15:25:20 -04:00
Robert Noland 739b01dde4 i915: Clear sarea_priv during lastclose.
sarea_priv needs to be NULL before i915_initialized is called to
properly reset it.  The stale value produces a panic any time something
opens/closes drm without calling initialize.  i.e. version checking
2008-08-24 15:25:20 -04:00
Robert Noland 1f3c4dd938 i915: Free dev->dev_private on unload. 2008-08-24 15:25:19 -04:00
vehemens 3e9541230d [FreeBSD] Move vblank bits into their own structure.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-24 15:25:19 -04:00
vehemens e6010778a8 [FreeBSD] Fix lock leak.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2008-08-24 15:25:19 -04:00
Robert Noland 16c1a87580 i915: Move spinlock init / destroy to load / unload time.
This resolves the panic on FreeBSD during VT switch, without attempting
any of the more lofty goals for the time being.
2008-08-24 15:25:19 -04:00
Dave Airlie 9101a0205c libdrm: add udev support.
This patch allows you to --enable-udev, and will avoid having libdrm
make device nodes. If you are using udev, you should really --enable-udev
your libdrm.
2008-08-24 16:54:47 +10:00
Dave Airlie 9afd265943 drm: add gpu create script 2008-08-22 07:08:29 +10:00
Alex Deucher 76cec451d3 Merge branch 'modesetting-gem' of git+ssh://agd5f@git.freedesktop.org/git/mesa/drm into modesetting-gem 2008-08-19 13:08:47 -04:00
Alex Deucher ba61880ac8 radeon: fix warning from radeon_legacy_state removal 2008-08-19 13:06:04 -04:00
Alex Deucher b2c19c788a radeon: legacy lvds updates 2008-08-19 13:03:23 -04:00
root 0da66c27fa nouveau: fifo and graphics engine suspend and resume for nv04-nv4x
Corresponding DDX patch at http://people.freedesktop.org/~stuart/nv0x-nv4x_suspend/
2008-08-19 02:01:14 +01:00