Commit Graph

141 Commits

Author SHA1 Message Date
Wang Zhenyu d7e5d996aa Merge branch 'master' into exa 2006-06-20 01:22:53 +08:00
Alan Hourihane a73ab7f0e6 additions for rotation fixes 2006-06-19 11:35:42 +01:00
Alan Hourihane 1fe3dd38eb Set some invarient state, cures some problems with
rotation at startup.

This mimicks the 3D drivers setup.
2006-06-19 11:27:28 +01:00
Eric Anholt 89a5a0024a Fix crash with EXA during randr, when XAA structures were being accessed. EXA
shouldn't have any issues with there also being pixmaps in framebuffer while
rotation is active.
2006-06-18 00:32:17 -07:00
Eric Anholt f2ab3aa319 Fix DRI in EXA mode: Don't attempt to use XAA symbols (use the driver's internal
ones for EXA support when available).  Also, add an abstraction of XAA/EXA
MarkSync and WaitSync functionality so we don't need to sprinkle the ifdefs all
over, and correctly use them.
2006-06-18 00:32:01 -07:00
Alan Hourihane 3592b432b4 fix 8bpp & 16bpp rotation modes for i8xx
series chips
2006-06-13 21:42:53 +01:00
Alan Hourihane a50610b771 Use 800x600 mode to double check 2006-06-12 13:53:20 +01:00
Alan Hourihane f02268b209 Don't rely on register check to find out
if we're resuming - it's not reliable.

But then, neither is the BIOS, but it's
the best we can hope for until Eric's work
is complete.

