From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 49351] vga_switcheroo results in black screen (bisected)
Date: Tue, 23 Oct 2012 15:44:39 +0000 (UTC)
Message-ID: <20121023154439.8D90311FBAA@bugzilla.kernel.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from mail.kernel.org (mail.kernel.org [198.145.19.201])
by gabe.freedesktop.org (Postfix) with ESMTP id 23E3F9E7FA
for ;
Tue, 23 Oct 2012 08:44:47 -0700 (PDT)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 907EA20405
for ;
Tue, 23 Oct 2012 15:44:46 +0000 (UTC)
Received: from bugzilla.kernel.org (bugzilla.kernel.org [198.145.19.217])
by mail.kernel.org (Postfix) with ESMTP id E5BAE203FB
for ;
Tue, 23 Oct 2012 15:44:41 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugzilla.kernel.org/show_bug.cgi?id=49351
--- Comment #8 from Igor Murzov 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.