Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4045984rwb; Tue, 6 Sep 2022 01:24:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR7DCvoJWYISsaPb0RxRqk88R2xiyNUT8RCWyPK5JVOnxLDJjpdbqkmrIlUFxFjMHp9Ro+0h X-Received: by 2002:a17:903:1106:b0:172:68f9:f68 with SMTP id n6-20020a170903110600b0017268f90f68mr54100205plh.50.1662452659517; Tue, 06 Sep 2022 01:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662452659; cv=none; d=google.com; s=arc-20160816; b=spUSd6mktkLRgS56sAw/8vfR5mhKMn8nrDVB4yH7Kqu65UH9CwmBULt1ku+D+usU/9 I19hw1/CJxd/eAz8rCDvZzE+sJ7rsryKxquKRtkNoKt/q8KZa+C+lX/PGmaWJKbUtNQ0 g6cEeJNa05C7GVAvXhablTYxtMVMtQFQh141kXNXRhufw/ONhhJ+HgghXa/I7XC2rMCh 2QqL2JotLDHsKRsPXDkEMyR4awk5QUE3/kq+Fpem21pTWHo55Hfdekjk9bwmKsJxMxfr Dbb7GYLGZbIaI02TGBZ0u8l8zks/aUfkFmUybF9l4xAScqWo7Uum/IRipfz7PT8PDsB4 B+Lw== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=4hFdCuz1aZgzmgtnY0njr/afmoWuavqMx5WcOQEpdOI=; b=Qv0CXjnrqxb7fKpZt37q3qsDf8K9qRju3emuSeRY/RnJWqguAuzikCtIf5i1J2JQC0 /Vg07kG2ZUuDatxcXWOIi0hqmGY0hUusotZtS85RRQ1rUN1dIR7o0gnpusOVXkjf1HEh rh8iO+mtx6MEF0BznHa1as7IPqMZlr2g5CqSfjTnQxlz9Z80peBUWbiHu7AxAKdr3hx6 cXk+TgNWi7akJaNZC4UixW1158eTHFOFpUqI7ehfAwioN0tM2VkPgNZHBR5lCkfxo8J9 GU2f6uokO+JR3IRnIz3Eu0vbIK33uZAZPMNV/Vcmq6TEyvLyBLIiq7pNVq7kyODQoiiH E9Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=COpvJ5d7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=SsK9gb+q; 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 mi5-20020a17090b4b4500b001fffa99f051si13446599pjb.102.2022.09.06.01.24.08; Tue, 06 Sep 2022 01:24:19 -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=COpvJ5d7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=SsK9gb+q; 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 S233733AbiIFHj7 (ORCPT + 99 others); Tue, 6 Sep 2022 03:39:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233141AbiIFHj5 (ORCPT ); Tue, 6 Sep 2022 03:39:57 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7E8523143 for ; Tue, 6 Sep 2022 00:39:55 -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 5F7EA336E4; Tue, 6 Sep 2022 07:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1662449994; 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; bh=4hFdCuz1aZgzmgtnY0njr/afmoWuavqMx5WcOQEpdOI=; b=COpvJ5d7tbAStYGhO7bc1zFXuUGKOb84iPIzkhLGUPAMkEwYhh68Dpc+0B1hFi1uhGTE+W KE5n1VS8NfhAYQubOl8V/ROcV/kQwTRjF4bHyI0+98T6CPE0pMXOG/Fjxnfg39LSzBdiqf EAw6mGGSK0oG4NLM76ZPHA7JOJ8ipKM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1662449994; 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; bh=4hFdCuz1aZgzmgtnY0njr/afmoWuavqMx5WcOQEpdOI=; b=SsK9gb+qMRiNOhlwAW0W6mmxii6Nh0CKLY+0XskfgUak3e1lEIjAirAscWAacj/KOeCKp6 0iZJDHBDSbYghEBQ== 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 3ED2D13A7A; Tue, 6 Sep 2022 07:39:54 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id O7OFDkr5FmPeOgAAMHmgww (envelope-from ); Tue, 06 Sep 2022 07:39:54 +0000 From: Takashi Iwai To: Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/11] drm/udl: More fixes Date: Tue, 6 Sep 2022 09:39:40 +0200 Message-Id: <20220906073951.2085-1-tiwai@suse.de> X-Mailer: git-send-email 2.35.3 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 Hi, this is a revised patch set for cleaning up and fixes for UDL driver. It covers the PM problems, regressions in the previous patch set, fixes for the stalls on some systems, as well as more hardening. Takashi === v1->v2: cleanups as suggested by Thomas - Drop numurbs parameter patch - Clean up / simplify clipping patch - Code cleanup and changes for urb management patch - Put Acks on some given patches === Takashi Iwai (8): Revert "drm/udl: Kill pending URBs at suspend and disconnect" drm/udl: Suppress error print for -EPROTO at URB completion drm/udl: Increase the default URB list size to 20 drm/udl: Drop unneeded alignment drm/udl: Fix potential URB leaks drm/udl: Fix inconsistent urbs.count value during udl_free_urb_list() drm/udl: Don't re-initialize stuff at retrying the URB list allocation drm/udl: Sync pending URBs at the end of suspend Thomas Zimmermann (3): drm/udl: Restore display mode on resume drm/udl: Add reset_resume drm/udl: Enable damage clipping drivers/gpu/drm/udl/udl_drv.c | 19 +++++- drivers/gpu/drm/udl/udl_drv.h | 13 +--- drivers/gpu/drm/udl/udl_main.c | 95 +++++++++++++++--------------- drivers/gpu/drm/udl/udl_modeset.c | 36 ++--------- drivers/gpu/drm/udl/udl_transfer.c | 45 ++------------ 5 files changed, 75 insertions(+), 133 deletions(-) -- 2.35.3