summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-07-14Don't try to probe on more pipes than we really have.Eric Anholt
2006-07-14Current exa render implement for i830 and i915, test onWang Zhenyu
865GM and 915G. There is issue in picture 'repeat' support. And also stop recursive behavior in I830WaitLpRing to allow server to abort instead of system hang.
2006-07-13In I830xf86SortModes, catch cases where two modes are equal in only oneAdam Jackson
dimension, by comparing the areas of the modes. Otherwise, 800x600 would sort before 1024x600 if it was added later.
2006-07-13Fix a thinko; would only inject the FP native mode if a mode list was alreadyAdam Jackson
found, which is never the case when there's no xorg.conf.
2006-07-11Avoid NULL dereference if cursor position changes during a mode change.Eric Anholt
2006-07-11Bug #7443: Respect the user's Modes configuration, and make it more useful.Eric Anholt
Now, mode names generated by DDC get names of the form "WIDTHxHEIGHTxREFRESH". The matching for user Modes lines takes the user Modes as the prefix that needs to match, rather than an exact string match or "WIDTHxHEIGHT" match. So one can, for example, specify "1024x768" to get any old 1024x768, or 1024x768x60 to get one of the modes named 1024x768x60.
2006-07-11Fix crash with DDC when there are no user modes to add.Eric Anholt
2006-07-11Make gamma settings apply to the cursor as well, and fix clone-mode gamma.Luká\u0161 Hejtmánek
2006-07-11Add support for adjusting saturation value of overlay video.Luká\u0161 Hejtmánek
2006-07-11whoops, revert some unnecessary changesAlan Hourihane
2006-07-11Merge branch 'master' of ↵Alan Hourihane
git+ssh://git.freedesktop.org/git/xorg/driver/xf86-video-intel
2006-07-11Add an additional check before rotatingAlan Hourihane
2006-07-10Clean up warnings in sil164 module.Eric Anholt
2006-07-10Hook up SiI164 mode setting (just a matter of turning the chip on).Eric Anholt
Also adds register dumping in case this turns out to not be enough, and fixes a couple of prototypes.
2006-07-10Fix prototype for SaveRegs.Eric Anholt
2006-07-10Move to 4-space indents in sil164.Eric Anholt
2006-07-10Make DVO code light up my sil164-based DVI output, when already set up by BIOS.Eric Anholt
2006-07-10Fix modelist with a configured monitor to not begin with all unvalidated modes.Eric Anholt
2006-07-10Fix validation when the first mode is thrown out, and print hsync in modelines.Eric Anholt
2006-07-10Merge branch 'dvo-merge' into modesettingEric Anholt
Conflicts: src/i830_driver.c
2006-07-10Supply proper NULL-terminated symbol lists to avoid crashing.Eric Anholt
2006-07-08Improve output bus setup to include LVDS setup for pre-i915.Eric Anholt
2006-07-07Initial add of DVO support code. Probes my sil164.Eric Anholt
This is a mostly-untested merge of airlied's work. The I2C modules are intended to be moved into the core server or a separate driver module when they're functional and we're happy with the API.
2006-07-05Don't try to probe modes on an SDVO device with NULL sdvo_drv.Eric Anholt
2006-07-05More fixes to "choose closest mode for the pipe" code to select correct refresh.Eric Anholt
2006-07-03Bug #7375: Don't double-free the current XF86 mode after a randr reprobe.Eric Anholt
2006-07-03Only override display size with the XFree86 mode's for actual panel scaling.Eric Anholt
2006-06-28Replace i830InjectModes with i830DuplicateModes usage.Eric Anholt
The remaining functionality of DuplicateModes was OBE, and the name was bad.
2006-06-28Validate and insert user and VESA standard modes for DDC or configured fallback.Eric Anholt
This isn't really tested because I lack a good CRT to test against currently.
2006-06-28Replace xf86ValidateModes usage with a set of custom validators and pruning.Eric Anholt
This moves us to maintaining MonPtrs per pipe instead of using the EDID structure "xf86MonPtr", which is closer to what we want to be looking at when doing validation. The new validation isn't enough yet -- particularly, we aren't importing and validating the custom modelines to the pipes when applicable, but this will be easier than (for example) trying to make flat panel modes pass xf86ValidateModes through various gross hacks. Hotplug turn-on/off also happens at SwitchMode time now, instead of at randr probe time.
2006-06-27If the panel power registers are all zeroes on Mobile parts, disable LVDS.Eric Anholt
This is the case on the Mac mini, which is an i945GM but has no LVDS attached. Powering on with the power timing registers zeroed would probably be a bad idea, even if there was a panel attached.
2006-06-27Fix randr current mode reporting and mode loss/mis-configuration on re-randr.Eric Anholt
2006-06-26Fix remaining warning.Eric Anholt
2006-06-26Merge branch 'master' into exaEric Anholt
Conflicts: src/i830.h
2006-06-26Fix build with new EXA headers.Eric Anholt
2006-06-26Merge branch 'origin'Eric Anholt
2006-06-26Clean up warnings.Eric Anholt
2006-06-26Merge branch 'master' into modesettingEric Anholt
Conflicts: src/i830.h
2006-06-26Turn on extra warning flags for GCC, and clean up the resulting fallout.Eric Anholt
2006-06-26Fix the plane/pipe disabling and turn off missing outputs when no longer DDCed.Eric Anholt
2006-06-26Fix FP scaling by using the desired mode to get at the real [HV]Display.Eric Anholt
2006-06-26Add a function to turn off unused outputs, DPLLs, planes, and pipes.Eric Anholt
2006-06-26Fix DDC probing after last (untested) commit.Eric Anholt
2006-06-26Unset pipe current mode on EnterVT, so we reprogram the mode for sure.Eric Anholt
2006-06-26Major cleanup of mode reprobing:Eric Anholt
- Don't mess with pScrn->monitor->Modes, and instead make our own availModes. - Don't re-program the pipe with the same values (no flicker at xrandr) - Move a bunch of stuff that should be exposed through the public API (probably) to i830_xf86Modes.c - Use a table with established modes plus GTF to come up with modes from EDID, instead of trying to walk and find one in pScrn->monitor->Modes. I think this is correct. - Reset clone state if we've detected new pipes, which should turn on the cursor.
2006-06-23WIP to allow re-probing and validation of modes for new heads at "xrandr" time.Eric Anholt
Now, DDC modes always end up being preferred to custom modelines, even if smaller. This should probably be fixed by inserting custom modelines into the probed mode list if they're valid according to the probed parameters of the monitor. Too much code is lifted from static functions in xf86Mode.c, and those should be made unstatic if possible. Using xf86ValidateModes is also rather hacky, and I want to break the function down, but this is a first step.
2006-06-23Split probed modes out per pipe, and union them into the available modes.Eric Anholt
This is the first stage of getting runtime monitor attachment. The old i830 GTF code is returned to use to provide suitable modelines for xf86ValidateModes in the LVDS case, even though the LVDS doesn't care about the modeline and just always programs its fixed values.
2006-06-22Provide definitions of __FUNCTION__ for non-gcc compilersAlan Coopersmith
2006-06-22Move FP mode validation next to other mode validation code.Eric Anholt
2006-06-21Detect SDVO display presence at startup and default to displaying to it, too.Eric Anholt