Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182591
b: refs/heads/master
c: 36028f3
h: refs/heads/master
i:
  182589: f7e6c95
  182587: 9cf8ab8
  182583: ae698e3
  182575: 3374c3b
  182559: 85fa15e
  182527: b993e02
v: v3
  • Loading branch information
Mike Travis authored and H. Peter Anvin committed Feb 5, 2010
1 parent 95fbc55 commit 6169847
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 773a38dbdad03474c5ee235f7d9bf9f51c9e3c2b
refs/heads/master: 36028f3383872eefb558a4aae4c12ec2b5fa640f
8 changes: 8 additions & 0 deletions trunk/drivers/gpu/vga/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ config VGA_ARB
are accessed at same time they need some kind of coordination. Please
see Documentation/vgaarbiter.txt for more details. Select this to
enable VGA arbiter.

config VGA_ARB_MAX_GPUS
int "Maximum number of GPUs"
default 16
depends on VGA_ARB
help
Reserves space in the kernel to maintain resource locking for
multiple GPUS. The overhead for each GPU is very small.
2 changes: 1 addition & 1 deletion trunk/drivers/gpu/vga/vgaarb.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ EXPORT_SYMBOL(vga_client_register);
* the arbiter.
*/

#define MAX_USER_CARDS 16
#define MAX_USER_CARDS CONFIG_VGA_ARB_MAX_GPUS
#define PCI_INVALID_CARD ((struct pci_dev *)-1UL)

/*
Expand Down

0 comments on commit 6169847

Please sign in to comment.