nouveau
16 years agorandr12: Only enable crtc at the very last stage, should avoid mode setting "blinking".
Maarten Maathuis [Mon, 5 Nov 2007 19:04:26 +0000 (20:04 +0100)] 
randr12: Only enable crtc at the very last stage, should avoid mode setting "blinking".

16 years agorandr12: Add a native mode for TMDS and make that preferred + some ddc related fixes.
Maarten Maathuis [Mon, 5 Nov 2007 09:03:15 +0000 (10:03 +0100)] 
randr12: Add a native mode for TMDS and make that preferred + some ddc related fixes.

16 years agoFix a thinko from commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e.
Ben Skeggs [Mon, 5 Nov 2007 00:44:58 +0000 (11:44 +1100)] 
Fix a thinko from commit 62294d9be8ec6f1159e3c2ad273649f937b7aa7e.

16 years agorandr12; Forgot a small thing.
Maarten Maathuis [Sat, 3 Nov 2007 21:03:18 +0000 (22:03 +0100)] 
randr12; Forgot a small thing.

16 years agorandr12: A legitimate DPMS call could reset the ramdac and effectively disable the...
Maarten Maathuis [Sat, 3 Nov 2007 20:54:48 +0000 (21:54 +0100)] 
randr12: A legitimate DPMS call could reset the ramdac and effectively disable the mouse.

16 years agorandr12: Hopefully improve the native flatpanel mode finder.
Maarten Maathuis [Sat, 3 Nov 2007 09:00:06 +0000 (10:00 +0100)] 
randr12: Hopefully improve the native flatpanel mode finder.

16 years agorandr12: We cannot reset ramdacs during detect, there may not be a modesetting after it.
Maarten Maathuis [Fri, 2 Nov 2007 22:17:16 +0000 (23:17 +0100)] 
randr12: We cannot reset ramdacs during detect, there may not be a modesetting after it.

16 years agorandr12: Futher refine crtc timings, hoping to solve the "pink line" issue.
Maarten Maathuis [Fri, 2 Nov 2007 20:44:40 +0000 (21:44 +0100)] 
randr12: Futher refine crtc timings, hoping to solve the "pink line" issue.

16 years agorandr12: Improved ramdac choosing, based on bios information (or value).
Maarten Maathuis [Thu, 1 Nov 2007 16:54:26 +0000 (17:54 +0100)] 
randr12: Improved ramdac choosing, based on bios information (or value).

16 years agorandr12: Remove redundant output setup + don't print full edid.
Maarten Maathuis [Thu, 1 Nov 2007 16:01:53 +0000 (17:01 +0100)] 
randr12: Remove redundant output setup + don't print full edid.

16 years agorandr12: Cursor fixes(probably only affects nv4x).
Maarten Maathuis [Thu, 1 Nov 2007 12:00:45 +0000 (13:00 +0100)] 
randr12: Cursor fixes(probably only affects nv4x).

16 years agorandr12: Improve analog monitor allignment + misc fixes.
Maarten Maathuis [Thu, 1 Nov 2007 10:10:24 +0000 (11:10 +0100)] 
randr12: Improve analog monitor allignment + misc fixes.

16 years agonv40: what can I say? oops!
Ben Skeggs [Thu, 1 Nov 2007 07:35:33 +0000 (18:35 +1100)] 
nv40: what can I say? oops!

16 years agonv40: completely untested fix for composite on ppc
Ben Skeggs [Thu, 1 Nov 2007 07:17:20 +0000 (18:17 +1100)] 
nv40: completely untested fix for composite on ppc

Thanks go to ps3rsx guys for finding the issue.

16 years agorandr12: Some misc cleanup to make malc0's patches work.
Maarten Maathuis [Wed, 31 Oct 2007 21:59:54 +0000 (22:59 +0100)] 
randr12: Some misc cleanup to make malc0's patches work.

16 years agorandr12: The "easy" TMDS registers, please report regressions.
Maarten Maathuis [Wed, 31 Oct 2007 20:30:36 +0000 (21:30 +0100)] 
randr12: The "easy" TMDS registers, please report regressions.

16 years agorandr12: Misc register fixes.
Maarten Maathuis [Wed, 31 Oct 2007 18:00:28 +0000 (19:00 +0100)] 
randr12: Misc register fixes.