Try setting another mode to cater for some
broken BIOS' too.
2006-06-12 12:16:58 +01:00
Alan Hourihane 672c3d18db Only mark rotation flags after initial screen setup.
Fixes bug #7053
2006-06-12 10:02:06 +01:00
Dave Airlie 6812b53820 intel: fix VT switch DRI locking
The DRI locking is incorrect at VT switch, due to reference counting
inside the driver. Just call the DRI directly.
2006-06-02 12:22:14 +10:00
Wang Zhenyu bc42dbe07c fix a typo 2006-05-22 11:22:03 +08:00
Wang Zhenyu e70d99d51e revert wrong setting for memorySize, which should
be at the range of pI830->Offscreen.
2006-05-19 15:47:19 +08:00
Wang Zhenyu b3d79ad9ec oop I830FALLBACK define error 2006-05-18 16:31:40 +08:00
Wang Zhenyu 33ad959323 Add DEBUG_I830FALLBACK for easier tracking 2006-05-18 11:32:59 +08:00
Wang Zhenyu 52af679c94 Check alignment require in PrepareSolid, noticed by Eric,
as pixmap offset align set is violated in Solid.
2006-05-18 11:31:14 +08:00
Wang Zhenyu fdb52a8c6d Solid planemask in PrepareSolid/Copy might be 0xffffffff
or bits up to the depth. This should save some fallback
case, noticed by Eric.
2006-05-18 11:24:46 +08:00
Dave Airlie f97895efd5 fixup chipid override
This makes the ChipID override work so that we actually override the pci id
that gets used everywhere in the driver.
2006-05-17 14:46:37 +10:00
Wang Zhenyu 011a1c99d4 Fix memorySize to enable offscreen mem manage. 2006-05-17 11:16:00 +08:00
Keith Packard f2967a2f5f Video overlay gamma bounds checking must be done bytewise.
Also, pend bound computations to register writes to allow
updates to individual values that are 'out of spec' so
the client can update multiple values.
(cherry picked from 190f9ad060 commit)
2006-05-09 13:57:23 -07:00
Matthieu Herrb 86f0119f47 Fix non-dri build. 2006-05-01 10:41:10 +02:00
Wang Zhenyu fcec956807 Save initialize EXADriverPtr, and free it in failure. 2006-04-29 10:55:25 +08:00
Wang Zhenyu 0be9bc6044 I830CheckDevicesTimer() sync should be in I830_USE_XAA case. 2006-04-29 10:54:02 +08:00
Wang Zhenyu a00a3d198a fix I830BIOSAdjustFrame() sync in I830_USE_EXA case, use exaWaitSync() helper. 2006-04-29 10:52:45 +08:00
Eric Anholt c94cc67bcc Update to EXA 2.0 API. 2006-04-28 15:33:57 -07:00
Eric Anholt a4a4ced50c Get it to compile. 2006-04-28 14:59:52 -07:00
Eric Anholt 941a49f91e Commit what applied from Jesse Barnes's i830-exa-latest.patch. 2006-04-28 14:57:03 -07:00
Alan Hourihane 1dbb19059f fix bug 6365 2006-04-20 10:43:19 +01:00
Ian Romanick a85be82003 Add missing new-line character in log message. 2006-04-17 12:52:30 -07:00
Alan Hourihane 3c9bc19db6 fix typo 2006-04-12 21:54:50 +01:00
Wang Zhenyu a797a6626a Fix a broken test that resulted in page flipping always being enabled, not just
when the user enabled it.
2006-04-11 16:44:42 -07:00
Eric Anholt 66d216da3b Replace .cvsignore with .gitignore. 2006-04-11 16:37:10 -07:00
Adam Jackson 692a4a4baf Bump to 1.6.0. 2006-04-10 11:27:25 -07:00
Aaron Plattner 43c93057c0 Add a DrawablePtr argument to the XV functions to pave the way for redirected
video.
2006-04-10 11:26:33 -07:00
Alan Hourihane 39bdfbb4c2 x86_64 warning fixes 2006-04-10 11:26:06 -07:00
Dave Airlie 35e4756645 Fix some argument inversions in xf86DrvMsg function calls 2006-04-05 07:12:00 +00:00
Kristian Høgsberg 6e5f9b0263 Add more missing #include's, in particular assert.h. 2006-04-04 18:22:32 +00:00
Kristian Høgsberg fdfce49c54 Drop libc wrapper; don't include xf86_ansic.h and add includes now missing. 2006-03-22 23:24:03 +00:00
Alan Hourihane 58817c9909 Enable gamma for hw cursor when ARGB cursor in use (Lukas Hejtmanek) 2006-03-10 13:07:00 +00:00
Alan Hourihane ab4c2f3bf4 Check the version of shadow being used and turn off rotation if it isn't the
right one.
Bump the Xvideo resolution support from 1920x1080 to 1920x1088.
2006-03-03 16:27:37 +00:00
Alan Hourihane 073c4a6a18 Fix a rotation problem when DRI is disabled 2006-02-20 03:22:26 +00:00
Alan Hourihane 7cca2ae73e fix another build problem 2006-02-19 00:04:49 +00:00
Alan Hourihane 2e01277da0 fix build failure 2006-02-17 16:16:10 +00:00
Alan Hourihane 86fa253693 a little more of a workaround until we unplug the frontbuffer from libdri 2006-02-15 18:31:22 +00:00
Alan Hourihane 32f97e02ac temporary workaround until DRI frontbuffer mapping code is removed from
libdri.a
2006-02-10 21:59:37 +00:00
Alan Hourihane 076971b95e When going dual head only take a portion of memory for the second head
instead of doubling the requirements.
2006-01-25 22:22:42 +00:00
Alan Hourihane 77d1c579f3 Fix a glitch in a dual head fix from #3105 2006-01-25 22:17:00 +00:00
Alan Hourihane d8d7490809 Bump version to 1.5.0.0
Add Intel 945GM support
Add RandR rotation support (full 3D acceleration, HWcursor & Xvideo rotated too)
Remove shadow framebuffer rotation code
Add a new LinearAlloc option to allow more offscreen memory to be allocated
for XVideo applications. This allows HDTV movies to be played via Xvideo.
2006-01-24 15:20:34 +00:00
Eric Anholt 159bea0278 Add .cvsignores for drivers. 2005-11-21 10:49:14 +00:00
Kevin E Martin 08f03e4237 Bump version numbers for X11R6.9/X11R7 RC2. 2005-11-09 21:31:20 +00:00
Adam Jackson 25a63bfefd Bug #4829: Remove some useless DRI symbol checks. 2005-10-21 18:40:19 +00:00