summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-09-08 12:51:09 +0300
committerThomas Zimmermann <tzimmermann@suse.de>2022-09-10 22:45:52 +0300
commit2a07a5ddb135e4bd15bf6468b7d2daa4deeaf07d (patch)
treedd0813d0337016bad8ee5ebe26bf22742a93f6fc
parent53593515ec1a4a5afaaa88fd4522bc4c2d7f5d9b (diff)
downloadlinux-2a07a5ddb135e4bd15bf6468b7d2daa4deeaf07d.tar.xz
drm/udl: Increase the default URB list size to 20
It seems that the current size (4) for the URB list is too small on some devices, and it resulted in the occasional stalls. Increase the default URB list size to 20 for working around it. Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-7-tiwai@suse.de
-rw-r--r--drivers/gpu/drm/udl/udl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_main.c b/drivers/gpu/drm/udl/udl_main.c
index 6aed6e0f669c..2b7eafd48ec2 100644
--- a/drivers/gpu/drm/udl/udl_main.c
+++ b/drivers/gpu/drm/udl/udl_main.c
@@ -20,7 +20,7 @@
#define NR_USB_REQUEST_CHANNEL 0x12
#define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE)
-#define WRITES_IN_FLIGHT (4)
+#define WRITES_IN_FLIGHT (20)
#define MAX_VENDOR_DESCRIPTOR_SIZE 256
static int udl_parse_vendor_descriptor(struct udl_device *udl)