Commit Graph

4232 Commits (9a4cb7eab4f74747cc777a3fef31dbb46e1191e5)

Author SHA1 Message Date
Dave Airlie 1c817cc3fc radeon: pull bus master enable into its own function 2008-11-03 09:32:39 +10:00
Dave Airlie 653b16f2dd radeon: fix accessible VRAM sizing 2008-11-03 09:31:17 +10:00
Dave Airlie b4803991c8 radeon: update proper chip family 2008-11-03 09:30:48 +10:00
Dave Airlie 3fd0e1483e radeon: fixup scratch register interactions properly 2008-11-03 09:29:22 +10:00
Dave Airlie a066a5f908 radeon: make writeback work again 2008-11-03 09:28:56 +10:00
Dave Airlie 0dbe3436ee radeon: fix some warnings 2008-11-03 09:28:36 +10:00
Dave Airlie 52ef9d87db radeon: fix small typo in agp code 2008-11-03 09:27:00 +10:00
Dave Airlie a8f07db596 radeon: workaround failure to parse some rs48x edid 2008-11-03 09:26:32 +10:00
Dave Airlie d275f99c9a radeon: don't enable dynclks on rs48x 2008-11-03 09:26:00 +10:00
Dave Airlie 48f2227516 radeon: export radeon_modeset 2008-11-03 09:25:32 +10:00
Dave Airlie f74721fc25 radeon: fix unused agp functionality 2008-11-03 09:24:13 +10:00
Dave Airlie b09cb93e2d radeon: add some more r100 support to test AGP 2008-11-03 09:23:19 +10:00
Jerome Glisse 7651b4c424 radeon: debug bo 2008-11-02 16:00:06 +01:00
Jerome Glisse 40c64eb524 Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem 2008-10-29 23:41:48 +01:00
Jerome Glisse 5d861951b3 radeon: libdrm_radeon updates bo & cs interfaces 2008-10-29 23:40:20 +01:00
Jesse Barnes 1db35ba583 libdrm: fix ABI change in drm_mode_get_encoder
The encoder_type field should be at the top to match the kernel.
2008-10-29 12:18:15 -07:00
Jerome Glisse af118cd186 radeon: reloc are backend dependant 2008-10-27 23:26:15 +01:00
Jerome Glisse 3b17b50e9c Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem 2008-10-27 19:33:56 +01:00
Jerome Glisse 7617d1fef7 radeon: radeon util library 2008-10-27 19:27:15 +01:00
Dave Airlie 389b7617b5 drm: make handles 32-bits again not sure why they changed 2008-10-27 17:06:23 +10:00
Jakob Bornecrantz 34a3ebffc3 mode: Try to settle on a standard for struct fields 2008-10-24 18:46:47 +02:00
Jakob Bornecrantz 0796bf8c6b mode: Indent defines 2008-10-24 18:23:39 +02:00
Dave Airlie 4c8aeb6fc7 link libdrm_intel properly
libdrm_intel needs symbols from libdrm, so link against it.
(cherry picked from commit d9c2f65dd8)

Conflicts:

	libdrm/Makefile.am
2008-10-17 06:40:38 +10:00
Dave Airlie 9dda3a8f63 libdrm: don't depend or link to libdrm_intel 2008-10-17 06:39:58 +10:00
Eric Anholt 6df7b0719f intel: Protect bufmgr objects with a pthread mutex.
We want to be able to use the bufmgr from multiple threads for GL, and thus
we need to protect the internal structures.

