[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #15 from Pali Roh?r --- oups, it should be ACPI_HANDLE(>pdev->dev) and not ACPI_HANDLE(>dev). -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-26 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #14 from Pali Roh?r --- Created attachment 137381 --> https://bugzilla.kernel.org/attachment.cgi?id=137381=edit preffer current pci device What about this patch? It will preffer to call ATRM method for current pci device. -- You

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-19 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #13 from Alex Deucher --- (In reply to Pali Roh?r from comment #12) > @Alex Deucher: Why is this bug while loop needed? IIRC, sometimes the method is hung off the other GPU. -- You are receiving this mail because: You are watching

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-18 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #12 from Pali Roh?r --- @Alex Deucher: Why is this bug while loop needed? static bool radeon_atrm_get_bios(struct radeon_device *rdev) { ... while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_VGA << 8, pdev)) != NULL) {

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #11 from Alex Deucher --- Looks like it works fine without the patch as well. That said, the ATRM patch shouldn't hurt anything if there ever ends up being a case where the ATRM method is hung off a non-VGA display device. -- You

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #10 from drill87 at gmail.com --- Created attachment 135561 --> https://bugzilla.kernel.org/attachment.cgi?id=135561=edit dmesg before applying "fix for rom fetching" patch -- You are receiving this mail because: You are watching

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #9 from drill87 at gmail.com --- Oh, I'm sorry, it seems I didn't write it clear enough. I mentioned file "radeon_bios.c" only because I saw there too goes PCI class checl only against PCI_CLASS_DISPLAY_VGA, but there wasn't additional

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #8 from Alex Deucher --- ATRM is an acpi method for fetching the rom on certain systems. If your system was able to fetch the rom via another method, it may not use ATRM. I'm not sure if the ATRM method is required in drill87's case

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 Pali Roh?r changed: What|Removed |Added CC||pali.rohar at gmail.com --- Comment #7 from

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #6 from drill87 at gmail.com --- Created attachment 135541 --> https://bugzilla.kernel.org/attachment.cgi?id=135541=edit dmesg after applying "fix for rom fetching" patch -- You are receiving this mail because: You are watching the

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-09 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #5 from drill87 at gmail.com --- I guess it fixes. At least, I can see no errors for radeon module in dmesg. Vgaswitcheroo, as I aforementioned, works too (I can turn off the card, so notebook heats less). However, I cannot say any

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 --- Comment #4 from Alex Deucher --- Created attachment 135221 --> https://bugzilla.kernel.org/attachment.cgi?id=135221=edit fix for rom fetching Does this patch fix the issue? -- You are receiving this mail because: You are watching the

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-06 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 drill87 at gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #2

[Bug 75401] vgaswitcheroo doesn't work for AMD Radeon 8870m (possibly due to "wrong" PCI class)

2014-05-04 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=75401 drill87 at gmail.com changed: What|Removed |Added Summary|vgaswtitcheroo doesn't work |vgaswitcheroo doesn't work