Commit graph

4324 commits

Author SHA1 Message Date
Ben Skeggs
af8a76bd22 nv50/kms: get rid of nv50_fb_info 2009-02-04 15:03:46 +10:00
Ben Skeggs
f16514cccc nv50/kms: remove kms_priv 2009-02-04 15:03:46 +10:00
Ben Skeggs
8ed61cf557 nv50/kms: remove nv50_kms_get_scaling_mode() 2009-02-04 15:03:46 +10:00
Ben Skeggs
98e859f2f7 nv50/kms: remove redefinitions of scaling modes.. 2009-02-04 15:03:45 +10:00
Ben Skeggs
140a2da135 nv50/kms: remove or_counter, unused 2009-02-04 15:03:45 +10:00
Ben Skeggs
9f20d45d0a nv50/kms: clean up dcb_table usage a little 2009-02-04 15:03:45 +10:00
Ben Skeggs
d2b4a1fc8b nv50/kms: remove now unused fields from structs 2009-02-04 15:03:45 +10:00
Ben Skeggs
12f2125f11 nv50/kms: remove nv50_connector.type, also redundant 2009-02-04 15:03:44 +10:00
Ben Skeggs
c45ad75cd5 nv50/kms: remove nv50_output.type, it's redundant 2009-02-04 15:03:44 +10:00
Ben Skeggs
d84972f0eb nv50/kms: get rid of struct nouveau_mode 2009-02-04 15:03:44 +10:00
Ben Skeggs
ef42af67ce nv50/kms: merge nv50_kms_crtc and nv50_crtc 2009-02-04 15:03:44 +10:00
Ben Skeggs
1b6ff5a4db nv50/kms: merge nv50_output and nv50_kms_output 2009-02-04 15:03:44 +10:00
Ben Skeggs
4736d2172f nv50/kms: merge nv50_connector and nv50_kms_connector 2009-02-04 15:03:43 +10:00
Ben Skeggs
8e96ee5341 nouveau: bring in current mm implementation 2009-02-04 15:03:43 +10:00
Ben Skeggs
68891ae2ef nouveau: install libdrm_nouveau with libdrm 2009-02-04 15:03:34 +10:00
Ben Skeggs
6ef7b032ea nouveau: bring in new mm api definitions, without the actual mm code
Use of the new bits is guarded with a mm_enabled=0 hardcode.
2009-02-04 13:28:39 +10:00
Ben Skeggs
34b74c06b6 nv50: ack nsource to prevent continuous protection fault irqs 2009-02-04 13:28:19 +10:00
Ben Skeggs
91a86bdc12 ttm: fix drm_fence_wait_polling timeout value 2009-02-04 13:27:54 +10:00
Dave Airlie
bbd5e64216 radeon: make dword writes be inlined
This moves the size checks to the begin section and makes dword
writes inline for all CS people.

Gets me back some of my CPU
2009-02-04 11:11:55 +10:00
Dave Airlie
98738555d1 radeon: add space accounting to cs code 2009-01-31 01:50:23 +10:00
Dave Airlie
e9298a02ac radeon: add bo_wait functionality 2009-01-13 16:48:04 +10:00
Dave Airlie
2b0c9c01c2 radeon: add new getparam to get pcidevice 2009-01-11 09:49:00 +10:00
Dave Airlie
d587c6f150 radeon: make name consistent with libdrm_intel 2008-12-22 12:26:56 +10:00
Dave Airlie
b3d4e7433d radeon: size the relocs correctly 2008-12-22 11:57:15 +10:00
Dave Airlie
c93f1c88ce radeon: drop more cs2 2008-12-19 16:44:22 +10:00
Dave Airlie
8c40a5c648 radeon: more cs2 removal 2008-12-19 16:43:01 +10:00
Dave Airlie
4b10ddff78 radeon: drop CS2 into CS, remove start/end offset 2008-12-19 16:31:55 +10:00
Jesse Barnes
12e68f8059 Merge branch 'master' into modesetting-gem 2008-12-03 11:54:07 -08:00
Jesse Barnes
d5d5aca7f9 Merge branch 'master' into modesetting-gem 2008-12-03 11:53:36 -08:00
Eric Anholt
b0d93c74d8 Bump version to 2.4.2 to signal new libdrm_intel functions. 2008-12-02 12:19:37 -08:00
Eric Anholt
6fb1ad767d intel: Add a function for setting (GTT,GTT) domain, for use by UXA.
This function can also serve the role that the bo_wait_rendering did, when
write_enable is unset.
2008-12-02 12:19:34 -08:00
Ben Skeggs
7e4e0fbbb8 nv50: support NV94 chipset 2008-11-23 18:49:09 +11:00
Ben Skeggs
52232ad702 nv50: update context-related tables for original 8800GTS
I either messed up when I pulled these from a mmio-trace last time, or
the previous values didn't work on my card.  Hopefully it's the former!

