Commit Graph

124 Commits

Author SHA1 Message Date
Eric Anholt 8e819ced83 It appears from the specs that you have to wait for vblank after disabling the
plane, not the pipe.
2006-04-06 15:56:59 -07:00
Eric Anholt ee2410b965 Move display base setting to a separate function and use it from both mode setup
and AdjustFrame.  Rename AdjustFrame to reflect the fact that it doesn't touch
the BIOS.
2006-04-06 15:56:49 -07:00
Eric Anholt 980fb78e75 Correct capitalization of i830SetMode. 2006-04-06 15:56:33 -07:00
Eric Anholt 2b842c7ee3 Start implementing support for setting modes for multiple output devices,
particularly LVDS.  Untested.
2006-04-06 15:56:29 -07:00
Eric Anholt a09d9cf27a Replace I830VESASetMode with simpler i830SetMode, which is all native and
doesn't have BIOS-setup workarounds.  Multihead behavior may be wrong, and it is
all untested.
2006-04-06 15:56:20 -07:00
Eric Anholt 7edb25789b Start making i830SetMode aware of multiple pipes. 2006-04-06 15:56:07 -07:00
Eric Anholt b5915ac77a Clean up a couple of warnings. 2006-04-06 15:56:06 -07:00
Eric Anholt c20e15fbe4 Disable I830VESASetVBEMode on restore, since I've removed that code. Note that
this means that VT switching is broken.  We're fine with that for now, but at
least now we get a bad display rather than X crashing about an undefined symbol.
2006-04-06 15:55:56 -07:00
Eric Anholt 7d37c50369 Re-disable chatty debug code. 2006-04-06 15:55:09 -07:00
Eric Anholt 2538cbeb50 Enable -Wall on GCC, and do a cleanup of existing warnings. 2006-04-06 15:55:05 -07:00
Eric Anholt 7746da3b34 Move LVDS panel power state setting to a separate function, and reduce magic
numbers.
2006-04-06 15:55:01 -07:00
Eric Anholt 142bc4f91a Write the ADPA (CRTC) register on mode setup. Obtained from airlied. 2006-04-06 15:54:51 -07:00
Eric Anholt 6877f532c5 Add untested CRT detection code. 2006-04-06 15:54:43 -07:00
Eric Anholt a085813714 Add adjustments of PLL divisor limits for "Almador". 2006-04-06 15:54:38 -07:00
Eric Anholt 2d4415ff17 Remove the hacked local xf86SetModeCRTC now that xf86SetCrtcForModes is taking
effect on all of our modes.
2006-04-06 15:54:33 -07:00
Eric Anholt 611264ab9b Remove more VBE stuff and start using xf86ValidateModes. Guessed some params to
xf86ValidateModes.
2006-04-06 15:52:52 -07:00
Eric Anholt 9838f63991 Always ErrorF output debugging info when doing BIOS calls, including file/line. 2006-04-06 15:52:40 -07:00
Eric Anholt 767944e378 Replace a few magic numbers with symbolic names. Reviewed by md5. 2006-04-06 15:52:34 -07:00
Eric Anholt 4955cd267e Add untested save/restore code, and starting on not using VBEValidateModes 2006-04-06 15:52:32 -07:00
Eric Anholt 73496b765c Change an if statement to a more obvious but equivalent case statement. 2006-04-06 15:52:27 -07:00
Eric Anholt 1555229f29 Move .cvsignore to .gitignore 2006-04-06 15:51:56 -07:00
Eric Anholt 139d33ac80 Initial add of native CRT modesetting code. 2006-04-06 15:51:53 -07: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
Alan Hourihane 6fda4e886c Bug #4353: Fix lockup when suspend and resume when playing video.
Shutdown the overlay on LeaveVT.
2005-10-03 09:39:17 +00:00
Alan Hourihane 154724cc4b Put back the print code to display the DDC information, and remove some bogus
DDC messages.
2005-09-27 08:58:23 +00:00
Adam Jackson 2174848266 Disable the {Open,Close}FullScreen DRI protocol.
Remove empty FullScreen stubs from drivers, comment the non-empty ones.
2005-09-24 18:45:45 +00:00
Alan Coopersmith b6443515e9 Don't build xvmc module if DRI support is not present 2005-09-22 01:58:17 +00:00
Alan Hourihane 50f0bf51a6 fix another possible crash 2005-09-08 14:51:40 +00:00
Alan Hourihane 521e357c18 Fix a crash situation 2005-09-08 09:31:04 +00:00
Alan Hourihane e8c46c8975 Fix DirectColor visual colormap issues at 16bpp in the i830 driver. 2005-09-06 10:31:33 +00:00
Alan Hourihane bf6fef4193 Sync the accelerator before calling AdjustFrame to avoid lockups. 2005-09-06 10:23:57 +00:00
Dave Airlie 5fc5f02d76 Add i810 XvMC support, it passes distcheck for me. 2005-08-29 12:06:13 +00:00
Dave Airlie 86e6935bd5 Fix include paths for i810 XvMC add config.h to driDrawable.c 2005-08-29 12:02:29 +00:00
Kristian Høgsberg 6f1406753d Added i830_io.c, which just includes i810_io.c with BUILD_FOR_I830 set. 2005-08-26 15:32:40 +00:00
Daniel Stone 219beaca91 Fix typo in debug ErrorF. 2005-08-21 06:26:33 +00:00
Alan Hourihane 461d43be78 Egbert's 64bit fixes for mixed 32/64bit clients 2005-08-15 07:30:05 +00:00
Alan Hourihane 95bd8dbee6 add missing i830_shadow.c 2005-08-12 21:23:59 +00:00
Alan Hourihane 7476d0413f Enable gamma correction bit even for 8bit modes.
The pipeconf register handles the real enablement.
2005-08-08 09:17:06 +00:00
Ian Romanick a89f89a242 I have resolved this by making all the "Direct rendering disabled" messages
X_WARNING and all the "Direct rendering enabled" messages X_INFO.  Ideally,
we need to factor some of this stuff out to common code.  There is a *LOT* of
duplication among the *_dri.c files under programs/Xserver/hw/xfree86/drivers.

I'm trying to clean up as much low hanging fruit as I can and got tired of
waiting for ajax. :P
2005-08-05 23:04:33 +00:00
Alan Hourihane fd6d7d7f7e Adjust newPipe code for BIOS's starting at 1200 2005-08-02 16:22:42 +00:00