Commit Graph

1801 Commits

Author SHA1 Message Date
Keith Packard 8e7bc4b1f9 Use server sources for crtc/output generic code.
As sources for these have been merged to the server, use them from the
server source code instead of keeping copies in this driver.
2007-02-15 11:17:53 -08:00
Eric Anholt 6e33c4c440 Print the correct meaning of bit 30 of pipeconf for 965 in debug output. 2007-02-15 10:27:27 -08:00
Eric Anholt 4541150cdc Detect core clock frequencies, to avoid double-wide mode when possible.
Additionally, don't attempt to set double-wide on the 965, where there is
no such thing any more (not that we'd ever see modes high enough to trigger
it).
2007-02-15 10:27:16 -08:00
Wang Zhenyu d1be0dc4e9 EXA: fix i965 default color (0,0,0,1.0) -> (0,0,0,0)
(0,0,0,1.0) is actually black...
2007-02-15 11:03:12 +08:00
Wang Zhenyu c010d28f0a EXA: mask componentAlpha support
we're getting load of multiple sf/wm programs for i965, might
need to be cleanup in future.
2007-02-15 11:00:06 +08:00
Keith Packard ec55dd16c4 Global namespace cleanups, filename fixes.
Ensure all xf86 symbols created here are protected with XF86NAME.
Remove accidentally exported symbols from namespace.
Make all to-be-DI files prefixed with i830_xf86.
2007-02-14 14:37:02 -08:00
Keith Packard 22a271555a Create driver-independent DGA hooks, remove i830 DGA code.
As RandR needs to poke at DGA code, and we want the RandR code to be
driver-independent, it seemed easier to just make the DGA code
driver-independent as well.
2007-02-14 14:17:14 -08:00
root a7c64d5e28 WIP DGA generic support. 2007-02-14 10:20:28 -08:00
Michel Dänzer 55c7b017ed Use new DRI ClipNotify hook to track page flipping per CRTC when available. 2007-02-14 16:45:22 +01:00
Michel Dänzer 3bd8edb95f Revive i830 page flipping support.
Use the damage layer directly instead of via shadowfb.
2007-02-14 12:57:35 +01:00
Michel Dänzer 1d22bad33b Update SAREA pipe fields in i830PipeSetBase. 2007-02-14 12:57:12 +01:00
Michel Dänzer 0df490938a If the DRM can handle it, enable vertical blank interrupts for both pipes. 2007-02-14 12:54:57 +01:00
Eric Anholt 1623b47c48 Switch the RECTLIST vertex order to (x2, y2), (x1, y2), (x1, y1).
This is the documented correct ordering, and while the previous ordering
(reversed) worked on some hardware, it failed on others.

Reported by:	Wang Zhenyu <zhenyu.z.wang@intel.com>
2007-02-13 17:42:47 -08:00
Eric Anholt 4bd4058dfd Bug #9941: ViewSonic VX2025wm sync polarity quirk to fix mode distortion. 2007-02-13 14:29:52 -08:00
Eric Anholt 0ec4ffcb4e Fix double free in the case of LVDS disabled through quirks. 2007-02-13 13:18:15 -08:00
Eric Anholt 699fa88d25 Merge branch 'modesetting-origin' into modesetting 2007-02-13 13:10:08 -08:00
Eric Anholt 6641aec0a1 Attempt to detect panel fixed mode from EDID or current programmed mode.
These two sources are placed in higher priority to the BIOS data when
available, since the BIOS data has proven unreliable.  The BIOS data is still
read, and warnings printed if it doesn't match what we probe.  The BIOS data
remains useful for the situation where we want to turn on LVDS but there is no
EDID available and no current mode programmed (i.e. booting with VGA or TV
connected).
2007-02-13 10:21:12 -08:00
Eric Anholt 991439d4c7 Remove dead #if 0-ed structure. 2007-02-13 10:07:47 -08:00
Eric Anholt c3aed56d46 Fix comments on 965 pitch alignment restrictions. 2007-02-09 13:16:37 -08:00
Daniel Stone 98318dfcc9 add missing files to fix distcheck
A bunch of files were missing from _SOURCES, and the build was also broken
for missing files (from EXTRA_DIST) when building without gen4asm.
2007-02-09 16:20:57 +02:00
Zou Nan hai fce4390c4f TV Enable 2007-02-09 11:32:22 +08:00
Zou Nan hai 00dadaa115 set DPLL before detect 2007-02-09 11:14:50 +08:00
Wang Zhenyu 10712c7a78 EXA: i965 pixmap pitch align
This seems like a typo, which causes screen artifacts.
2007-02-08 08:56:42 +08:00
Wang Zhenyu 44eacf2323 EXA: fix render issue with i965
Fix SF kernel with corrent coeffient work, and correct
VUE storage in multi texture case.
2007-02-07 17:30:51 +08:00
Zou Nan hai 920aeaf847 Make TV code same with external tree.
Fallback to old filter table.
  4 spaces indent reformat.
  Auto scaling seem to not work well on some low res interlace mode when input width > 1024, filter those modes.
  Fix some subcarriar number
