diff options
author | 2012-04-16 16:26:04 -0400 | |
---|---|---|
committer | 2012-04-24 09:50:17 +0100 | |
commit | 88674088d10ca2538b2efd2559f6620ade8ec373 (patch) | |
tree | 6a77b0d946017cb7e8765bf993495499828bf032 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | vga-switcheroo: Use vga_default_device() (diff) | |
download | wireguard-linux-88674088d10ca2538b2efd2559f6620ade8ec373.tar.xz wireguard-linux-88674088d10ca2538b2efd2559f6620ade8ec373.zip |
x86: Use vga_default_device() when determining whether an fb is primary
IORESOURCE_ROM_SHADOW is not necessarily an indication that the hardware
is the primary device. Add support for using the vgaarb functions and
fall back if nothing's set them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: mingo@redhat.com
Acked-by: hpa@zytor.com
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions