Mailinglist Archive: radeonhd (699 mails)

< Previous Next >
[radeonhd] xf86-video-radeonhd:master: 52 commit(s)
  • From: mhopf@xxxxxxxxxxxxxxxxxxxxxx (Matthias Hopf)
  • Date: Wed, 21 Nov 2007 07:52:38 -0800 (PST)
  • Message-id: <20071121155238.BC05D10096@xxxxxxxxxxxxxxxxxxxxxx>
Reporting from xf86-video-radeonhd: Radeon HD video driver

Please visit:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd
Or get your own copy by using:
git-clone git://anongit.freedesktop.org/xorg/driver/xf86-video-radeonhd

52 commits against master at ed9065a4...:
configure.ac | 3
src/Makefile.am | 2
src/rhd.h | 23 +
src/rhd_cursor.c | 30 +
src/rhd_driver.c | 144 +++++---
src/rhd_edid.c | 1
src/rhd_helper.c | 17 +
src/rhd_modes.c | 105 ++++++
src/rhd_modes.h | 4
src/rhd_randr.c | 912 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/rhd_randr.h | 40 ++
11 files changed, 1210 insertions(+), 71 deletions(-)


commit 6419ace7fb8164a4c2d81f8b66e7571ff8279be7
Merge: ed9065a4288b92d4e3c286071b1a452bb1756a88
29c9ea3e7c9272c1de4c8e9cd0b64dddae259c44
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 21 16:06:25 2007 +0100

Merge branch 'initial-randr'

diffstat:
0 files changed

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 29c9ea3e7c9272c1de4c8e9cd0b64dddae259c44
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 21 15:56:15 2007 +0100

Bump to 0.0.3

diffstat:
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 49b74a20104fe1df692785069090f992459c160e
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 21 15:56:04 2007 +0100

Add 'RandR' string to messages where it was missing.

diffstat:
src/rhd_randr.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit a5f37ef8a15a248b1a7906d84ed986d925561ba8
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 21 15:00:50 2007 +0100

Added RROutputOrder option to setup Xinerama screen order.

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.

diffstat:
src/rhd.h | 1
src/rhd_driver.c | 6 +++-
src/rhd_randr.c | 69 ++++++++++++++++++++++++++++++++++++++++++---------
3 files changed, 64 insertions(+), 12 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit a533fd5f23f6da896a01202f9e76c0af8b3ac3e4
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Nov 20 20:26:53 2007 +0100

Upload and set cursor images independently of Crtcs being active or not.

diffstat:
src/rhd_cursor.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 99fbaeeb443b5474bb99f24541ebfe697484df0d
Merge: 4b20125f2e633aaf76532eba86e5652f2b32ef3b
dbb073b8b314264e311c3a1ebecd13d93e9627a6
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Mon Nov 19 20:55:44 2007 +0100

Merge branch 'master' into initial-randr

diffstat:
0 files changed

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 4b20125f2e633aaf76532eba86e5652f2b32ef3b
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Mon Nov 19 18:35:00 2007 +0100

Don't set CRTC to NULL when disabling shared outputs.

diffstat:
src/rhd_randr.c | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit dce9ffc402511d0820c0fcdd7228e1f2ce8571fc
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 16 20:33:40 2007 +0100

Add potential RandR 1.3 output properties.

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.

diffstat:
src/rhd_randr.c | 145 +++++++++++++++++++++++++++++++++++++++++++++++-----
1 file changed, 132 insertions(+), 13 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit e4c4c44bd61e72c00a8769ceebc0e3bdc15742b8
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 16 18:03:18 2007 +0100

Cleanup.

Also documented one of the more exotic error messages.

diffstat:
src/rhd_randr.c | 58 +++++++++++++++++++++++-----------------------------
1 file changed, 26 insertions(+), 32 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit df5487f9f869da26062f8229e678fddef9c5f065
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 16 15:48:01 2007 +0100

Reordering ScreenInit(). Now closer to original order again. Fixes 16bit.

diffstat:
src/rhd_driver.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 9031b870607336be2517188a7b57e63558e7d58f
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 14 17:51:15 2007 +0100

Nuke include of sys/types.h.

