* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
@ 2012-10-22 21:45 ` bugzilla-daemon
2012-10-23 1:26 ` bugzilla-daemon
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-22 21:45 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> 2012-10-22 21:45:08 ---
Created an attachment (id=84391)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84391)
debug output
Can you attach the dmesg output with this patch applied? No need to try and
switch gpus. I just need the output.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
2012-10-22 21:45 ` [Bug 49351] " bugzilla-daemon
@ 2012-10-23 1:26 ` bugzilla-daemon
2012-10-23 13:50 ` bugzilla-daemon
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 1:26 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #2 from Igor Murzov <e-mail@date.by> 2012-10-23 01:26:13 ---
Created an attachment (id=84401)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84401)
dmesg output for v3.7.0-rc2+ with the patch applied
I'm sure that i did everything right, but there is no "ATPX function mask"
message in the log.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
2012-10-22 21:45 ` [Bug 49351] " bugzilla-daemon
2012-10-23 1:26 ` bugzilla-daemon
@ 2012-10-23 13:50 ` bugzilla-daemon
2012-10-23 15:00 ` bugzilla-daemon
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 13:50 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84391|0 |1
is obsolete| |
--- Comment #3 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 13:50:29 ---
Created an attachment (id=84441)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84441)
debug output
Try this version.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (2 preceding siblings ...)
2012-10-23 13:50 ` bugzilla-daemon
@ 2012-10-23 15:00 ` bugzilla-daemon
2012-10-23 15:03 ` bugzilla-daemon
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 15:00 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #4 from Igor Murzov <e-mail@date.by> 2012-10-23 15:00:02 ---
Still no "ATPX function mask" in the log.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (3 preceding siblings ...)
2012-10-23 15:00 ` bugzilla-daemon
@ 2012-10-23 15:03 ` bugzilla-daemon
2012-10-23 15:15 ` bugzilla-daemon
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 15:03 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 15:03:11 ---
Does it show up if you try switching?
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (4 preceding siblings ...)
2012-10-23 15:03 ` bugzilla-daemon
@ 2012-10-23 15:15 ` bugzilla-daemon
2012-10-23 15:19 ` bugzilla-daemon
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 15:15 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #6 from Igor Murzov <e-mail@date.by> 2012-10-23 15:15:40 ---
No.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (5 preceding siblings ...)
2012-10-23 15:15 ` bugzilla-daemon
@ 2012-10-23 15:19 ` bugzilla-daemon
2012-10-23 15:44 ` bugzilla-daemon
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 15:19 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #7 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 15:19:20 ---
It should be printing. Make sure you've booted the right kernel and are using
the right module. If you are using an initrd, make sure it's up to date. Make
sure you aren't redirecting your kernel output somewhere. Maybe check
/var/log/messages as well.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (6 preceding siblings ...)
2012-10-23 15:19 ` bugzilla-daemon
@ 2012-10-23 15:44 ` bugzilla-daemon
2012-10-23 17:17 ` bugzilla-daemon
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 15:44 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #8 from Igor Murzov <e-mail@date.by> 2012-10-23 15:44:39 ---
Created an attachment (id=84451)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84451)
dmesg output for v3.7.0-rc2+
This dmesg output was produced with following changes:
----------------------------------------------
static int radeon_atpx_verify_interface(struct radeon_atpx *atpx)
{
union acpi_object *info;
struct atpx_verify_interface output;
size_t size;
int err = 0;
printk("*\n");
info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_VERIFY_INTERFACE,
NULL);
if (!info)
return -EIO;
printk("**\n");
memset(&output, 0, sizeof(output));
size = *(u16 *) info->buffer.pointer;
if (size < 8) {
printk("ATPX buffer is too small: %zu\n", size);
err = -EINVAL;
goto out;
}
printk("***\n");
size = min(sizeof(output), size);
memcpy(&output, info->buffer.pointer, size);
/* TODO: check version? */
printk("ATPX version %u\n", output.version);
printk("****\n");
radeon_atpx_parse_functions(&atpx->functions, output.function_bits);
out:
kfree(info);
return err;
}
----------------------------------------------
And there is only one asterisk in the log:
----------------------------------------------
[ 11.199661] vga_switcheroo: enabled
[ 11.199747] *
----------------------------------------------
So it is clear that some error is encountered in radeon_atpx_call(atpx->handle,
ATPX_FUNCTION_VERIFY_INTERFACE, NULL); That explains why there is no "ATPX
function mask" message in the log.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (7 preceding siblings ...)
2012-10-23 15:44 ` bugzilla-daemon
@ 2012-10-23 17:17 ` bugzilla-daemon
2012-10-23 17:22 ` bugzilla-daemon
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 17:17 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #9 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 17:17:15 ---
Created an attachment (id=84461)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84461)
possible fix 1
Try this patch and see if it helps.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (8 preceding siblings ...)
2012-10-23 17:17 ` bugzilla-daemon
@ 2012-10-23 17:22 ` bugzilla-daemon
2012-10-23 17:57 ` bugzilla-daemon
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 17:22 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #10 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 17:22:14 ---
Created an attachment (id=84471)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84471)
possible fix 2
If the previous patch doesn't help, try this one.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (9 preceding siblings ...)
2012-10-23 17:22 ` bugzilla-daemon
@ 2012-10-23 17:57 ` bugzilla-daemon
2012-10-23 18:25 ` bugzilla-daemon
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 17:57 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #11 from Igor Murzov <e-mail@date.by> 2012-10-23 17:57:53 ---
The first patch doesn't help.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (10 preceding siblings ...)
2012-10-23 17:57 ` bugzilla-daemon
@ 2012-10-23 18:25 ` bugzilla-daemon
2012-10-23 19:09 ` bugzilla-daemon
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 18:25 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #12 from Igor Murzov <e-mail@date.by> 2012-10-23 18:25:48 ---
Created an attachment (id=84481)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84481)
dmesg output for v3.7.0-rc2+ with kbug49351-2.diff applied
The second patch doens't help either. And it results in the following warnings:
--------------------------------------------
[ 11.675240] ACPI Warning: For \_SB_.PCI0.AGP_.VGA_.ATIF: Insufficient
arguments - needs 2, found 1 (20120913/nspredef-321)
[ 11.675688] ACPI Warning: For \_SB_.PCI0.AGP_.VGA_.ATIF: Insufficient
arguments - needs 2, found 1 (20120913/nspredef-321)
--------------------------------------------
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (11 preceding siblings ...)
2012-10-23 18:25 ` bugzilla-daemon
@ 2012-10-23 19:09 ` bugzilla-daemon
2012-10-23 19:12 ` bugzilla-daemon
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 19:09 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #13 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 19:09:28 ---
Please attach the dmesg output from a working kernel.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (12 preceding siblings ...)
2012-10-23 19:09 ` bugzilla-daemon
@ 2012-10-23 19:12 ` bugzilla-daemon
2012-10-23 20:02 ` bugzilla-daemon
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 19:12 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84441|0 |1
is obsolete| |
Attachment #84461|0 |1
is obsolete| |
Attachment #84471|0 |1
is obsolete| |
--- Comment #14 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 19:12:29 ---
Created an attachment (id=84491)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84491)
debug output
Please attach the dmesg output with this patch applied.
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (13 preceding siblings ...)
2012-10-23 19:12 ` bugzilla-daemon
@ 2012-10-23 20:02 ` bugzilla-daemon
2012-10-23 20:42 ` bugzilla-daemon
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 20:02 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #15 from Igor Murzov <e-mail@date.by> 2012-10-23 20:02:35 ---
Created an attachment (id=84511)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84511)
dmesg output for v3.5.2
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (14 preceding siblings ...)
2012-10-23 20:02 ` bugzilla-daemon
@ 2012-10-23 20:42 ` bugzilla-daemon
2012-10-23 20:52 ` bugzilla-daemon
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 20:42 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #16 from Igor Murzov <e-mail@date.by> 2012-10-23 20:42:41 ---
Created an attachment (id=84531)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84531)
dmesg output for v3.7.0-rc2+ with kbug49351.diff applied
[ 11.833549] vga_switcheroo: enabled
[ 11.833648] evaluate ATPX got AE_NOT_FOUND
[ 11.833750] buffer.pointer NULL
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (15 preceding siblings ...)
2012-10-23 20:42 ` bugzilla-daemon
@ 2012-10-23 20:52 ` bugzilla-daemon
2012-10-23 21:27 ` bugzilla-daemon
2012-11-04 21:05 ` bugzilla-daemon
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 20:52 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #84491|0 |1
is obsolete| |
--- Comment #17 from Alex Deucher <alexdeucher@gmail.com> 2012-10-23 20:52:43 ---
Created an attachment (id=84541)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84541)
possible fix
Does this patch fix the issue?
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (16 preceding siblings ...)
2012-10-23 20:52 ` bugzilla-daemon
@ 2012-10-23 21:27 ` bugzilla-daemon
2012-11-04 21:05 ` bugzilla-daemon
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-10-23 21:27 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #18 from Igor Murzov <e-mail@date.by> 2012-10-23 21:27:47 ---
Created an attachment (id=84561)
--> (https://bugzilla.kernel.org/attachment.cgi?id=84561)
dmesg output for v3.7.0-rc2+ with the patch from comment #17
vga_switcheroo seems to work fine with the last patch.
[ 11.832217] vga_switcheroo: enabled
[ 11.852254] ATPX version 1
[ 11.852325] ATPX function mask 0x087
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread* [Bug 49351] vga_switcheroo results in black screen (bisected)
2012-10-22 21:31 [Bug 49351] New: vga_switcheroo results in black screen (bisected) bugzilla-daemon
` (17 preceding siblings ...)
2012-10-23 21:27 ` bugzilla-daemon
@ 2012-11-04 21:05 ` bugzilla-daemon
18 siblings, 0 replies; 20+ messages in thread
From: bugzilla-daemon @ 2012-11-04 21:05 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=49351
Igor Murzov <e-mail@date.by> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX
--- Comment #19 from Igor Murzov <e-mail@date.by> 2012-11-04 21:05:05 ---
Fixed by:
commit 0b90365e7a32317b948583c4b5c2712d84610b08
Author: Alex Deucher <alexander.deucher@amd.com>
Date: Tue Oct 23 17:57:54 2012 -0400
drm/radeon: fix ATPX regression in acpi rework
Copy and paste typo in the apci rework.
Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 20+ messages in thread