9696 Commits

Author SHA1 Message Date
Alan Hourihane
50a105e88c LFP's may exist on Pipe A in older i830's. Check that case so that Panel ID can
be obtained and Xvideo is correctly setup for panel fitting.
2005-03-15 13:10:23 +00:00
Alan Hourihane
eb8b5df739 Enforce DDC monitor ranges usage if we have them and reject bad
modes. Use NoDDC option to override DDC timings. We currently
only use DS_RANGES, but could use other DDC information, as does
the common layer, to deduce the h/v ranges.
2005-03-15 11:32:10 +00:00
Alan Hourihane
49dcbacf7f Limit the maximum refresh rate to 85Hz and remove the bogus
100Hz and 120Hz settings as they don't match close enough and
are really unsupported.
2005-03-03 18:01:51 +00:00
Alan Hourihane
7eaf88d00d Fix an off by one error when scaling which caused occasional
overlay color lines at the far right and bottom of the window.
2005-03-01 19:53:28 +00:00
Alan Hourihane
28d65bceae Fix unaligned YV12 videos that caused skew when playing. 2005-02-10 13:16:08 +00:00
Alan Hourihane
6352e65b9c Fix pixmap cache corruption when Xv was in use due to a memory allocator
calculation problem.
2005-02-10 10:41:20 +00:00
Alan Hourihane
f691f95921 Setup the Xv atoms correctly. 2005-02-08 20:13:33 +00:00
Egbert Eich
31a4191a97 Check the pixel clock choosen for a specific refresh rate
against the maximally allowed pixel clock when choosing
mode lines for VBESetVBEMode() and VESA BIOS version >= 3.0
(Bugzilla #2486).
2005-02-07 11:56:31 +00:00
Alan Hourihane
a103496e08 Check return value of i830InitDma() and fail to initialize the DRI
if that fails.
Also, check the DRM module name that it matches i915 and not the
older i830 driver which some people were still trying to use
and was causing Dma Initialization failures and lockups.
2005-02-01 19:47:32 +00:00
Egbert Eich
7ff7cec922 Unmap XCursor AGP memory on VT switch to prevent system from lockup
(Matthias Hopf).
2005-01-24 15:02:17 +00:00
Alan Hourihane
d4c87adf67 Revert some changes to TweakMemorySize 2005-01-10 11:29:02 +00:00
Alan Hourihane
076c5116ae Add:
- Intel i915GM support to 2D DDX and 3D Mesa drivers.
- PanelID identification
- DRI suspend/resume support
- Detection of monitor changes on VT switches
- Support custom video modes if available in the Video BIOS
- 3D enhancements:
	* GL_ARB_texture_cube_map
	* GL_EXT_blend_equation_separate
	* GL_ATI_blend_equation_separate
	* GL_ARB_point_parameters
	* GL_NV_blend_square
	* GL_EXT_cull_vertex
	* GL_ARB_depth_texture
	* GL_SGIX_depth_texture
	* GL_ARB_shadow
	* GL_EXT_shadow_funcs
	* GL_3DFX_texture_compression_FXT1
By Tungsten Graphics, Keith Whitwell & Alan Hourihane.
2005-01-06 14:43:14 +00:00
Adam Jackson
edb9b6fde0 Bug #1488: Fix crash on i830 during startup. (Eric Anholt) 2005-01-03 16:03:56 +00:00
Markus Kuhn
59cecb714b Encoding of numerous files changed to UTF-8 2004-12-04 00:43:09 +00:00
Egbert Eich
c24b0e04f3 Fixed KGA handling for i810. KGA handling for chips derived from C&T chips is
slightly different. The changes make the code consistent with the C&T (chips)
and i740 drivers.
2004-11-02 08:54:53 +00:00
Egbert Eich
7ce4898ee3 Removing vtSema shilding of accel sync - should have been '&&' instead of '||'
anyway.
2004-10-27 09:52:15 +00:00
Egbert Eich
88714c3b22 Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and
RestoreBIOSMemSize() to be exactly opposite to the Save procedure in EnterVT()
(Matthias Hopf, Alan Hourihane).
Fixed server crash on reset when a structure allocated in PreInit() was freed on
CloseScreen().
Fixed ring buffer lock ups that happened because the structure that contained
ringbuffer data was not zeroed after allocation.
Fixed numerous warnings due to signed unsigned comparisons.
2004-10-12 19:13:43 +00:00
Egbert Eich
687298daed Checking if server isn't switched away before calling sync.
Sanity check for possible bugs in aother areas of the code.
Fixing default amount of of allocated video memory from AGP for i810: Use 16MB
if less than 192MB are installed else use 24MB (Matthias Hopf).
2004-10-11 09:58:04 +00:00
Adam Jackson
d2866271b8 Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones. 2004-09-22 04:38:03 +00:00
Adam Jackson
88fd270d23 Bug #1192: Remove cfb support from drivers where its use is an option.
Delete xf24_32bpp, as s3virge was the last user.  Fix up some comments
to refer to fb rather than cfb.
2004-09-17 03:04:51 +00:00
Kevin E Martin
9e8e19c6fd Fix ARGB cursor problem on i810 (Bug #1195, Alan Hourihane). rel-0-6-1 XORG-6_8_0 XORG-6_7_99_904 XORG-6_8_1 2004-08-30 03:19:08 +00:00
Kevin E Martin
15c61546ea Fix i810 compilation without Xinerama (Bug #1180, Simon Schubert). XORG-6_7_99_903 2004-08-26 05:10:56 +00:00
Kevin E Martin
828c0fb805 Fix i810 driver startup on Sony VAIO laptop (Bug #1084, Dave Airlie). 2004-08-25 00:30:41 +00:00
Egbert Eich
c4626af83d Do I810EmitFlush() during screen init to make sure 2D engine is in a sane state
(Peter Kunzmann).
XORG-6_7_99_902 XORG-6_7_99_901 XORG-6_7_99_2 XORG-6_7_99_1
2004-07-30 21:36:40 +00:00
Egbert Eich
e0e01b7d61 add i845 to the list of chips that allow memory size tweaking. 2004-07-30 20:38:27 +00:00
Adam Jackson
199620cdc9 Bug #400 (partial): Driver fixes for the dlloader. When using
dlloader, all framebuffer formats except cfb and the overlay modes
should work, and r128 and radeon need to be loaded from the ati
driver (both issues to be fixed soon).  Tested on i740, s3virge,
mach64, tdfx, vesa, and vga drivers.  elfloader users shouldn't be
affected.
2004-07-30 20:30:52 +00:00
Egbert Eich
54e644ffbb Removed bugs on TweakMemorySize() which prevented it from working at all.
Initialized last element of BIOS version number string to 0 to avoid random
problems.
2004-07-30 19:04:14 +00:00
Kevin E Martin
3a3b00f18a Fix "DoLoadableServer NO" build 2004-07-30 04:44:13 +00:00
Egbert Eich
986bc24892 Increase default video RAM size to 16MB when DRI is enabled and more than 128MB
are available (Egbert Eich).
Fixed lockups during mode switch. Problem was introduced when attempting to copy
the behavior during LeaveVT()/EnterVT() but but forgetting to call
I810DRILeave() before I810DRIEnter(). The entire DRILeave()/Enter() scenario has
been commented out as it didn't seem to be necessary (Egbert Eich).
Fix TweakMemorySize() (tested with i855/i865) (Egbert Eich).
2004-07-06 14:37:47 +00:00
Alan Hourihane
b7310758e6 add CmdBuffer 2004-06-22 15:12:42 +00:00
Alan Hourihane
5ed7e6f842 i915 support
Dual Head support for i830, i855, i915.
ARGB cursor support (including i810) for all chipsets.
2004-06-22 14:28:46 +00:00
Eric Anholt
a46e95722d Mop-up from the DRI 20040613 import, taking care of some drm.h
header location and type changes, and update the ChangeLog.
2004-06-16 19:16:54 +00:00
Eric Anholt
35a5cf103e Merge DRI-trunk-20040613 changes in programs/Xserver/hw/xfree86/drivers, with
the following notes:

- Savage and Mach64 (= ati/ati*.[ch] changes) DRI not merged due to insecurity.
- VIA driver converted to new drmContext and drmHandle names.
- Radeon driver merge conflicted in many places, and MergedFB at least could
  probably use some checking at this point.
2004-06-16 09:44:00 +00:00
Eric Anholt
bec47f9369 DRI trunk-20040613 import DRI-trunk-20040721 DRI-trunk-20040613 2004-06-16 09:26:18 +00:00
Eric Anholt
c5b1972b50 DRI XFree86-4_3_99_12-merge import DRI-XFree86-4_3_99_12-merge 2004-06-16 09:23:18 +00:00
Egbert Eich
41eba03d0d Merging XORG-CURRENT into trunk 2004-04-23 19:35:55 +00:00
Egbert Eich
e27494f2a9 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 xf86-4_4_99_1 2004-03-14 08:33:22 +00:00
Egbert Eich
5ece535dc7 Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 xf86-4_4_0 2004-03-03 12:12:19 +00:00
Egbert Eich
ba904078dd readding XFree86's cvs IDs xf86-4_3_99_903 2004-02-26 13:35:53 +00:00
Egbert Eich
13ea363db3 Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:23:19 +00:00
Egbert Eich
64b129e800 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 xf86-4_3_99_903_special xf86-012804-2330 2004-01-29 08:08:35 +00:00
Kaleb Keithley
64d7bbf0ac XFree86 4.3.99.902 (RC 2) xf86-4_3_99_902 2003-12-19 20:55:10 +00:00
Kaleb Keithley
418eaaee10 XFree86 4.3.99.901 (RC 1) xf86-4_3_99_901 2003-12-04 22:03:17 +00:00
Kaleb Keithley
72063c52b8 XFree86 4.3.99.16
Bring the tree up to date for the Cygwin folks
xf86-4_3_99_16
2003-11-25 19:28:37 +00:00
Kaleb Keithley
e04a1a8f86 XFree86 4.3.0.1 xf86-4_3_0_1 2003-11-14 16:48:55 +00:00
Kaleb Keithley
3ad0d9a73b Initial revision 2003-11-14 16:48:55 +00:00