diffstat:
src/rhd_helper.c | 1 -
1 file changed, 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit aa97a9082f3901acdeb89cab875621a641efd8c8
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 14 17:21:29 2007 +0100

Call FrameSet() in AdjustFrame() only in the non-RandR case.

diffstat:
src/rhd_driver.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit fcca0f2e351b953a00c19713ed868b84da89807d
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 14 17:14:06 2007 +0100

Don't shut down outputs that have active connectors attached.

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.

diffstat:
src/rhd_randr.c | 43 ++++++++++++++++++++++++++++++++++++++-----
1 file changed, 38 insertions(+), 5 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit ec66e3b0e84bd57fcd93af2319025595b7dfd9bd
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 14 17:10:52 2007 +0100

Improved RHDDebugRandrState. Also logs only and does not spit on stderr.

diffstat:
src/rhd_randr.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 5c174fe4b1b087491975aa42d39e3201611910ac
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Nov 14 14:19:42 2007 +0100

Fix missing ModeLayoutSelect() in noRandR case.

diffstat:
src/rhd_driver.c | 7 +++++++
1 file changed, 7 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit fe834af6713bccf3a6b4bc981b235872131aff7c
Author: Hans Ulrich Niedermann <hun@xxxxxxxxxxxxxxxx>
Date: Mon Nov 12 11:49:24 2007 +0100

Add rhd_randr.h to dist tarball.

