summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/vga
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 11:26:17 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-17 11:26:17 -0500
commit3c2e81ef344a90bb0a39d84af6878b4aeff568a2 (patch)
treebd8c8b23466174899d2fe4d35af6e1e838edb068 /drivers/gpu/vga
parent221392c3ad0432e39fd74a349364f66cb0ed78f6 (diff)
parent55bde6b1442fed8af67b92d21acce67db454c9f9 (diff)
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull DRM updates from Dave Airlie: "This is the one and only next pull for 3.8, we had a regression we found last week, so I was waiting for that to resolve itself, and I ended up with some Intel fixes on top as well. Highlights: - new driver: nvidia tegra 20/30/hdmi support - radeon: add support for previously unused DMA engines, more HDMI regs, eviction speeds ups and fixes - i915: HSW support enable, agp removal on GEN6, seqno wrapping - exynos: IPP subsystem support (image post proc), HDMI - nouveau: display class reworking, nv20->40 z compression - ttm: start of locking fixes, rcu usage for lookups, - core: documentation updates, docbook integration, monotonic clock usage, move from connector to object properties" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: (590 commits) drm/exynos: add gsc ipp driver drm/exynos: add rotator ipp driver drm/exynos: add fimc ipp driver drm/exynos: add iommu support for ipp drm/exynos: add ipp subsystem drm/exynos: support device tree for fimd radeon: fix regression with eviction since evict caching changes drm/radeon: add more pedantic checks in the CP DMA checker drm/radeon: bump version for CS ioctl support for async DMA drm/radeon: enable the async DMA rings in the CS ioctl drm/radeon: add VM CS parser support for async DMA on cayman/TN/SI drm/radeon/kms: add evergreen/cayman CS parser for async DMA (v2) drm/radeon/kms: add 6xx/7xx CS parser for async DMA (v2) drm/radeon: fix htile buffer size computation for command stream checker drm/radeon: fix fence locking in the pageflip callback drm/radeon: make indirect register access concurrency-safe drm/radeon: add W|RREG32_IDX for MM_INDEX|DATA based mmio accesss drm/exynos: support extended screen coordinate of fimd drm/exynos: fix x, y coordinates for right bottom pixel drm/exynos: fix fb offset calculation for plane ...
Diffstat (limited to 'drivers/gpu/vga')
-rw-r--r--drivers/gpu/vga/vga_switcheroo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/vga/vga_switcheroo.c b/drivers/gpu/vga/vga_switcheroo.c
index e25cf31faab2..fa60add0ff63 100644
--- a/drivers/gpu/vga/vga_switcheroo.c
+++ b/drivers/gpu/vga/vga_switcheroo.c
@@ -18,7 +18,6 @@
18 */ 18 */
19 19
20#include <linux/module.h> 20#include <linux/module.h>
21#include <linux/dmi.h>
22#include <linux/seq_file.h> 21#include <linux/seq_file.h>
23#include <linux/uaccess.h> 22#include <linux/uaccess.h>
24#include <linux/fs.h> 23#include <linux/fs.h>
@@ -376,7 +375,6 @@ vga_switcheroo_debugfs_write(struct file *filp, const char __user *ubuf,
376 size_t cnt, loff_t *ppos) 375 size_t cnt, loff_t *ppos)
377{ 376{
378 char usercmd[64]; 377 char usercmd[64];
379 const char *pdev_name;
380 int ret; 378 int ret;
381 bool delay = false, can_switch; 379 bool delay = false, can_switch;
382 bool just_mux = false; 380 bool just_mux = false;
@@ -468,7 +466,6 @@ vga_switcheroo_debugfs_write(struct file *filp, const char __user *ubuf,
468 goto out; 466 goto out;
469 467
470 if (can_switch) { 468 if (can_switch) {
471 pdev_name = pci_name(client->pdev);
472 ret = vga_switchto_stage1(client); 469 ret = vga_switchto_stage1(client);
473 if (ret) 470 if (ret)
474 printk(KERN_ERR "vga_switcheroo: switching failed stage 1 %d\n", ret); 471 printk(KERN_ERR "vga_switcheroo: switching failed stage 1 %d\n", ret);
@@ -540,7 +537,6 @@ fail:
540int vga_switcheroo_process_delayed_switch(void) 537int vga_switcheroo_process_delayed_switch(void)
541{ 538{
542 struct vga_switcheroo_client *client; 539 struct vga_switcheroo_client *client;
543 const char *pdev_name;
544 int ret; 540 int ret;
545 int err = -EINVAL; 541 int err = -EINVAL;
546 542
@@ -555,7 +551,6 @@ int vga_switcheroo_process_delayed_switch(void)
555 if (!client || !check_can_switch()) 551 if (!client || !check_can_switch())
556 goto err; 552 goto err;
557 553
558 pdev_name = pci_name(client->pdev);
559 ret = vga_switchto_stage2(client); 554 ret = vga_switchto_stage2(client);
560 if (ret) 555 if (ret)
561 printk(KERN_ERR "vga_switcheroo: delayed switching failed stage 2 %d\n", ret); 556 printk(KERN_ERR "vga_switcheroo: delayed switching failed stage 2 %d\n", ret);
@@ -567,4 +562,3 @@ err:
567 return err; 562 return err;
568} 563}
569EXPORT_SYMBOL(vga_switcheroo_process_delayed_switch); 564EXPORT_SYMBOL(vga_switcheroo_process_delayed_switch);
570