[Bug 49351] vga_switcheroo results in black screen (bisected)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Oct 23 08:44:39 PDT 2012


--- Comment #8 from Igor Murzov <e-mail at 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;
        info = radeon_atpx_call(atpx->handle, ATPX_FUNCTION_VERIFY_INTERFACE,
        if (!info)
                return -EIO;
        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;
        size = min(sizeof(output), size);

        memcpy(&output, info->buffer.pointer, size);

        /* TODO: check version? */
        printk("ATPX version %u\n", output.version);
        radeon_atpx_parse_functions(&atpx->functions, output.function_bits);

        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.

More information about the dri-devel mailing list