From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 45503] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
Date: Thu, 02 Feb 2012 14:20:36 +0000 [thread overview]
Message-ID: <bug-45503-502-h9Qn2ABFb5@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-45503-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=45503
--- Comment #10 from mlambda@gmail.com 2012-02-02 06:20:36 PST ---
I just found the solution:
diff -ur a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
--- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c 2012-01-31
22:31:54.000000000 +0100
+++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c 2012-02-02
15:03:32.408629788 +0100
@@ -58,9 +58,12 @@
}
obj = (union acpi_object *)buffer.pointer;
+ printk("obj->buffer.length: %i\n", obj->buffer.length);
+ printk("len: %i\n", len);
memcpy(bios+offset, obj->buffer.pointer, obj->buffer.length);
+ len = obj->buffer.length;
kfree(buffer.pointer);
- return obj->buffer.length;
+ return len;
}
bool radeon_atrm_supported(struct pci_dev *pdev)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next prev parent reply other threads:[~2012-02-02 14:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-01 15:55 [Bug 45503] New: [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM bugzilla-daemon
2012-02-01 15:57 ` [Bug 45503] " bugzilla-daemon
2012-02-01 16:14 ` bugzilla-daemon
2012-02-01 16:35 ` bugzilla-daemon
2012-02-01 17:02 ` bugzilla-daemon
2012-02-01 18:25 ` bugzilla-daemon
2012-02-01 18:26 ` bugzilla-daemon
2012-02-01 18:26 ` bugzilla-daemon
2012-02-01 20:49 ` bugzilla-daemon
2012-02-01 21:40 ` bugzilla-daemon
2012-02-02 14:20 ` bugzilla-daemon [this message]
2012-02-02 14:22 ` bugzilla-daemon
2012-02-02 14:59 ` bugzilla-daemon
2012-02-04 12:52 ` bugzilla-daemon
2012-02-11 15:52 ` 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=bug-45503-502-h9Qn2ABFb5@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.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