summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/vga/Kconfig
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2010-02-03 02:45:01 +0100
committerH. Peter Anvin <hpa@zytor.com>2010-02-06 00:02:47 +0100
commit36028f3383872eefb558a4aae4c12ec2b5fa640f (patch)
treec6716b619537d54991d17bd4296f9e3bd194086e /drivers/gpu/vga/Kconfig
parentvgaarb: Fix VGA arbiter to accept PCI domains other than 0 (diff)
downloadlinux-36028f3383872eefb558a4aae4c12ec2b5fa640f.tar.xz
linux-36028f3383872eefb558a4aae4c12ec2b5fa640f.zip
vgaarb: Add user selectability of the number of GPUS in a system
Update the VGA Arbiter to allow the user to select the number of GPU's supported in a system. v2: simplify setting of MAX_USER_CARDS, revert back to original default of 16 Signed-off-by: Mike Travis <travis@sgi.com> LKML-Reference: <4B68D51D.6090401@sgi.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Robin Holt <holt@sgi.com> Cc: Jack Steiner <steiner@sgi.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: David Airlie <airlied@linux.ie> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/gpu/vga/Kconfig')
-rw-r--r--drivers/gpu/vga/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/vga/Kconfig b/drivers/gpu/vga/Kconfig
index 790e675b13eb..0920492cea0a 100644
--- a/drivers/gpu/vga/Kconfig
+++ b/drivers/gpu/vga/Kconfig
@@ -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.