aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/vga/vgaarb.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-05vgaarb: Add user selectability of the number of GPUS in a systemMike Travis1-1/+1
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 <[email protected]> LKML-Reference: <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Robin Holt <[email protected]> Cc: Jack Steiner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jesse Barnes <[email protected]> Cc: David Airlie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2010-02-05vgaarb: Fix VGA arbiter to accept PCI domains other than 0Mike Travis1-5/+20
Update the VGA Arbiter to accept PCI Domains other than 0. Signed-off-by: Mike Travis <[email protected]> LKML-Reference: <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Robin Holt <[email protected]> Cc: Jack Steiner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jesse Barnes <[email protected]> Cc: David Airlie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
2009-09-09PCI/vgaarb: cleanup some warnings + cleanup some comments.Dave Airlie1-6/+5
Fix some warnings reported in linux-next + also cleanup some comment errors noticed by Pekka Paalanen. Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>
2009-09-09PCI/GPU: implement VGA arbitration on LinuxBenjamin Herrenschmidt1-0/+1206
Background: Graphic devices are accessed through ranges in I/O or memory space. While most modern devices allow relocation of such ranges, some "Legacy" VGA devices implemented on PCI will typically have the same "hard-decoded" addresses as they did on ISA. For more details see "PCI Bus Binding to IEEE Std 1275-1994 Standard for Boot (Initialization Configuration) Firmware Revision 2.1" Section 7, Legacy Devices. The Resource Access Control (RAC) module inside the X server currently does the task of arbitration when more than one legacy device co-exists on the same machine. But the problem happens when these devices are trying to be accessed by different userspace clients (e.g. two server in parallel). Their address assignments conflict. Therefore an arbitration scheme _outside_ of the X server is needed to control the sharing of these resources. This document introduces the operation of the VGA arbiter implemented for Linux kernel. Signed-off-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Tiago Vignatti <[email protected]> Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Jesse Barnes <[email protected]>