2007-02-07 13:15:52 +08:00
Zou Nanhai 6d9757e466 Fix hang when TV is not connect. 2007-02-05 14:59:53 +08:00
Eric Anholt 681b91924c Add subpixel offsets to fix accelerated rotated rendering on i915.
This fixes the rendercheck "transformed src/mask coords 2" tests. Previously,
the source pixels chosen would be off by one in some cases.

The particular values were taken from Mesa, which uses .125 offsets (except
apparently broken for y), but the signs are changed.  I would be happier if
I had better justification for why this worked.
2007-02-02 17:41:40 -08:00
Eric Anholt 76a4f2eea8 Fix bad offsets in "right" rotation of the CRTC in cursor and update handling. 2007-02-02 17:34:41 -08:00
Keith Packard 785a59ead0 Rename driver from i810 to intel. Permit old name for compatibility.
Driver installs as intel_drv.so with symlink to i810_drv.so to ensure
existing configurations continue to work. Updated manual page to reflect
name change and add attributions for recent work.
2007-02-01 22:48:44 -08:00
Keith Packard 1dde7a15a3 Merge branch 'modesetting-origin' into modesetting 2007-02-01 21:31:27 -08:00
Keith Packard 16f30b2e6c Add "Ignore" option to per-output monitor, removes output from server.
Setting option "Ignore" "Yes" will cause the server to pretend as if the
specified output does not exist at all. It will not be listed by the
RandR1.2 extension, and the server will not attempt to detect monitors at
startup time.
2007-02-01 21:30:19 -08:00
Wang Zhenyu b3633506dc Add Intel 965GM chipset support 2007-02-02 11:35:44 +08:00
Wang Zhenyu 380129a17c Revert original crestline pci id patch 2007-02-02 11:33:46 +08:00
Wang Zhenyu f7489bbec1 Merge branch 'modesetting' into crestline
Conflicts:

	src/i830_display.c
	src/i830_tv.c
	src/i830_xf86Crtc.c
2007-02-02 11:26:57 +08:00
Wang Zhenyu ae6d3585a4 Merge branch 'modesetting' of git://proxy.ims.intel.com:9419/git/xorg/driver/xf86-video-intel into modesetting 2007-02-02 11:21:59 +08:00
Keith Packard 9f0acf1eb0 Check for rotation change in xf86RandR12CrtcSet.
xf86RandRCrtcSet was ignoring changes to only rotation, so the screen would
be left incorrectly rotated.
2007-02-01 15:44:18 -08:00
Eric Anholt 1ba45a3fcd Improve register debugging output.
This includes not reporting some fields on hardware where those bits are
reserved, correcting one of the hardware error bit numbers, and reducing
the severity of the debugging output warnings.
2007-02-01 13:26:38 -08:00
Eric Anholt 9bfeadbd5b Remove some more dead options. 2007-02-01 12:06:10 -08:00
Eric Anholt d6bc03c379 Bug #9819: Add two headers that are apparently necessary on older X Servers. 2007-02-01 11:28:34 -08:00
Eric Anholt 351866b032 Sync before overwriting Render acceleration state on the 965. 2007-01-31 15:49:03 -08:00
Eric Anholt 96783a4589 Fix copy-and-paste-o in the render code cleanup that broke XAA. 2007-01-31 15:48:02 -08:00
Eric Anholt 5238ff9c80 Naming and formatting cleanup in Render acceleration code. 2007-01-31 14:01:41 -08:00
Eric Anholt c47210d94e Move the render code to non-EXA-specific filenames. 2007-01-31 12:50:31 -08:00
Eric Anholt 72ea0e514d Remove custom accelerated rotation code now that it's all done through Render. 2007-01-31 12:43:38 -08:00
Eric Anholt e62751db8b Add an accelerated path for rotation Render operations in XAA.
The now-generic (kind of) EXA code will be cleaned up and moved to generic
files in a later commit.
2007-01-31 12:15:38 -08:00
Zou Nan hai f1285ecb72 tune 2007-01-31 14:58:08 +08:00
Zou Nan hai 0620a7650f fix 2007-01-31 11:21:11 +08:00
Zou Nan hai 12441e217a add 720p@50Hz,
however 720p in this freq seems to not support src width,
  hactive > 800, so skip those inputs.
2007-01-31 11:20:23 +08:00
Zou Nan hai 726c7dd896 TV fixes. 2007-01-31 10:34:39 +08:00
Eric Anholt 4cd552e8f4 Fix accelerated Render transformations.
Previously, we tried to use 2 points instead of 3 to describe the source
rectangles, which mostly just worked for scaling.
2007-01-30 16:34:50 -08:00