Commit Graph

70 Commits

Author SHA1 Message Date
Alan Hourihane f90f661652 Copy mode strings upon mode copy 2005-07-09 21:19:11 +00:00
Alan Hourihane 8fced5b648 Fix Xvideo when operating in one line mode and video is pushed off the top of
the screen. Also some fixes for Xvideo skew in certain resolutions.
2005-07-05 09:25:03 +00:00
Alan Hourihane 68bc259fa1 NULL check 2005-07-04 20:45:39 +00:00
Alan Hourihane 83c3e3ee49 Add support to check the in-built VESA mode list. 2005-06-28 16:13:02 +00:00
Adam Jackson 0d64e9e1f5 Bug #3626: _X_EXPORT tags for video and input drivers. 2005-06-25 21:16:55 +00:00
Alan Hourihane 67174d67e7 commit missing piece from resume patch 2005-06-13 12:15:25 +00:00
Alan Hourihane ddab0558d5 Bug #3496 <https://bugs.freedesktop.org/show_bug.cgi?id=3496>
Remove a bogus check for DRM 1.2 for resume functionality as it's
been present since 1.1
2005-06-09 09:26:03 +00:00
Alan Hourihane 7f49513afe Fix the mode validation such that using function 5f05 to set the refresh rate
works again.
2005-06-08 17:50:32 +00:00
Alan Hourihane f8de9b4b9a Fix text restoration when display switching has been activated and we could be
potentially on a different display than the initial one.
2005-06-07 18:54:10 +00:00
Alan Hourihane 1f538007e9 missed a hunk 2005-06-06 09:47:29 +00:00
Alan Hourihane d8a32bf427 Bug #3436 <https://bugs.freedesktop.org/show_bug.cgi?id=3054>
Fix some offset, pitch and overlay scaler size problems with
the video overlay. Solves various spontaneous lockups.
2005-06-06 09:40:23 +00:00
Alan Hourihane 005d121d28 and another. sheesh. 2005-05-31 20:29:01 +00:00
Alan Hourihane 27f86d693c missed hunk 2005-05-31 20:27:24 +00:00
Alan Hourihane 27feb0f347 Add Intel(R) 945G support 2005-05-31 17:58:26 +00:00
Alan Hourihane 2d10e8dc81 Change the sequence on how refresh rates are set in the i830 driver. This works
much better with custom modelines.
2005-05-25 09:10:44 +00:00
Alan Hourihane 89ec4ac201 Bugzilla #3292: https://bugs.freedesktop.org/show_bug.cgi?id=3292
Add shadowFB support to the Intel driver (Dima Dorfman)
2005-05-20 15:24:02 +00:00
Alan Hourihane df0964ea8f Bugzilla #2339: https://bugs.freedesktop.org/show_bug.cgi?id=2339
Bugzilla #1064: https://bugs.freedesktop.org/show_bug.cgi?id=1064
Bugzilla #3055: https://bugs.freedesktop.org/show_bug.cgi?id=3055
Much better display switching support for mobile chipsets using
the Fn+F? combination keys.
Add DirectColor support.
Add gamma correction support.
2005-05-20 13:24:02 +00:00
Alan Hourihane b99ef9cd59 Bugzilla #2585: https://bugs.freedesktop.org/show_bug.cgi?id=2585
Support the Intel E7221 server chipset.
2005-05-20 11:56:45 +00:00
Adam Jackson 3b87fac327 Bug #3163: Create new DRIINFO_*_VERSION macros to indicate the
version number of the DRIInfoRec, disambiguating it from the XF86DRI
protocol version number.  Modify DRIQueryVersion to return the libdri
version number, which all DDXes were requesting implicitly.  Fix the
DDXes to check for the DRIINFO version they were compiled against.
2005-05-18 17:47:35 +00:00
Daniel Stone 72100ac7cf Fix includes right throughout the Xserver tree:
* change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
  * change "foo.h", "extensions/foo.h" and "X11/foo.h" to
    <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
  * change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:28 +00:00
Alan Hourihane c813bf6559 Fix initial DDC parameters when validating modes. 2005-04-14 22:55:01 +00:00
Alan Hourihane e637630908 Check the VESA BIOS scanline requirements and adjust the displayWidth
accordingly. Fixes an assumption that the screen width was always used as the
displayWidth.
2005-04-01 14:17:24 +00:00
Alan Hourihane 5090c8ba67 a one line fixup to the UseDDC code 2005-03-21 21:20:39 +00:00
Alan Hourihane 8bc9b0d7da Fix some bad alignment problems when allocating memory from
the end of AGP space.
Bugzilla #2764 (https://bugs.freedesktop.org/show_bug.cgi?id=2764)
2005-03-21 18:57:39 +00:00
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). 2004-08-30 03:19:08 +00:00
Kevin E Martin 15c61546ea Fix i810 compilation without Xinerama (Bug #1180, Simon Schubert). 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).
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