Hello community, here is the log from the commit of package xorg-x11-driver-video-radeonhd for openSUSE:Factory checked in at Fri May 22 00:35:27 CEST 2009. -------- --- xorg-x11-driver-video-radeonhd/xorg-x11-driver-video-radeonhd.changes 2009-05-07 11:11:33.000000000 +0200 +++ /mounts/work_src_done/STABLE/xorg-x11-driver-video-radeonhd/xorg-x11-driver-video-radeonhd.changes 2009-05-21 02:11:46.000000000 +0200 @@ -1,0 +2,9 @@ +Wed May 20 23:19:26 CEST 2009 - sndirsch@suse.de + +- modes-Fixup-broken-panel-modes-if-possible.patch + * modes: Fixup broken panel modes if possible. Panels only, and + if we can do so only. Otherwise we might have no chance of + driving the panel at all. Inspired by commit 57a02b50c from + the intel driver (bnc #472013) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- modes-Fixup-broken-panel-modes-if-possible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xorg-x11-driver-video-radeonhd.spec ++++++ --- /var/tmp/diff_new_pack.r15050/_old 2009-05-22 00:35:12.000000000 +0200 +++ /var/tmp/diff_new_pack.r15050/_new 2009-05-22 00:35:12.000000000 +0200 @@ -45,7 +45,7 @@ AutoReqProv: on %define vers 1.2.5 Version: %{vers}_20090506_4be5f71 -Release: 1 +Release: 2 Summary: Driver for AMD GPG (ATI) r5xx/r6xx Chipsets %if 0%{?suse_version} Requires: xorg-x11-server @@ -54,6 +54,7 @@ # ATOM BIOS is not endian clean ExclusiveArch: %ix86 x86_64 Source: xf86-video-radeonhd-%{version}.tar.bz2 +Patch: modes-Fixup-broken-panel-modes-if-possible.patch ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64 BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: /bin/rm /bin/cat @@ -74,6 +75,7 @@ %prep %setup -n xf86-video-radeonhd-%vers +%patch -p1 %build %if 0%{?suse_version} > 1010 || 0%{?fedora_version} >= 6 || 0%{?mandriva_version} > 2006 @@ -207,6 +209,12 @@ %endif %changelog +* Wed May 20 2009 sndirsch@suse.de +- modes-Fixup-broken-panel-modes-if-possible.patch + * modes: Fixup broken panel modes if possible. Panels only, and + if we can do so only. Otherwise we might have no chance of + driving the panel at all. Inspired by commit 57a02b50c from + the intel driver (bnc #472013) * Wed May 06 2009 mhopf@suse.de - Update to git of 06.05.2009 * Cursor corruption fixes ++++++ modes-Fixup-broken-panel-modes-if-possible.patch ++++++
From 08acc05a4c252ff5c55ed1c8f55f106aa6c68546 Mon Sep 17 00:00:00 2001 From: Matthias Hopf
Date: Wed, 20 May 2009 18:14:29 +0200 Subject: [PATCH] modes: Fixup broken panel modes if possible
Panels only, and if we can do so only. Otherwise we might have no chance of driving the panel at all. Inspired by commit 57a02b50c from the intel driver. Fixes Novell bug #472013. --- src/rhd_monitor.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/src/rhd_monitor.c b/src/rhd_monitor.c index 5234c7b..8c15391 100644 --- a/src/rhd_monitor.c +++ b/src/rhd_monitor.c @@ -382,6 +382,21 @@ rhdMonitorPanel(struct rhdConnector *Connector) return NULL; } + /* Fixup some broken modes - if we can do so, otherwise we might have no + * chance of driving the panel at all */ + if (Monitor->NativeMode) { + + /* Some Panels have H or VSyncEnd values greater than H or VTotal. */ + if (Monitor->NativeMode->HTotal <= Monitor->NativeMode->HSyncEnd) + Monitor->NativeMode->HTotal = Monitor->NativeMode->CrtcHTotal = Monitor->NativeMode->HSyncEnd + 1; + if (Monitor->NativeMode->VTotal <= Monitor->NativeMode->VSyncEnd) + Monitor->NativeMode->VTotal = Monitor->NativeMode->CrtcVTotal = Monitor->NativeMode->VSyncEnd + 1; + if (Monitor->NativeMode->CrtcHBlankEnd <= Monitor->NativeMode->CrtcHSyncEnd) + Monitor->NativeMode->CrtcHBlankEnd = Monitor->NativeMode->CrtcHSyncEnd + 1; + if (Monitor->NativeMode->CrtcVBlankEnd <= Monitor->NativeMode->CrtcVSyncEnd) + Monitor->NativeMode->CrtcVBlankEnd = Monitor->NativeMode->CrtcVSyncEnd + 1; + } + /* panel should be driven at native resolution only. */ Monitor->UseFixedModes = TRUE; Monitor->ReducedAllowed = TRUE; -- 1.6.0.2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org