16 years agorandr12: Some changes to VCLK ratio handling.
Maarten Maathuis [Wed, 31 Oct 2007 12:22:29 +0000 (13:22 +0100)] 
randr12: Some changes to VCLK ratio handling.

16 years agorandr12: some blob copying
Maarten Maathuis [Wed, 31 Oct 2007 08:18:59 +0000 (09:18 +0100)] 
randr12: some blob copying

16 years agoFix bugs in nv30 exa (kde text seems back)
Stephane Marchesin [Wed, 31 Oct 2007 01:09:08 +0000 (02:09 +0100)] 
Fix bugs in nv30 exa (kde text seems back)

16 years agoNV10 EXA: implement repeat for 1x1 textures
Peter Winters [Tue, 30 Oct 2007 22:04:28 +0000 (23:04 +0100)] 
NV10 EXA: implement repeat for 1x1 textures

16 years agoNV10 EXA: Fix viewport setup
Peter Winters [Sun, 28 Oct 2007 22:52:22 +0000 (23:52 +0100)] 
NV10 EXA: Fix viewport setup

16 years agorandr12: Flatpanel scaling is finally working, read full message.
Maarten Maathuis [Tue, 30 Oct 2007 20:00:54 +0000 (21:00 +0100)] 
randr12: Flatpanel scaling is finally working, read full message.

- The option FPScale is now obeyed and will cause scaling to happen in the monitor.
- The default is scaling is using the GPU.
- When the aspect ratio is very different(>0.10 diff), it will obey aspect ratio and create bands around it.

16 years agorandr12: Some copyright stuff.
Maarten Maathuis [Tue, 30 Oct 2007 12:54:25 +0000 (13:54 +0100)] 
randr12: Some copyright stuff.

16 years agorandr12: Disable some panel scaling stuff, because it is broken.
Maarten Maathuis [Tue, 30 Oct 2007 12:44:44 +0000 (13:44 +0100)] 
randr12: Disable some panel scaling stuff, because it is broken.

16 years agorandr12: Lots of misc fixes.
Maarten Maathuis [Tue, 30 Oct 2007 10:44:58 +0000 (11:44 +0100)] 
randr12: Lots of misc fixes.

- This does not fix the issue with -hsync, +vsync modelines (or the other way around) yet.
- There are two PVIO ranges, i'm surprised noone noticed this.
- Some misc fixes.

16 years agoDisable nv30 exa no big endian until we fix the endianness bugs related to the 3D...
Stephane Marchesin [Tue, 30 Oct 2007 00:49:38 +0000 (01:49 +0100)] 
Disable nv30 exa no big endian until we fix the endianness bugs related to the 3D engine.

16 years agoUse the new header with license.
Stephane Marchesin [Tue, 30 Oct 2007 00:37:45 +0000 (01:37 +0100)] 
Use the new header with license.

16 years agoMore copyrights I remember...
Stephane Marchesin [Mon, 29 Oct 2007 22:00:14 +0000 (23:00 +0100)] 
More copyrights I remember...

16 years agoAdd some copyrights... not all files are covered yet, but I did the ones I recalled.
Stephane Marchesin [Mon, 29 Oct 2007 21:57:30 +0000 (22:57 +0100)] 
Add some copyrights... not all files are covered yet, but I did the ones I recalled.

16 years agorandr12: My suspicion was incorrect, i2c buses are swapped for all nv4x
Maarten Maathuis [Mon, 29 Oct 2007 17:37:34 +0000 (18:37 +0100)] 
randr12: My suspicion was incorrect, i2c buses are swapped for all nv4x
it seems.

16 years agorandr12: Show NV_RAMDAC_FP_DEBUG_0 of both ramdac's when output is refused.
Maarten Maathuis [Mon, 29 Oct 2007 12:40:30 +0000 (13:40 +0100)] 
randr12: Show NV_RAMDAC_FP_DEBUG_0 of both ramdac's when output is refused.

16 years agorandr12: Minor change, turning on bit 18 of NV_RAMDAC_SEL_CLK.
Maarten Maathuis [Mon, 29 Oct 2007 12:34:20 +0000 (13:34 +0100)] 
randr12: Minor change, turning on bit 18 of NV_RAMDAC_SEL_CLK.

