[Bug 39282] radeon HD6790 (barts) card produces black+white horizontal stripes on screen when launching Xorg

2011-12-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39282 --- Comment #29 from Florian Evers florian-ev...@gmx.de 2011-12-02 00:42:46 PST --- Some additional comments. I never saw noisy widgets again since I use 0x77553311. But all the other glitches remain. Then, I see random misbehavior of the

Re: [PATCH radeontool 1/5] Clearer error message on fatal errors

2011-12-02 Thread Jonathan Nieder
Hi Tormod, Tormod Volden wrote: Let the user know that we actually hit an error. This fixes gcc format-security warnings as well. Also add a missing newline in one error message. Signed-off-by: Tormod Volden debian.tor...@gmail.com --- avivotool.c |2 +- radeonreg.c |2 +-

[PATCH 1/4] avoid -Wformat-security warnings

2011-12-02 Thread Jonathan Nieder
fatal() is never called with a user-specified argument so it is safe to pass its argument as an fprintf format string, but gcc doesn't know that. Use fprintf(stderr, %s, arg) to make the intent clearer. This fixes the build in distro setups that pass -Werror=format-security. Based on the patch

[PATCH 2/4] radeontool: add missing newline to error message

2011-12-02 Thread Jonathan Nieder
From: Tormod Volden debian.tor...@gmail.com $ test $ radeontool romtables test $ PCI ROM signature 0x55 0xaa missing$ Signed-off-by: Tormod Volden debian.tor...@gmail.com Signed-off-by: Jonathan Nieder jrnie...@gmail.com --- radeontool.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 3/4] prefix fatal error messages with fatal error:

2011-12-02 Thread Jonathan Nieder
From: Tormod Volden debian.tor...@gmail.com Let the user know which message corresponds to the error that caused the tool to exit. [jn: using fatal error: instead of Error: for consistency with usage:] Signed-off-by: Tormod Volden lists.tor...@gmail.com Signed-off-by: Jonathan Nieder

[PATCH 4/4] teach fatal() to write newline

2011-12-02 Thread Jonathan Nieder
This is more robust: if a caller forgets the final newline, the resulting messages that run together can be hard to read, whereas if a caller adds an extra newline, it just means an extra blank line in the output. Rename the function when changing the interface so any callers that have not been

Re: [PATCH radeontool 2/5] Warn if run without superuser rights

2011-12-02 Thread Jonathan Nieder
Hi, Tormod Volden wrote: From: Tormod Volden debian.tor...@gmail.com Signed-off-by: Tormod Volden debian.tor...@gmail.com I think there's a line or so of room here to explain the purpose of this patch. :) [...] --- a/radeontool.c +++ b/radeontool.c @@ -2951,6 +2951,8 @@ void

Re: [PATCH radeontool 3/5] Only print current status in usage() if we are root

2011-12-02 Thread Jonathan Nieder
Tormod Volden wrote: [Subject: Only print current status in usage() if we are root] [...] --- a/radeontool.c +++ b/radeontool.c [...] @@ -141,13 +143,24 @@ static void radeon_set_mcind(unsigned long offset, const char *name, static void usage(void) { +const char *dac_status =

Re: [PATCH radeontool 5/5] Fix string format mismatch warnings

2011-12-02 Thread Jonathan Nieder
Tormod Volden wrote: Consistently use int for register values and long for register offsets. Nice idea. [...] --- a/atombios_tables.c +++ b/atombios_tables.c @@ -634,7 +634,7 @@ static void radeon_print_pp_misc(uint32_t misc) if (misc ATOM_PM_MISCINFO_THERMAL_DIODE_MODE)

[Bug 38030] DPMS suspend fails to turn off monitor with my Radeon HD5750

2011-12-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38030 --- Comment #41 from Kovid Goyal ko...@kovidgoyal.net 2011-12-02 23:31:27 PST --- Although you were probably asking Phil to do this, as I was rebooting my machine anyway, I commented out the line drm_helper_hpd_irq_event(dev); rebuilt the