Skip to contentSkip to conversation

drm/udl: disable fb_defio by default

PATCH New Dave Airlie 1 participant 1 message Feb 7, 2013

Subsystems (3)
lore
Share & tools
lore

Dave Airlie

author maintainer
#0 lore raw

PATCH 1/1 drm/udl: disable fb_defio by default

From: Dave Airlie <[email protected]>

There seems to be a bad interaction between gem/shmem and defio on top, I get list corruption on the page lru in the shmem code.

Turn it off for now until we get some more digging done.

---
 drivers/gpu/drm/udl/udl_fb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/udl/udl_fb.c +2 -2
index c35880f..1eb060c 100644
@@ -22,9 +22,9 @@
 
 #include <drm/drm_fb_helper.h>
 
-#define DL_DEFIO_WRITE_DELAY    5 /* fb_deferred_io.delay in jiffies */
+#define DL_DEFIO_WRITE_DELAY    (HZ/20) /* fb_deferred_io.delay in jiffies */
 
-static int fb_defio = 1;  /* Optionally enable experimental fb_defio mmap support */
+static int fb_defio = 0;  /* Optionally enable experimental fb_defio mmap support */
 static int fb_bpp = 16;
 
 module_param(fb_bpp, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
Signature · 1 line
1.8.1