Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp401494rwn; Thu, 8 Sep 2022 03:29:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR59vH2Ttt5EAWE2W1xe3iaMTz5wBqfi123RwZgZCOk4HuBH9fasL8UnUasnmj5QQyyOn1wL X-Received: by 2002:a17:907:7f0c:b0:741:ebcc:27c4 with SMTP id qf12-20020a1709077f0c00b00741ebcc27c4mr5481283ejc.663.1662632980677; Thu, 08 Sep 2022 03:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662632980; cv=none; d=google.com; s=arc-20160816; b=LfR/YUUIF4yquxSGd45Bi9tT2tCkhn0z1zU4fjIofndbSuuILi4NfFeYR0ayitVWTI aKnwTZaSe0qooFUdvvTAolae9Jg9IKY6BXb0kCemYZ4JkwIZukEATS/KGznb++a+8bkH lUOfbiXOgaxJKulVQLxpvqIesN9WVLcPwg0q8ZNJWXayKhxHz/6qzIwdZx/i97Fo6xUK FjbfNRBMIa2OzcpTG/8pNhoBJqT1LuZcUJZzsRxSB14AQDOfQS70hLCKBBFic02OELSh Ne0KWCX9nLmA9WOdF88rIc9eyIeCGkJ4+XcPtAmoOZKk0AjspMiphYzxGnJIp1ndTnQ8 PMMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=rLonqVoT3RhXGKfCH51i6qJuANJGJL+Z/J3Zqw4wpys=; b=Z1KbJo0ZUjfFvEG77TNbyid1q62k4piclwoQdG6lZPlMORoIN9+jNqb2RVD19ZTScd V76nFuQdwv4tl0pTO2TmdZG4c9lzkP5pqwTQexU+aHwDNqq0dMnpZKqWggDbeJZRD+Xg heSNJYjmc1E6nFhYE9YnAzANYZO5bwwpKkRqdaAUOZt24n+xyjzuiyyQNAWF+j7/iPz8 AvunCJDX4QRfyn8LjI+cvaMI4PpCUvPv272oTPjchcX7Qn1ZGUGTYil/5D71+G4biHdu i6nslAlpqyc+qJu/DZtxnwkeOSqndGGngbgFqRurvGy8tTys2JE9y+t8x39OnCgkct8T 1Xow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mUn09OPH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ee48-20020a056402293000b0044eb82ff1a6si5921451edb.491.2022.09.08.03.29.15; Thu, 08 Sep 2022 03:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mUn09OPH; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231497AbiIHJv7 (ORCPT + 99 others); Thu, 8 Sep 2022 05:51:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231348AbiIHJvZ (ORCPT ); Thu, 8 Sep 2022 05:51:25 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03EFB12C487 for ; Thu, 8 Sep 2022 02:51:21 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id DA62933A5D; Thu, 8 Sep 2022 09:51:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662630679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rLonqVoT3RhXGKfCH51i6qJuANJGJL+Z/J3Zqw4wpys=; b=mUn09OPHBp86y84rs3QFsOEQ1tjlxNIE43fnr7Wwznhe4BnZX62b+3iTYb7BWReE103LdC /7rmc+JCJCw9Lt0Nu5ZAy7xHSmRE+6YF3MKPgvv6IWIXfjoTGkNoYd+mfjbpTxTcOo8Yzb k5wCANtV8ad1ZxMsIq8FsK19dE7ptGs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662630679; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rLonqVoT3RhXGKfCH51i6qJuANJGJL+Z/J3Zqw4wpys=; b=F+gr7b/XjCITs17GNSyLv5TcJTx7cLh7uGTIjVRHxCGVyo9VOb+Fa2b21GOlDqa14XcZxT w2UR5OmAqm2FqyBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B4E0013A72; Thu, 8 Sep 2022 09:51:19 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cHuOKxe7GWNrUgAAMHmgww (envelope-from ); Thu, 08 Sep 2022 09:51:19 +0000 From: Takashi Iwai To: Thomas Zimmermann Cc: Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 06/12] drm/udl: Increase the default URB list size to 20 Date: Thu, 8 Sep 2022 11:51:09 +0200 Message-Id: <20220908095115.23396-7-tiwai@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220908095115.23396-1-tiwai@suse.de> References: <20220908095115.23396-1-tiwai@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Signed-off-by: Takashi Iwai --- drivers/gpu/drm/udl/udl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.35.3