summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-21Bump to 0.0.3initial-randrMatthias Hopf1-1/+1
2007-11-21Add 'RandR' string to messages where it was missing.Matthias Hopf1-5/+5
2007-11-21Added RROutputOrder option to setup Xinerama screen order.Matthias Hopf3-12/+64
RandR outputs listed in Option "RROutputOrder" (separated with spaces or commas) will initialized first, and in this order. The Xinerama screen order is apparently directly reflecting this order.
2007-11-20Upload and set cursor images independently of Crtcs being active or not.Matthias Hopf1-5/+6
2007-11-19Merge branch 'master' into initial-randrMatthias Hopf4-108/+370
2007-11-19Don't set CRTC to NULL when disabling shared outputs.Matthias Hopf1-14/+16
2007-11-16Add potential RandR 1.3 output properties.Matthias Hopf1-13/+132
This adds the following (immutable) properties to every output, as partially described for discussion in an randrproto.txt diff on xorg-devel: RANDR_SIGNAL_FORMAT Type: string Range/List: unknown VGA TMDS LVDS FBAS SVideo YPbPr DisplayPort Signal format / physical protocol format that is used for the specified output. A driver MAY change this property of an output if the underlying hardware indicates a protocol change (e.g. TV formats). RANDR_CONNECTOR_TYPE Type: string Range/List: unknown VGA DVI DVI-I DVI-A DVI-D HDMI internal TV TV-FBAS TV-SVideo TV-YPbPr TV-SCART TV-C4 DisplayPort Connector type, as far as known to the driver. Values with dashes (TV-FBAS) describe more specific versions of the base values (TV). The former SHOULD be used if the connector is not capable of producing other signal formats. The later SHOULD be used if the exact connector is unknown, or the connector is a multi-format connector that is not described otherwise. 'internal' describes laptop-internal (normally LVDS) displays. 'TV' and 'TV-SCART' with signal format 'VGA' are valid combinations and describe RGB TV signals. RANDR_CONNECTOR_NUMBER Type: int32 Range/List: 0- Outputs that route their signal to the same connector MUST have the same connector number. Outputs with the same connector number MUST route their signal to the same connector, except if it is 0, which indicates unknown connectivity. 1 is called the primary connector, 2 the secondary. 3 is often a TV connector, but that is completely driver / hardware dependent. Outputs with the same connector number SHOULD have the same connector type. Meaning and client behavior for mismatching connector types is undefined at the moment. RANDR_OUTPUT_NUMBER Type: int32 Range/List: 0- A card may route one internal output to several connectors. Connectors that are driven by the same output cannot be driven by different Crtcs and are thus only allowed to be used in clone mode. The driver SHOULD emit an error message and continue as gracefully as possible if using different Crtcs for the same internal output is requested. Internal outputs are numbered from 1, 0 indicates that output routing is unknown.
2007-11-16ID: Fix up Macbook pro.Luc Verhaegen1-9/+11
This one has a rather awkward atombios connector table and requires an id based workaround. Thanks to Jerome Glisse.
2007-11-16Cleanup.Matthias Hopf1-32/+26
Also documented one of the more exotic error messages.
2007-11-16Reordering ScreenInit(). Now closer to original order again. Fixes 16bit.Matthias Hopf1-11/+11
2007-11-15Added Radeon X1250.Matthias Hopf1-0/+1
2007-11-14Nuke include of sys/types.h.Matthias Hopf1-1/+0
2007-11-14Call FrameSet() in AdjustFrame() only in the non-RandR case.Matthias Hopf1-6/+8
2007-11-14Don't shut down outputs that have active connectors attached.Matthias Hopf1-5/+38
Something that cannot be solved with the current RandR model is that multiple connectors might be attached to the same output. They cannot be driven with different crtcs then, but RandR sees them as different outputs because of a missing abstraction layer. This implementation will silently set one crtc or the other, and maybe even won't warn.
2007-11-14TMDSA: create a table for electrical adjustments.Luc Verhaegen2-65/+65
Create a pci device id based table with electrical values for all currently known devices with TMDSA. Warn verbosely about unknown devices. TMDSB now also includes support for the RV530 on the Dell low profile card.
2007-11-14Improved RHDDebugRandrState. Also logs only and does not spit on stderr.Matthias Hopf1-14/+17
2007-11-14Fix missing ModeLayoutSelect() in noRandR case.Matthias Hopf1-0/+7
2007-11-12TMDS B: Add table with macro control values.Luc Verhaegen1-18/+36
2007-11-12LVTMA TMDS: Add initial TMDS support for r5xx.Luc Verhaegen2-37/+278
Called "TMDS B". No Load Detection possible.
2007-11-12Add rhd_randr.h to dist tarball.Hans Ulrich Niedermann1-0/+1
2007-11-09Moved header file inclusion (rhdConnectorType needed for rhd_output.h).Matthias Hopf1-1/+1
2007-11-09Merge branch 'master' into initial-randrMatthias Hopf37-238/+675
Conflicts: src/rhd_cursor.c src/rhd_driver.c
2007-11-09Move FrameSet() to the correct position.Matthias Hopf1-3/+3
2007-11-09Split up output handling code into standard RandR functions.Matthias Hopf1-88/+116
The obvious approach to handle everything in rhdRROutputModeSet doesn't actually work, because this function doesn't get viewport information.
2007-11-09Monitor is handled by RandR completely transparently.Matthias Hopf1-43/+5
Nuke the remaining (commented) monitor handling code. There is no rhdMonitor section filled in in rhdConnector yet. Dunno whether we will eventually need it.
2007-11-09Only set Mode of Output currently processed, not of all Outputs.Matthias Hopf1-1/+1
2007-11-09*Dpms functions may activate / deactivate Crtcs and Outputs.Matthias Hopf1-0/+6
2007-11-09setupCrtc() when called from ModeFixup() should not ASSERT anything.Matthias Hopf1-8/+3
Also, Output->Crtc is now set in ModeSet() only.
2007-11-09Print out RandR state for debugging purposes.Matthias Hopf1-8/+46
Also improved other outputs.
2007-11-05Improve online help in rhd_conntest.Joerg Mayer1-6/+21
2007-11-05Adapt rhd_conntest build descriptionHans Ulrich Niedermann2-4/+6
2007-11-05Do not recursively build rhd_conntest (imake)Hans Ulrich Niedermann1-2/+3
A normal "make" run on imake builds will not descend into utils/conntest/ any more. However, "xmkmf -a" still creates utils/conntest/Makefile from the Imakefile, so the user can "cd utils/conntest && make" to build rhd_conntest.
2007-11-05Fix git_version.sh srcdir==builddirHans Ulrich Niedermann1-6/+14
Consequent separation of source tree dir ($srcdir) and working dir ($working_dir). Fixes imake and automake in-tree builds.
2007-11-05Have conntest build require pci/pci.h and -lzHans Ulrich Niedermann2-0/+14
If either of those is not found, rhd_conntest is not built. Affects automake builds only.
2007-11-04Add TOC to READMEHans Ulrich Niedermann1-0/+7
2007-11-03Use correct variable for DDC speed setting on R6xx, fix some warnings.Egbert Eich1-2/+13
2007-11-03Commit automatic update to radeonhd.man from rhd_id.cHans Ulrich Niedermann1-1/+1
This update was found using experimental code which updates the man page from the rhd_id.c RHDIdentify() output.
2007-11-03Remove monitor section advice from "known bugs" sectionHans Ulrich Niedermann1-10/+0
radeonhd handles monitor sections differently, and thus does not cause these problems, since 2aa53c95a85824f4ed175943acf7f1c37cbe8e8c.
2007-11-03README section on common build problems: missing XORG_* macrosHans Ulrich Niedermann1-0/+26
2007-11-03Preselect both product AND component in bugzilla URLsHans Ulrich Niedermann3-7/+5
2007-11-02Log git commit if source tree is git checkoutHans Ulrich Niedermann9-29/+231
Defines a number of CPP macros with a git commit version message if source tree is git checkout. Both radeonhd_drv.so and rhd_conntest print that version message. Numerous adaptations to git_version.sh and build rules: * only touch git_version.h if content needs to change * always define useful GIT_MESSAGE * add example program using git_version.h * handle srcdir != builddir * variable header name and ifndef
2007-11-02Add Luc Verhaegen's git_version.sh from xf86-video-unichromeHans Ulrich Niedermann2-1/+63
2007-11-02Cover all build aspects with imake+automakeHans Ulrich Niedermann12-23/+41
"make dist" tarballs can now be built with imake. Build, but do not install rhd_conntest by default (am+imake).
2007-11-02Do NOT update virtualX/Y via rhdRRXF86CrtcResize callback.Matthias Hopf1-0/+9
This is strange... if we set virtualX/virtualY like the intel driver does, we limit ourself in the future to this maximum size. The check for this is internally in RandR, no idea why the intel driver actually works this way... Even more curious: if we DON'T update virtual, everything seems to work as expected...
2007-11-02Cleaned up comments.Matthias Hopf1-51/+20
Also nuked some assert descriptions that are VERY unlikely to happen.
2007-11-02Disable monitor handling in ModeSet for now.Matthias Hopf1-4/+8
It's wrong this way anyway. Also add more precautious crtc handling.
2007-11-02RandR may give us a mode without a name - work around that.Matthias Hopf1-2/+15
xf86RandRModeConvert sets mode->name to NULL - which lets our mode validation horribly fail. Copying the name from crtc->mode. This hopefully is not a memory leak, as the mode SHOULD be cleaned up. Modes can now be changed successfully.
2007-11-02Don't include crtcs in check during mode_valid, only in fixup.Matthias Hopf1-14/+17
If out-crtc is ever not NULL, it is not necessarily the Crtc that will be used, so it's better to skip crtc checks altogether... PLL in Crtc might now not be initialized when dpms is called. Ignore then. An crtc might already be assigned to an output, only assert for not being active then.
2007-11-02Add missing stdio.h.Matthias Hopf1-0/+1
2007-11-02Make compilation w/o RandR 1.2 support possible.Matthias Hopf1-6/+41
If RandR 1.2 support is not available during compile time, the driver will fall back to standard old-fashioned modesetting.