The pthread-stubs package is used so that programs not linked against
pthreads get weak symbols to stubs and don't eat most of the cost.
2008-10-17 06:38:57 +10:00
Dave Airlie 26076bf24a radeon: add initial agp support.
This add agpmode command line option.
2008-10-16 10:59:31 +10:00
Dave Airlie 8d9a11c55c radeon: add CS support for r100/r200 in 2D driver 2008-10-16 10:57:31 +10:00
Dave Airlie 66740cbd54 radeon: fixup interrupt suspend/resume 2008-10-16 10:55:24 +10:00
Dave Airlie 318770a78d radeon: fixup suspend/resume bus master enable 2008-10-16 10:53:55 +10:00
Dave Airlie 9c5819fc60 radeon: re-enable hw blits for copying from VRAM 2008-10-16 10:53:26 +10:00
Dave Airlie b18e6b0a0d radeon: fix buffer copying for VRAM->TT 2008-10-16 10:52:53 +10:00
Dave Airlie 3e3280eccc radeon: move memcpy until after CP is stopped 2008-10-16 10:52:28 +10:00
Dave Airlie 09f99dc5fe drm: remove stray debug code 2008-10-16 10:51:56 +10:00
Dave Airlie d958cd7bb9 radeon: use discardable flags on no backing store objects 2008-10-16 10:51:31 +10:00
Dave Airlie 11320fd6b1 drm: add discardable flag.
This discards memory contents on suspend/resume with the
hope the upper layers know something we don't.
2008-10-16 10:50:31 +10:00
Dave Airlie fc33686ef0 drm/radeon: initial suspend/resume fix.
This enables the evict code and also sets radeon up
to allow evict from VRAM to LOCAL
2008-10-16 10:49:58 +10:00
Alex Deucher e4fa03f7dd radeon: pull in recent fixes from ddx
- fixup atom digital encoder setup
- pull in add get edid (currently disabled due to
  lack of support for atom fb/scratch space)
2008-10-07 14:10:39 -04:00
Dave Airlie 4d1031a9f0 radeon: fix alignment so Xv works again 2008-10-06 16:40:45 +10:00
Dave Airlie 4a4d7727c6 radeon: fix pin ioctl interface to mesa can find offset for pinned buffers 2008-10-06 16:40:20 +10:00
Dave Airlie a981a68603 drm/radeon: fixup clean flag handling 2008-10-06 16:39:25 +10:00
Jesse Barnes af2323b4b3 intel bufmgr: reinstate buffer handle tracking
We need a way of getting at the underlying handle for use with mode
setting.  We can either export it in the dri_bo object or provide a new
callback to get it.
2008-09-30 16:35:53 -07:00
Dave Airlie 7b3aa62648 Merge remote branch 'origin/modesetting-gem' into modesetting-gem 2008-09-30 14:17:27 +10:00
Dave Airlie 972f657265 Merge remote branch 'origin/master' into modesetting-gem
Conflicts:

	libdrm/Makefile.am
	libdrm/dri_bufmgr.h
	linux-core/drm_irq.c
	linux-core/drm_sysfs.c
	linux-core/drm_ttm.c
	shared-core/i915_dma.c
	shared-core/i915_irq.c
	shared-core/nouveau_drv.h
	shared-core/radeon_cp.c
2008-09-30 14:13:49 +10:00
Alex Deucher 9c6732e790 radeon: use atom for ext tmds on r4xx 2008-09-26 17:32:15 -04:00
Alex Deucher 09b2dfcedc radeon: make atom on r4xx a module option
default is legacy modesetting.  pass module option r4xx_atom
to try using atom on r4xx.
2008-09-26 17:20:04 -04:00
Alex Deucher 89126bb58e Merge branch 'modesetting-gem' of git+ssh://agd5f@git.freedesktop.org/git/mesa/drm into modesetting-gem 2008-09-25 18:47:47 -04:00
Alex Deucher d883347f08 radeon: first pass at using atombios on r4xx hw 2008-09-25 18:45:07 -04:00
Jakob Bornecrantz ea9711b954 Seperate modesetting userspace bits into drm_mode.h 2008-09-25 23:13:19 +02:00
Dave Airlie 35e379ce5a radeon: add r600 modesetting registers writes 2008-09-24 15:25:35 +10:00
Dave Airlie dcf73de059 radeon: add parsing for r6xx object tables 2008-09-24 13:58:26 +10:00