diffstat:
src/Makefile.am | 1 +
1 file changed, 1 insertion(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 7dc989a5dfc330d58372f34ab8978c255af328ff
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 21:48:47 2007 +0100

Moved header file inclusion (rhdConnectorType needed for rhd_output.h).

diffstat:
src/rhd_randr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit ac7d8de963b654ced88c2740e0e0649ca6025133
Merge: bf523a1146d88ff7454ab07156abb4f2489828f6
e9c24f662860229440dc61ecbae22e7d7c74d442
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 21:35:40 2007 +0100

Merge branch 'master' into initial-randr

Conflicts:

src/rhd_cursor.c
src/rhd_driver.c

diffstat:
src/rhd_cursor.c | 4 ++++
src/rhd_driver.c | 49 ++++++++++++-------------------------------------
2 files changed, 16 insertions(+), 37 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit bf523a1146d88ff7454ab07156abb4f2489828f6
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 20:58:41 2007 +0100

Move FrameSet() to the correct position.

diffstat:
src/rhd_randr.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 7eea83610134305e464b003df531ac0a9de3dd75
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 20:23:22 2007 +0100

Split up output handling code into standard RandR functions.

The obvious approach to handle everything in rhdRROutputModeSet doesn't
actually work, because this function doesn't get viewport information.

diffstat:
src/rhd_randr.c | 204 +++++++++++++++++++++++++++++-----------------------
1 file changed, 116 insertions(+), 88 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 3c277f5827f1a2691a52a207e837833e9b722687
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 20:20:08 2007 +0100

Monitor is handled by RandR completely transparently.

Nuke the remaining (commented) monitor handling code.
There is no rhdMonitor section filled in in rhdConnector yet. Dunno whether
we will eventually need it.

diffstat:
src/rhd_randr.c | 48 +++++-------------------------------------------
1 file changed, 5 insertions(+), 43 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 5e3b1bb48b9844fdf09467ca5e204d1b901c355b
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 18:38:26 2007 +0100

Only set Mode of Output currently processed, not of all Outputs.

diffstat:
src/rhd_randr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit b118e216968a95f805b462e24399ef1f70bab1a2
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 18:33:44 2007 +0100

*Dpms functions may activate / deactivate Crtcs and Outputs.

diffstat:
src/rhd_randr.c | 6 ++++++
1 file changed, 6 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 3fd122036455b1b9a993b1c584cbf32fe7f8d9fd
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 18:32:49 2007 +0100

setupCrtc() when called from ModeFixup() should not ASSERT anything.

Also, Output->Crtc is now set in ModeSet() only.

diffstat:
src/rhd_randr.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit fb5b84002ff848df6b24c83bd4b85413e8e34baf
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 9 18:26:43 2007 +0100

Print out RandR state for debugging purposes.

Also improved other outputs.

diffstat:
src/rhd_randr.c | 54 ++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 46 insertions(+), 8 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit d5d492b83353a38cb8ecbc605310fd8580e35b03
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 20:07:13 2007 +0100

Do NOT update virtualX/Y via rhdRRXF86CrtcResize callback.

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...

diffstat:
src/rhd_randr.c | 9 +++++++++
1 file changed, 9 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit fa58e27274933c26d63b64f0d973296959f002f0
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 20:02:45 2007 +0100

Cleaned up comments.

Also nuked some assert descriptions that are VERY unlikely to happen.

diffstat:
src/rhd_randr.c | 71 ++++++++++++++--------------------------------------
1 file changed, 20 insertions(+), 51 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit b865c0348e6f9bd45cc10dc83ea866f9795476ee
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 19:47:42 2007 +0100

Disable monitor handling in ModeSet for now.

It's wrong this way anyway.
Also add more precautious crtc handling.

diffstat:
src/rhd_randr.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 946e1b5ebc4d53e9e9016eadb6d9286514e42bc9
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 19:41:27 2007 +0100

RandR may give us a mode without a name - work around that.

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.

diffstat:
src/rhd_randr.c | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 6b8afe2c521a3fd3b06807fdfd0b040547180d92
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 19:02:46 2007 +0100

Don't include crtcs in check during mode_valid, only in fixup.

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.

diffstat:
src/rhd_randr.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 6e26f324b310366ee914c438634c07082eb73ec6
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 18:54:23 2007 +0100

Add missing stdio.h.

diffstat:
src/rhd_randr.c | 1 +
1 file changed, 1 insertion(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 9119e1e720a7632bd3e91f3a5eb822e6dd4b68df
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 18:53:10 2007 +0100

Make compilation w/o RandR 1.2 support possible.

If RandR 1.2 support is not available during compile time, the driver will
fall back to standard old-fashioned modesetting.

diffstat:
src/rhd_randr.c | 47 +++++++++++++++++++++++++++++++++++++++++------
1 file changed, 41 insertions(+), 6 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 347806c70483cc4b8654725eee2cecabe0a40bfd
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Fri Nov 2 18:43:03 2007 +0100

Moved RandR init further around.

It's supposed to be called after framebuffer and acceleration
initialization.

diffstat:
src/rhd_driver.c | 67 +++++++++++++++++++++------------------------------
1 file changed, 28 insertions(+), 39 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 4a63f60ffec3110ad8a828a40db5bbb24ae79f86
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Oct 31 14:42:01 2007 +0100

Added DPMS handling. Using right mode. Improved debug output.

diffstat:
src/rhd_randr.c | 138 +++++++++++++++++++++++++++++-----------------------
1 file changed, 78 insertions(+), 60 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 89e0c8f6d0d2da1ffe89bb3ac408fef699216fb0
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Oct 31 14:39:55 2007 +0100

Ignore even more standard monitor / mode handling in the RandR case.

diffstat:
src/rhd_driver.c | 41 +++++++++++++++++++++--------------------
1 file changed, 21 insertions(+), 20 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit fca8ddf1c9fceec38d22a58b2dbb306dada0694c
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Wed Oct 31 14:38:28 2007 +0100

Save cursor for non-active screens as well.

diffstat:
src/rhd_cursor.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 99df3c36f99692938c41463f008e8f49687ef97f
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 18:34:10 2007 +0100

Mode setting.

We have a mode :) Even multiple ;)
Several minor and major quirks still, but it works.

diffstat:
src/rhd_randr.c | 128 ++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 104 insertions(+), 24 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit e532cc4ea98a2bc331499378a024005ada6072e4
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 18:10:32 2007 +0100

Don't set up regular mode structures if RandR is active.

diffstat:
src/rhd_driver.c | 35 ++++++++++++++++++++---------------
1 file changed, 20 insertions(+), 15 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 4232fa253e4037fcd7df752e7b12b34ac35ab7af
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 17:47:55 2007 +0100

Fix use of uninitialized variable.

diffstat:
src/rhd_randr.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 6d1285c28bbb732a4a2204c31ca8dcb91a8d9689
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 17:40:42 2007 +0100

Whitespace + indentation cleanup.

diffstat:
src/rhd_driver.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 26c1caab69472aec7d51f04ecd2386c937b0ca51
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 17:32:52 2007 +0100

