dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 49351] vga_switcheroo results in black screen (bisected)
Date: Tue, 23 Oct 2012 15:44:39 +0000 (UTC)	[thread overview]
Message-ID: <20121023154439.8D90311FBAA@bugzilla.kernel.org> (raw)
In-Reply-To: <bug-49351-2300@https.bugzilla.kernel.org/>

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.

  parent reply	other threads:[~2012-10-23 15:44 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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
2012-10-23 15:03 ` bugzilla-daemon
2012-10-23 15:15 ` bugzilla-daemon
2012-10-23 15:19 ` bugzilla-daemon
2012-10-23 15:44 ` bugzilla-daemon [this message]
2012-10-23 17:17 ` bugzilla-daemon
2012-10-23 17:22 ` bugzilla-daemon
2012-10-23 17:57 ` bugzilla-daemon
2012-10-23 18:25 ` bugzilla-daemon
2012-10-23 19:09 ` bugzilla-daemon
2012-10-23 19:12 ` bugzilla-daemon
2012-10-23 20:02 ` bugzilla-daemon
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121023154439.8D90311FBAA@bugzilla.kernel.org \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).