summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc
AgeCommit message (Collapse)AuthorFilesLines
2007-09-24[EDID] Ignore reserved bits in deciding monitor vs detailed timing descriptor.Eric Anholt1-1/+8
Even though they're defined to zero by the spec, we've seen an EDID block where the (empty) ASCII strings were stuffed in a byte early, leading to the descriptor being considered a detailed timing instead.
2007-07-14MakeAtom needs length without trailing NUL. sizeof("string") includes NUL.Keith Packard1-2/+2
I made a mistake in some new code using MakeAtom, passing the size of the string instead of the length of the string. Figuring there might be other such mistakes, I reviewed the server code and found four bugs of the same form.
2007-06-02Delete VDIF support; it was never used anyway.Adam Jackson8-596/+3
2007-04-26Remove old edid_modes.c, it lives in hw/xfree86/modes/ now.Adam Jackson1-361/+0
2007-03-28Refuse to create tiny modes from EDID detailed timing.Adam Jackson1-0/+13
2007-03-25Since ddc, i2c, and ramdac are in core now, remove their ModuleData stubs.Adam Jackson1-46/+0
2007-03-17Slow down DDC I2C bus using a RiseFallTime of 20us for old monitors.Keith Packard1-0/+6
This time value makes the bus run slowly enough for even the least reliable of monitors. Thanks to Pavel Troller for finding the necessary change.
2007-03-17Remove extra (and wrong) I2C ByteTimeout setting in DDC code.Keith Packard1-1/+0
The DDC code sets the I2C timeouts to VESA standards, except that it had an extra setting of the ByteTimeout value which was wrong (off by a factor of 50). Removing this should help DDC work on many more monitors. Note that the Intel driver duplicated these settings, along with the error. Yay for cult and paste coding.
2007-02-15Kludge around duplicate code added in hw/xfree86/modes.Keith Packard1-2/+1
Code added in hw/xfree86/modes came from the server-1.3-branch. Portions of this code had previously been integrated into xf86Mode.c and edid_modes.c. To preserve hw/xfree86/modes as much as possible, the duplicate code from the other files has been disabled; a more careful review would figure out where that code actually belonged.
2007-02-15Merge crtc/output-based mode selection code.Keith Packard3-4/+8
This code comes from the intel driver, so there's no history in this tree. As the crtc/output-based mode selection code uses ddc, the ddc and i2c modules have been merged into the server. Attempts to load them are safely ignored now.
2006-12-10Accept EDID > 1.3 but < 2.0 if we find it, assume it's compatible.Adam Jackson2-8/+7
2006-11-28Separate DDC mode list creation from MonPtr creation.Eric Anholt2-23/+45
This will be used by the intel driver, and likely other RandR 1.2 drivers.
2006-11-28Replace bad mode name-setting code with xf86SetModeDefaultName().Eric Anholt1-4/+2
2006-11-28Clean up a bunch of long lines and trailing whitespace.Eric Anholt1-23/+25
2006-11-28Move code to get a mode list from EDID data from ddcProperty.c to edid_modes.c.Eric Anholt3-293/+330
2006-11-28Typo that was missed in testing.Eric Anholt1-1/+1
2006-11-27Move mode handling helpers from ddcProperty.c to xf86Mode.c.Eric Anholt1-95/+4
2006-11-27Merge branch 'randr-1.2'Eric Anholt1-1/+1
Conflicts: dix/events.c dix/getevents.c hw/xfree86/common/xf86Mode.c hw/xfree86/dri/Makefile.am hw/xfree86/os-support/drm/xf86drm.c hw/xfree86/os-support/xf86drm.h
2006-09-18Remove smashing of CFLAGS from server build.Keith Packard1-1/+1
CFLAGS is a user variable, extracted from the environment at configure time and settable by the user at build time. We must not override this variable.
2006-09-14Mark EDID modes as driver modes. Infer virtual size from driver modes.Adam Jackson1-8/+15
This allows the server to guess an appropriate initial virtual size and resolution. The heuristic is to select the largest driver-reported mode that matches the monitor's physical aspect ratio. We revalidate this estimate after mode validation, since we may have filtered away all modes that would fill that size. Also, the EDID preferred timing is now marked as M_T_PREFERRED as well.
2006-09-14Publish the raw EDID block as a property on the root window.Adam Jackson1-3/+88
This was removed in the patch for bug #5386, but is still useful.
2006-09-14Fix up EDID blocks where the max pixclock exceeds the preferred mode clock.Adam Jackson1-1/+38
Base EDID only lets you specify the maximum dotclock in tens of MHz, which is too fuzzy for some monitors. 1600x1200@60 is just over 160MHz, but if the monitor really can't handle any mode at 170MHz, then 160 is more correct. Fix up the EDID block before the driver can see it in this case, so we don't spuriously reject modes.
2006-09-14Allow hsync and vsync ranges to be overridden independently again.Adam Jackson1-15/+32
2006-09-14Record all standard timings from EDID as modes, instead of just the first five.Adam Jackson1-1/+1
2006-09-14Record the maximum dot clock of the monitor, and filter by it.Adam Jackson1-1/+5
2006-09-14Don't translate monitor gamma to X gamma.Adam Jackson1-6/+0
The X gamma is used to set the output ramp of the card. Setting a 2.2 output gamma going into a 2.2 monitor gives an effective gamma of 4.84, which is very much not what you want.
2006-09-14Bug #5386: Synthesize modelines from EDID data.Luc Verhaegen2-127/+378
2006-07-21Delete internal usage of the symbol ref/req lists.Adam Jackson1-17/+0
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson9-9/+0
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone2-3/+1
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-06-18Add a couple of (doxygen) comments I wrote while looking at modesetting.Eric Anholt1-0/+22
2006-06-05Ensure all *ModuleData symbols are marked _X_EXPORT. Start removingAdam Jackson1-12/+1
XFree86LOADER ifdefs, non-loadable hasn't been supported for a while now. Remove completely gratuitious REMOVE_LOADER_CHECK_MODULE_INFO ifdefs surrounding a call to a function added in XFree86 4.1 (!). Miscellaneous static markings.
2006-04-04Bug #4806: Dump the raw EDID contents in hex to the log file for betterAdam Jackson1-0/+15
debugging. (Philip Prindeville)
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt5-5/+4
of (marginal) use in the drivers, and that usage remains.
2006-01-31Further bug #5386 fixes: Fix some problems with the EDID code: SomeLuc Verhaegen2-2/+6
bitoffsets were wrong. Unknown Detailed Sections weren't handled properly and defaulted to Detailed Timing.
2005-12-02Define XFree86Server only where it is required.Kevin E Martin1-1/+1
2005-11-29Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadableKevin E Martin1-1/+1
module builds to reflect this change.
2005-11-18Bug #4859: Don't segfault on bad DDC read. (Tony Houghton)Adam Jackson1-5/+8
2005-10-01Adding more doc files & fbdevhw man pageAlan Coopersmith1-1/+1
2005-08-24Remove use of dix-config and xorg-config.h from public headers.Daniel Stone3-13/+0
2005-07-13Dear libtool: Loadable modules do not need version numbers. kthnxbye.Adam Jackson1-0/+2
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone6-6/+6
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone10-0/+40
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-07-02Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere.Daniel Stone1-0/+2
2005-07-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone6-6/+6
2005-07-01Adding initial build system.Daniel Stone1-0/+9
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone3-3/+3
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-01-11Minor format fix.Egbert Eich1-1/+0
Added explanatory comment and debug code. Added comment.
2004-11-02Removing unneeded private FreeType2 symbol.Egbert Eich3-38/+173
Updating to EDID 1.3. (Bugzilla# 1490, Jay Cotton, Egbert Eich). Removing unneeded code. 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-08-27- Make DDC code more VESA compliant: when MaxClock is set to 0xFF it meansEgbert Eich1-1/+3
'no value specified'. Therefore setting it to 0.