16 years agonv30 exa : add A8 dst (requires new drm), add some dst formats, handle 1x1 repeat...
Stephane Marchesin [Fri, 26 Oct 2007 13:50:40 +0000 (15:50 +0200)] 
nv30 exa : add A8 dst (requires new drm), add some dst formats, handle 1x1 repeat, enable by default.

16 years agoFix nv30 exa.
Stephane Marchesin [Fri, 26 Oct 2007 02:37:51 +0000 (04:37 +0200)] 
Fix nv30 exa.

16 years agos/#define ABC ;/#define ABC do { ; } while(0);/
Arthur Huillet [Thu, 25 Oct 2007 14:55:18 +0000 (16:55 +0200)] 
s/#define ABC ;/#define ABC do { ; } while(0);/

16 years agoNV10 EXA: implemented masking via register combiners and added (disabled by default...
Arthur Huillet [Thu, 25 Oct 2007 14:40:34 +0000 (16:40 +0200)] 
NV10 EXA: implemented masking via register combiners and added (disabled by default) statistics displaying

masking works for ARGB, XRGB (it's a nop), A8 - no component alpha for now, but it will come soon hopefully

16 years agoNV10 EXA: fixed A8 as pointed out by p0g
Arthur Huillet [Thu, 25 Oct 2007 08:52:59 +0000 (10:52 +0200)] 
NV10 EXA: fixed A8 as pointed out by p0g

16 years agoNV10 EXA: added support for A8 as source
Arthur Huillet [Thu, 25 Oct 2007 08:38:42 +0000 (10:38 +0200)] 
NV10 EXA: added support for A8 as source

16 years agoNV10 EXA: use proper XRGB format and use correct RC setup
Peter Winters [Thu, 25 Oct 2007 08:03:39 +0000 (10:03 +0200)] 
NV10 EXA: use proper XRGB format and use correct RC setup

16 years agoNV10 EXA: always use an even width for NPOT_SIZE
Peter Winters [Thu, 25 Oct 2007 07:59:01 +0000 (09:59 +0200)] 
NV10 EXA: always use an even width for NPOT_SIZE

16 years agonv30: Fix some corruption. Give us some semblance of icons (still messed up though)
Jeremy Kolb [Wed, 24 Oct 2007 23:34:49 +0000 (19:34 -0400)] 
nv30: Fix some corruption.  Give us some semblance of icons (still messed up though)

16 years agoFix a few NV_IMAGE_BLIT offsets.
Maarten Maathuis [Wed, 24 Oct 2007 18:28:46 +0000 (20:28 +0200)] 
Fix a few NV_IMAGE_BLIT offsets.

16 years agoNV10EXA : enabled by default for NV1x. Waiting for pq before doing the same for NV2x.
Arthur Huillet [Wed, 24 Oct 2007 08:40:17 +0000 (10:40 +0200)] 
NV10EXA : enabled by default for NV1x. Waiting for pq before doing the same for NV2x.

16 years agoXv: disabled YV12 overlay for NV20 chipsets that do not seem to have it
Arthur Huillet [Wed, 24 Oct 2007 07:37:34 +0000 (09:37 +0200)] 
Xv: disabled YV12 overlay for NV20 chipsets that do not seem to have it

16 years agorandr12: The last step to make lower flatpanel resolutions working.
Maarten Maathuis [Wed, 24 Oct 2007 07:08:41 +0000 (09:08 +0200)] 
randr12: The last step to make lower flatpanel resolutions working.

- Note: the previous randr12 commit also contained some fixes in this area.

16 years agorandr12: Misc changes.
Maarten Maathuis [Tue, 23 Oct 2007 22:00:59 +0000 (00:00 +0200)] 
randr12: Misc changes.

16 years agox8r8g8b8 now seems to work (it passes rendercheck) with format 0x380
Arthur Huillet [Tue, 23 Oct 2007 20:53:46 +0000 (22:53 +0200)] 
x8r8g8b8 now seems to work (it passes rendercheck) with format 0x380

16 years agoRemove NV10 texture formats that are all wrong.
Arthur Huillet [Tue, 23 Oct 2007 20:53:21 +0000 (22:53 +0200)] 
Remove NV10 texture formats that are all wrong.

16 years agoNV10 EXA: A8R8G8B8 without mask works with rendercheck now
Arthur Huillet [Tue, 23 Oct 2007 17:12:19 +0000 (19:12 +0200)] 
NV10 EXA: A8R8G8B8 without mask works with rendercheck now

16 years agorandr12: actually add scaling factor's
Maarten Maathuis [Tue, 23 Oct 2007 16:41:38 +0000 (18:41 +0200)] 
randr12: actually add scaling factor's

- This was forgotten when i first added this from the haiku driver.

16 years agorandr12: Add a few debug statements that should explain why an output is refused.
Maarten Maathuis [Tue, 23 Oct 2007 14:22:56 +0000 (16:22 +0200)] 
randr12: Add a few debug statements that should explain why an output is refused.

16 years agorandr12: Check if output is needed before creating it.
Maarten Maathuis [Tue, 23 Oct 2007 14:19:10 +0000 (16:19 +0200)] 
randr12: Check if output is needed before creating it.

- This hopefully fixes a problem some NV30 people have.

16 years agoRevert a G70 workaround, this may BREAK your setup.
Maarten Maathuis [Tue, 23 Oct 2007 13:47:49 +0000 (15:47 +0200)] 
Revert a G70 workaround, this may BREAK your setup.

- Please report if you have issues, but be prepared to help out to find a real fix.

16 years agoadded (disabled) NV10 EXA hooks
Arthur Huillet [Mon, 22 Oct 2007 17:02:17 +0000 (19:02 +0200)] 
added (disabled) NV10 EXA hooks

16 years agoadded NV10 EXA functions to proto header
Arthur Huillet [Mon, 22 Oct 2007 17:00:20 +0000 (19:00 +0200)] 
added NV10 EXA functions to proto header

16 years agoFix some blending stuff for NV10 EXA
Peter Winters [Mon, 22 Oct 2007 15:04:23 +0000 (17:04 +0200)] 
Fix some blending stuff for NV10 EXA

16 years agoAdd basic RC setup for NV10 EXA
Peter Winters [Mon, 22 Oct 2007 15:01:26 +0000 (17:01 +0200)] 
Add basic RC setup for NV10 EXA

16 years agoFix NV10 EXA transform
Peter Winters [Mon, 22 Oct 2007 14:50:47 +0000 (16:50 +0200)] 
Fix NV10 EXA transform

16 years agoFix NV10 EXA list of supported formats
Peter Winters [Mon, 22 Oct 2007 14:48:53 +0000 (16:48 +0200)] 
Fix NV10 EXA list of supported formats

16 years agoVarious NV10 EXA fixes
Peter Winters [Mon, 22 Oct 2007 14:44:08 +0000 (16:44 +0200)] 
Various NV10 EXA fixes

16 years agoFix bad s/
Ben Skeggs [Mon, 22 Oct 2007 11:48:13 +0000 (22:48 +1100)] 
Fix bad s/

16 years agoRevert "EXA: now caching BLIT_OPERATION and RECT_OPERATION..."
Pekka Paalanen [Sun, 21 Oct 2007 16:55:41 +0000 (19:55 +0300)] 
Revert "EXA: now caching BLIT_OPERATION and RECT_OPERATION..."

This reverts commit 6d8caf5e0dd915809152c52c2c56a39d76e2ed8c.

Conflicts:

src/nv_exa.c

The above mentioned commit broke EXA copy and solid operations on nv20
after display mode change. Triggered by running freedroid in fullscreen.
(Not freedroidRPG)

16 years agoAdd back comment.
Maarten Maathuis [Sat, 20 Oct 2007 18:30:02 +0000 (20:30 +0200)] 
Add back comment.

16 years agorandr12: Fix critical bug and minor change.
Maarten Maathuis [Fri, 19 Oct 2007 22:26:02 +0000 (00:26 +0200)] 
randr12: Fix critical bug and minor change.

- The previous code could allow the TMDS[0x4] register of both heads to be set to 0x88.
- This caused problems and freaked out my monitor and scared me as well :-(
- Until further notice, the usage of this swap bit is restricted to very specific situations.

16 years agorandr12: Some changes to crtc regs.
Maarten Maathuis [Fri, 19 Oct 2007 18:57:58 +0000 (20:57 +0200)] 
randr12: Some changes to crtc regs.

16 years agorandr12: Some changes to output detection.
Maarten Maathuis [Fri, 19 Oct 2007 06:06:33 +0000 (08:06 +0200)] 
randr12: Some changes to output detection.

- I'm aware that we still can't fully program modes.

16 years agoRemove xaa includes.
Stephane Marchesin [Wed, 17 Oct 2007 23:56:17 +0000 (01:56 +0200)] 
Remove xaa includes.

16 years agoHandle -minline-all-stringops properly
Stephane Marchesin [Wed, 17 Oct 2007 23:55:06 +0000 (01:55 +0200)] 
Handle -minline-all-stringops properly

16 years agore-align nv40exa after ring macro changes
Ben Skeggs [Wed, 17 Oct 2007 12:28:50 +0000 (23:28 +1100)] 
re-align nv40exa after ring macro changes

16 years agoSwitch to *_RING instead of NVDma*
Ben Skeggs [Wed, 17 Oct 2007 12:22:05 +0000 (23:22 +1100)] 
Switch to *_RING instead of NVDma*

16 years agoSwitch to header generated from XML + other cleanups.
Ben Skeggs [Wed, 17 Oct 2007 05:29:01 +0000 (16:29 +1100)] 
Switch to header generated from XML + other cleanups.

- Renamed object header to nouveau_class.h, so it's not confused with mmio
- Removed usage of method defines in nv_dma.h
- Removed 2D engine EXA composite hook, it was broken, useless and soon to
  be obsoleted by card-specific versions.
- Use names in a few places that magic values were previously used.

16 years agonouveau: missing include
Dave Airlie [Mon, 15 Oct 2007 23:28:58 +0000 (09:28 +1000)] 
nouveau: missing include

16 years agomore changes to nv30 exa... displays the pictures at their correct postition and...
Stephane Marchesin [Sun, 14 Oct 2007 15:10:59 +0000 (17:10 +0200)] 
more changes to nv30 exa... displays the pictures at their correct postition and size but doesn't obey the blending parameters (i.e. no blending takes place).

16 years agorandr12: Some fallback defaults for dual-dvi cards, please submit dumps when you...
Maarten Maathuis [Sat, 13 Oct 2007 21:02:27 +0000 (23:02 +0200)] 
randr12: Some fallback defaults for dual-dvi cards, please submit dumps when you can.

16 years agoEXA: now caching BLIT_OPERATION and RECT_OPERATION (0x2FC) to limit the number of...
Arthur Huillet [Sat, 13 Oct 2007 20:28:39 +0000 (22:28 +0200)] 
EXA: now caching BLIT_OPERATION and RECT_OPERATION (0x2FC) to limit the number of IRQs on NV04

16 years agorandr12: Revert a small unnecesary change.
Maarten Maathuis [Sat, 13 Oct 2007 19:45:50 +0000 (21:45 +0200)] 
randr12: Revert a small unnecesary change.

16 years agorandr12: Hopefully fix panel size detection and allow negative hsync/vsync polarities.
Maarten Maathuis [Sat, 13 Oct 2007 19:33:07 +0000 (21:33 +0200)] 
randr12: Hopefully fix panel size detection and allow negative hsync/vsync polarities.

16 years agorandr12: Some debug stuff.
Maarten Maathuis [Sat, 13 Oct 2007 15:26:32 +0000 (17:26 +0200)] 
randr12: Some debug stuff.

16 years agorandr12: Remove a double reg and misc changes.
Maarten Maathuis [Sat, 13 Oct 2007 10:52:10 +0000 (12:52 +0200)] 
randr12: Remove a double reg and misc changes.

16 years agorandr12: Some misc changes.
Maarten Maathuis [Fri, 12 Oct 2007 17:49:32 +0000 (19:49 +0200)] 
randr12: Some misc changes.

16 years agoRemove division in NV30EXATransformCoord. We want coords between 0 and texture width...
Jeremy Kolb [Fri, 12 Oct 2007 00:32:47 +0000 (20:32 -0400)] 
Remove division in NV30EXATransformCoord.  We want coords between 0 and texture width, height.

16 years agorandr12: Misc fix.
Maarten Maathuis [Wed, 10 Oct 2007 19:40:13 +0000 (21:40 +0200)] 
randr12: Misc fix.

16 years agorandr12: Fix switch mode function, so fullscreen apps don't screw up your screen...
Maarten Maathuis [Wed, 10 Oct 2007 18:08:28 +0000 (20:08 +0200)] 
randr12: Fix switch mode function, so fullscreen apps don't screw up your screen by definition ;-)

16 years agoOops.
Stephane Marchesin [Wed, 10 Oct 2007 12:43:34 +0000 (14:43 +0200)] 
Oops.

16 years agoTry to do something for our desastrous UTS/DFS performance. My PCI card is really...
Stephane Marchesin [Wed, 10 Oct 2007 12:42:46 +0000 (14:42 +0200)] 
Try to do something for our desastrous UTS/DFS performance. My PCI card is really hurting.

16 years agoStill more work on nv30 exa... now starts but nothing works.
Stephane Marchesin [Wed, 10 Oct 2007 00:34:06 +0000 (02:34 +0200)] 
Still more work on nv30 exa... now starts but nothing works.

16 years agoDon't swap the registers from user space. This is very wrong, and the drm will handle...
Stephane Marchesin [Tue, 9 Oct 2007 22:48:46 +0000 (00:48 +0200)] 
Don't swap the registers from user space. This is very wrong, and the drm will handle that soon.

16 years agoRevert back to the other shaders. The terminator instruction doesn't seem to help...
Stephane Marchesin [Tue, 9 Oct 2007 22:48:06 +0000 (00:48 +0200)] 
Revert back to the other shaders. The terminator instruction doesn't seem to help, and breaks the A8 hack.

16 years agoCleanup some nv30 exa issues, add debbuging info to the composite hook.
Stephane Marchesin [Tue, 9 Oct 2007 02:38:29 +0000 (04:38 +0200)] 
Cleanup some nv30 exa issues, add debbuging info to the composite hook.

16 years agoSome fixes to nv30_exa. Now goes through a couple of composite() calls without crashing.
Stephane Marchesin [Tue, 9 Oct 2007 01:28:39 +0000 (03:28 +0200)] 
Some fixes to nv30_exa. Now goes through a couple of composite() calls without crashing.

16 years agoUse terminators on the nv30/40 shaders.
Stephane Marchesin [Tue, 9 Oct 2007 01:28:11 +0000 (03:28 +0200)] 
Use terminators on the nv30/40 shaders.

16 years agorandr12: Small changes makes finding regressions easy ;-)
Maarten Maathuis [Mon, 8 Oct 2007 17:53:56 +0000 (19:53 +0200)] 
randr12: Small changes makes finding regressions easy ;-)

16 years agoEXA: Starting from version 2.4 we can't use devPrivate.ptr anymore.
Maarten Maathuis [Sat, 6 Oct 2007 17:04:51 +0000 (19:04 +0200)] 
EXA: Starting from version 2.4 we can't use devPrivate.ptr anymore.

16 years agosome more work on nv30 exa...
Stephane Marchesin [Fri, 5 Oct 2007 21:50:18 +0000 (23:50 +0200)] 
some more work on nv30 exa...

16 years agorandr12: Misc changes.
Maarten Maathuis [Fri, 5 Oct 2007 20:29:07 +0000 (22:29 +0200)] 
randr12: Misc changes.

16 years agomandatory oops commit.
Stephane Marchesin [Fri, 5 Oct 2007 15:20:05 +0000 (17:20 +0200)] 
mandatory oops commit.

16 years agoSplit nv30 exa and nv40 exa.
Stephane Marchesin [Fri, 5 Oct 2007 15:18:40 +0000 (17:18 +0200)] 
Split nv30 exa and nv40 exa.

16 years agoNV30 texture changes. Commented out table that appears to work for nv35 at least.
Jeremy Kolb [Fri, 5 Oct 2007 03:15:38 +0000 (23:15 -0400)] 
NV30 texture changes. Commented out table that appears to work for nv35 at least.

16 years agoFix NV30 arch check.
Jeremy Kolb [Fri, 5 Oct 2007 00:37:35 +0000 (20:37 -0400)] 
Fix NV30 arch check.