Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp964610iog; Thu, 30 Jun 2022 13:59:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZycOSjDcD3u7eub/6Oq2SE4nfw3fJwNyLR1TKiKTyutJqlRawefgnVsm1xQVkKxiB4LVQ X-Received: by 2002:a17:902:ea12:b0:16b:a264:3817 with SMTP id s18-20020a170902ea1200b0016ba2643817mr9584260plg.52.1656622766286; Thu, 30 Jun 2022 13:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656622766; cv=none; d=google.com; s=arc-20160816; b=FXDE7l44/E/JeLKy8wcxaNRgCZhcKuJe84ym9Ieo4YBYwSoWB5bZtUJWxkhiejNNAn 26LVcT2majRe3KU/9aKer6KxzdMnnHlxSh7AOOZc/EH/8QMojHgl8bMTbWxeq+u9Uffd uJLF/eFcruG78UsJC8Wp/l+xhJakrnVTfK9HNIGyhjDJkmisxrD3PPZDwYNkLEaOqets 0ayRnLY0BDfbwGo6kZQKwjmCcBWG546/2xzvw1LWxsjxsuNp9SiLdqnVZ4TiImM1GYRo 4veyIVjyf/v+PH02j2IghbIt4Tha9VezJWUml1o+EvBGquLE2OR7MWXom0k9OgkB8Z0D wpPw== 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; bh=QQ6EGP+T80lRTrNngiWJ4oAp6GVPOaZYEdHHxQq281w=; b=N/M0KYL95IM+BQVhviACWtmYYDgInf+oa2wU5VgymhULaI3YSzIY9N2ARYK6JQ3JIc sYPJxtja4QwbYX6uhVK2E/VHTYmn1T8rW/Zh4BmS/vCe3nly1jromwciqE/myCq+yBMc YeLCUO/SCX1ifUSgXCfR4FJi2Vi6zKRjYjE4r+2UZCBnS7qP+bCUmhF7YZTnXHCgXs1n n12xhcbsAff0O9FdkHsJGbRM8FcjknuNbj11nLy3CXCEFsKzXs8cW8hu8k8CP38lTb8Z FKZcslzfZTHRQZ/htQDsvgD80r5xQdhoe1wLJrrcR+y4ARWSCv5dSzMasLxynD6w2Uqa Ld5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=C60CRvbq; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j185-20020a638bc2000000b0040cf5d7ec8csi24467105pge.269.2022.06.30.13.59.12; Thu, 30 Jun 2022 13:59:26 -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=@collabora.com header.s=mail header.b=C60CRvbq; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236894AbiF3UBj (ORCPT + 99 others); Thu, 30 Jun 2022 16:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231747AbiF3UBa (ORCPT ); Thu, 30 Jun 2022 16:01:30 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 407954132B for ; Thu, 30 Jun 2022 13:01:29 -0700 (PDT) Received: from dimapc.. (109-252-118-164.nat.spd-mgts.ru [109.252.118.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id A1BAD660196E; Thu, 30 Jun 2022 21:01:26 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1656619287; bh=bHY/wTGdwNWE0vfGLvjwkTXQsLLmekm4lElw1VQe+qg=; h=From:To:Cc:Subject:Date:From; b=C60CRvbq0hfB7n3bN1cYPypQwLwwD8bMj1QffeZcO3HLV02fCbeRi+MWt6G0RZjJA 7USBZyoYH/ZEBIEUcl3QS5W+vxjgA8IhEXQJ7jABbKZYc2W7LcV6EO5fVn2am4M7VP OiHMPYJB0cqC+WSvFtGp/VNiiSsvVKkQQ2MwL0NBNKlT3ZPulCSZquXVfDSBa3AoKT jmhVOaQnltFq29FfqSKuNp1po4HqvUW3qMHxXXGJAx8zn6nOh05rSwo+2S25ffyA2K iA+2tycDexEXe3A9/wD8uFhSB5QWCKRmmpTXfvC5DfsrZ5EZMBDcsgf9hqOIfFREoh Pw/M4RjO27/xg== From: Dmitry Osipenko To: David Airlie , Daniel Vetter , Maxime Ripard , Thomas Zimmermann Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dmitry Osipenko , kernel@collabora.com Subject: [PATCH v7 0/2] DRM-SHMEM fixes Date: Thu, 30 Jun 2022 23:00:56 +0300 Message-Id: <20220630200058.1883506-1-dmitry.osipenko@collabora.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 This series fixes two minor problems in the DRM-SHMEM helper. Changelog: v7: - Factored out DRM-SHMEM fixes from [1] since I'll be working on the dma-buf locking in a separate patchset now. [1] https://lore.kernel.org/all/20220526235040.678984-1-dmitry.osipenko@collabora.com/ Dmitry Osipenko (2): drm/shmem-helper: Add missing vunmap on error drm/shmem-helper: Correct doc-comment of drm_gem_shmem_get_sg_table() drivers/gpu/drm/drm_gem_shmem_helper.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.36.1