Move RandR initialization to right position. Nuke unnecessary
SetDesiredModes.

This validates modes fine now. Still the hardware isn't banged at all.

diffstat:
src/rhd_driver.c | 10 ++++++----
src/rhd_randr.c | 20 ++++----------------
2 files changed, 10 insertions(+), 20 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit e055694d7f8a8dfc1239fc54660c0ae8ee903883
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 17:28:39 2007 +0100

Add NoRandr option that disables use of RandR based modesetting.

diffstat:
src/rhd.h | 1 +
src/rhd_driver.c | 6 +++++-
src/rhd_randr.c | 5 +++++
3 files changed, 11 insertions(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 15f2aa5c3b214f269b11967c68bcb99ede10b41b
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 16:46:23 2007 +0100

Trivial fix for dummy function returning something.

diffstat:
src/rhd_randr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit b489a7b0ae18bd0db7205c57eec08f172f3a62ec
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:58:48 2007 +0100

Add <string.h> to files using memcpy.

diffstat:
src/rhd_randr.c | 3 +++
1 file changed, 3 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 4c081578556db35ec21ad83383e07b3891b7d3bc
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:34:24 2007 +0100

Added Mode Validation and necessary dummy functions.

This doesn't work correctly yet, because modes are still set from
rhd_driver.c.

diffstat:
src/rhd_randr.c | 221 ++++++++++++++++++++++++++++++++++++----------------
1 file changed, 154 insertions(+), 67 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 6ceb6870bcc2774fb6acd2b6467a091e0cac1504
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:28:31 2007 +0100

Added RandR entry point for mode validation.

diffstat:
src/rhd_modes.c | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
src/rhd_modes.h | 4 +
2 files changed, 109 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 92a4e62150f05fc5be37d53624428006c134408c
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:27:05 2007 +0100

Use ASSERT() instead of assert().

diffstat:
src/rhd_cursor.c | 14 ++++++--------
src/rhd_randr.c | 9 ++++-----
2 files changed, 10 insertions(+), 13 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 9a660b164fd42bc434d5fc88d8e13decb303c9c8
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:24:02 2007 +0100

Add ASSERT() macro, which bails out nicely, restoring video mode.

NDEBUG is defined in xorg-server.h anyways. Shudder...

diffstat:
src/rhd.h | 18 ++++++++++++++++++
src/rhd_helper.c | 18 ++++++++++++++++++
2 files changed, 36 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 157ea657c12d00501976a274fd362bcc1dd3c6e7
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Tue Oct 30 15:19:02 2007 +0100

Include rhd.h for struct rhd{Crtc,Output,Monitor} declarations.

diffstat:
src/rhd_edid.c | 1 +
1 file changed, 1 insertion(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit c59aebecc3ed2d9033b9c280768646a1c2b5db38
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Mon Oct 29 19:14:00 2007 +0100

Actually use RandR functionality in main driver if available.

Due to missing mode validation, it actually *isn't* available yet.
But Preinitialization is called.

diffstat:
src/rhd_driver.c | 25 ++++++++++++++++++++++---
1 file changed, 22 insertions(+), 3 deletions(-)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit 09eab90fbd3327a6420dd413b67ac5aa3f99c18b
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Mon Oct 29 19:12:43 2007 +0100

AC_SUBST RANDR_VERSION - in case it's ever needed for compiling rhd_randr.c

diffstat:
configure.ac | 1 +
1 file changed, 1 insertion(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


commit c2bca8c80eef27740804675c4b179f14e0f2286d
Author: Matthias Hopf <mhopf@xxxxxxx>
Date: Mon Oct 29 19:11:47 2007 +0100

Initial RandR framework.

Contains framework for RandR which doesn't really do anything but setting up
data structures. All RandR Outputs get an individual, unique name that is
composited from rhdConnector and rhdOutput.
Contains also first functionality: Output probing.

diffstat:
src/Makefile.am | 1
src/rhd.h | 3
src/rhd_randr.c | 468 ++++++++++++++++++++++++++++++++++++++++++++++++++++
src/rhd_randr.h | 40 ++++
4 files changed, 512 insertions(+)

gitweb url:
http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=6419ace7


--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups