summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc/ddcProperty.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-06xfree86: Remove the pretense of EDID v2 supportAdam Jackson1-43/+4
We don't do anything with EDID v2 blocks besides publish them on the root window. Worse, the check deleted by this patch would attempt to take a checksum of arbitrary memory if the rawData array isn't 256+ bytes long (and, for the monitors mentioned, it probably is only 128). Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
2011-04-24hw/xfree86/ddc: remove duplicated includeNicolas Kaiser1-1/+0
Remove duplicated include. Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Reviewed-by: Matthieu Herrb <matthieu.herrb@laas.fr>
2010-05-13Replace X-allocation functions with their C89 counterpartsMikhail Gusarov1-1/+1
The only remaining X-functions used in server are XNF*, the rest is converted to plain alloc/calloc/realloc/free/strdup. X* functions are still exported from server and x* macros are still defined in header file, so both ABI and API are not affected by this change. Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-07-17ddc: s/xf86DDCMonitorSet/xf86EdidMonitorSet/Adam Jackson1-1/+4
Since we need a second path for DisplayID.
2009-07-17ddc: Refactor root window property codeAdam Jackson1-23/+20
2009-07-17ddc: Don't try to publish a root window property for DisplayIDAdam Jackson1-1/+4
2008-12-03Rework symbol visibility for easier maintenancePaulo Cesar Pereira de Andrade1-1/+1
Save in a few special cases, _X_EXPORT should not be used in C source files. Instead, it should be used in headers, and the proper C source include that header. Some special cases are symbols that need to be shared between modules, but not expected to be used by external drivers, and symbols that are accessible via LoaderSymbol/dlopen. This patch also adds conditionally some new sdk header files, depending on extensions enabled. These files were added to match pattern for other extensions/modules, that is, have the headers "deciding" symbol visibility in the sdk. These headers are: o Xext/panoramiXsrv.h, Xext/panoramiX.h o fbpict.h (unconditionally) o vidmodeproc.h o mioverlay.h (unconditionally, used only by xaa) o xfixes.h (unconditionally, symbols required by dri2) LoaderSymbol and similar functions now don't have different prototypes, in loaderProcs.h and xf86Module.h, so that both headers can be included, without the need of defining IN_LOADER. xf86NewInputDevice() device prototype readded to xf86Xinput.h, but not exported (and with a comment about it).
2008-11-27Export symbols required by the vesa and fbdev drivers.Paulo Cesar Pereira de Andrade1-1/+1
This is a minimal set of patches, to have an usable X Server when compiling it with symbols hidden by default.
2008-08-25EDID: Publish the whole block on the root window if we've got it.Adam Jackson1-3/+8
2007-12-03Death to libcwrapper.Adam Jackson1-1/+0
This has been deprecated since 1.1. Since we're breaking ABI again anyway, remove it entirely.
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 Jackson1-11/+0
2007-02-15Merge crtc/output-based mode selection code.Keith Packard1-0/+1
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 Jackson1-3/+0
2006-11-28Move code to get a mode list from EDID data from ddcProperty.c to edid_modes.c.Eric Anholt1-292/+0
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-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-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 Verhaegen1-127/+375
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-1/+0
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt1-1/+1
of (marginal) use in the drivers, and that usage remains.
2005-07-03Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h".Daniel Stone1-1/+1
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
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-01Change all misc.h and os.h references to <X11/foo.h>.Daniel Stone1-1/+1
2005-04-20Fix includes right throughout the Xserver tree:Daniel Stone1-1/+1
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.
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley1-8/+4
2003-11-14Initial revisionKaleb Keithley1-0/+160