Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 401482 Details for
Bug 546228
Kernel: gentoo-sources: vgaarb: this pci device is not a vga device
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
file_546228.txt (text/plain), 646 bytes, created by
Lagu
on 2015-04-17 19:29:53 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Lagu
Created:
2015-04-17 19:29:53 UTC
Size:
646 bytes
patch
obsolete
>diff --git a/drivers/gpu/vga/vgaarb.c b/drivers/gpu/vga/vgaarb.c >index 111d956..bd9a01f 100644 >--- a/drivers/gpu/vga/vgaarb.c >+++ b/drivers/gpu/vga/vgaarb.c >@@ -507,9 +507,11 @@ static bool vga_arbiter_add_pci_device(struct pci_dev *pdev) > struct pci_bus *bus; > struct pci_dev *bridge; > u16 cmd; >+ int pci_class = pdev->class >> 8; > > /* Only deal with VGA class devices */ >- if ((pdev->class >> 8) != PCI_CLASS_DISPLAY_VGA) >+ if (pci_class != PCI_CLASS_DISPLAY_VGA && >+ pci_class != PCI_CLASS_DISPLAY_3D) > return false; > > /* Allocate structure */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 546228
:
401018
| 401482 |
401484