In any case, at least one of the original NV50 chipsets work now.
2008-11-21 13:18:58 +11:00
Jesse Barnes
10c3e1a8b5 Merge branch 'master' into modesetting-gem 2008-11-20 11:01:24 -08:00
Jesse Barnes
2e2fd6c632 DRM: make drm_map_type match upstream kernel
Since the TTM type isn't upstream yet, we need to make sure libdrm uses
what the kernel uses, which is _DRM_GEM = 6.
2008-11-20 11:00:29 -08:00
Jesse Barnes
5923831baf DRM: make drm_map_type match kernel
GEM is upstream, but TTM isn't, so _DRM_GEM needs to be 6, not 7.
2008-11-20 10:57:33 -08:00
Stephane Marchesin
c029ed2510 Unbreak drm build. 2008-11-19 23:17:27 +01:00
Jesse Barnes
c67a83dfe1 Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem 2008-11-19 12:42:49 -08:00
Jesse Barnes
60c1e3a09e libdrm_intel: fix merge error
don't take the lock twice
2008-11-19 10:56:48 -08:00
Jesse Barnes
8f5d8ba97e Update modetest 2008-11-19 10:54:11 -08:00
Jerome Glisse
e98eda9159 Revert "gem: protect idr_pre with the spinlock"
This reverts commit f46aba4332.
2008-11-17 13:35:51 +01:00
Jerome Glisse
f46aba4332 gem: protect idr_pre with the spinlock
There seems to be an issue if we don't protect idr_pre with
the spinlock we use for idr operations.
2008-11-16 18:13:16 +01:00
Jerome Glisse
7270731a8b radeon: protect cs ioctl atomic part with a mutex
A small subset of CS need to be atomic (relocation+IB commit to
ring) right now, because of the way relocation are handled, we
need to protect the whole ioctl.
2008-11-16 18:11:00 +01:00
Jerome Glisse
c0ba14fd90 libdrm-radeon: add print callback to cs & small fixes 2008-11-16 18:04:43 +01:00
Jerome Glisse
5ae79e7edd libdrm-radeon: unref return current BO ptr to reflect BO destruction 2008-11-15 10:39:37 +01:00
Dave Airlie
1f66021854 drm/bo: fix stupid lock imbalance 2008-11-15 12:30:09 +10:00
Jerome Glisse
080a45624b libdrm-radeon: unreference buffer once cs stream is submited or on cs clean
BO are referenced once by reloc to make sure that they not destroyed
before we get a chance to flush the cmd stream, so we need to unreference
them once in cs submit or cs erase if cs i never submitted so bo can
be destructed.
2008-11-14 12:16:10 +01:00
Jerome Glisse
bfbecc5c42 libdrm-radeon: new tracker tools
To keep record of bo activities and print them when necessary,
should help in tracking unbalanced ref/unref calls.
2008-11-14 12:16:10 +01:00
Jesse Barnes
965b4d662a Merge branch 'master' into modesetting-gem
Conflicts:

	libdrm/Makefile.am
	libdrm/intel/intel_bufmgr.h
	libdrm/intel/intel_bufmgr_fake.c
	libdrm/intel/intel_bufmgr_gem.c
	shared-core/drm.h
	shared-core/i915_dma.c
	shared-core/i915_irq.c
	shared-core/radeon_cp.c
	shared-core/radeon_drv.h
2008-11-13 15:30:06 -08:00
Jesse Barnes
7e27b3ba88 libdrm_intel: fix warnings on 64 bit
Cast a couple of %llx args to unsigned long long.
2008-11-13 13:58:32 -08:00