]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-virtio-gl-accel.patch
- updated aufs3 patch from upstream
[packages/kernel.git] / kernel-virtio-gl-accel.patch
index 4a876161dc3734bc663664a78b544ff9f8049604..03fd001435a11e15f877003250eee92ad1423f6e 100644 (file)
@@ -32,7 +32,7 @@ new file mode 100644
 index 0000000..8882bda
 --- /dev/null
 +++ b/drivers/gpu/misc/virtio-gl.c
-@@ -0,0 +1,312 @@
+@@ -0,0 +1,315 @@
 +/*
 + * Copyright (C) 2010 Intel Corporation
 + *
@@ -176,7 +176,10 @@ index 0000000..8882bda
 +      }
 +
 +      /* Transfer data */
-+      if (virtqueue_add_buf(vq, sg_list, o_page, i_page, (void *)1, GFP_ATOMIC) >= 0) {
++      struct scatterlist *sgs[2];
++      sgs[0] = &sg_list[0];
++      sgs[1] = &sg_list[1];
++      if (virtqueue_add_sgs(vq, sgs, o_page, i_page, (void *)1, GFP_ATOMIC) >= 0) {
 +              virtqueue_kick(vq);
 +              /* Chill out until it's done with the buffer. */
 +              while (!virtqueue_get_buf(vq, &count))
@@ -350,9 +353,9 @@ index 3d94a14..9a9a6cc 100644
 --- a/drivers/video/Kconfig
 +++ b/drivers/video/Kconfig
 @@ -16,6 +16,7 @@ source "drivers/char/agp/Kconfig"
- source "drivers/gpu/vga/Kconfig"
+ endmenu
  
- source "drivers/gpu/drm/Kconfig"
+ source "drivers/video/backlight/Kconfig"
 +source "drivers/gpu/misc/Kconfig"
  
  config VGASTATE
This page took 0.028622 seconds and 4 git commands to generate.