From patchwork Tue Apr 4 01:27:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danilo Krummrich X-Patchwork-Id: 13199003 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A3BAC77B62 for ; Tue, 4 Apr 2023 01:28:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 69B5010E10E; Tue, 4 Apr 2023 01:27:59 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6D79510E1B2 for ; Tue, 4 Apr 2023 01:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680571676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qy5D/ZZ0dwag1BT8hM3evEqOdQXhrzVTN7mL8aXSMGo=; b=CshnjORxmNKltlAAsPW89y32wRKHVa8MZGwn2mCJTjCYOQaC8uAem36/0FS5jjJr9cJjnn 409r36nAeVLHzns6cK243cmik9N8MVrdu9s2ZGRuEEJxmX9dXtqDtaf7pA3nA4fcASdyfZ C6Oyj7ATck9SegzXRymk6/nTNKUZmsU= Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-588-De9e5MbRPa6026nAcZMb9g-1; Mon, 03 Apr 2023 21:27:55 -0400 X-MC-Unique: De9e5MbRPa6026nAcZMb9g-1 Received: by mail-ed1-f71.google.com with SMTP id i42-20020a0564020f2a00b004fd23c238beso43499281eda.0 for ; Mon, 03 Apr 2023 18:27:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680571674; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qy5D/ZZ0dwag1BT8hM3evEqOdQXhrzVTN7mL8aXSMGo=; b=bcYfU1qBUMcdDmPSh9d1PT2Whed+PMcgsr0wb3VTw7dU1SgpFQayXIoJw7oaSkjaiJ qLzoS+R6fJZvXgaKP+/VambcynFX5pZ6Y7jS0PPzKRJl7vkymW9dNIA+2+OvbjgxQO5D 2aNRbixkqLkfWT3/m69MNKUiOM6y7JDJSXZncxdFOOBWEwrjVvk+eexcLMhdDrW/0orr OWGiK8Evr0uzFbMRizuBmysEgIi1yM/w4yjKcuOmp5JumV4DV9EXqYaQkRKhuXU3PwlA DVoK6dFF5Ih0NMAo8mMg22YaSt5cZBIeUnVuYs4RL6HnRe3Vz0pG9qRz0lQIyuN64kqE Jmaw== X-Gm-Message-State: AAQBX9fhqVh1pEqgJD2fV60wlf9/kBRqC6qn+rcvUL2dISJwumnvqOjF GPDRwMkWQzN4oXZItRdD8dGpNNAfzcZfwXh4CtwbCij08TiG10XfSR4uacfuwLS1IP3FWehEk4U a6PVGR8ma78mqculqi772VdEbfok2 X-Received: by 2002:a17:906:4dc1:b0:8b0:ad0b:7ab8 with SMTP id f1-20020a1709064dc100b008b0ad0b7ab8mr537811ejw.14.1680571674351; Mon, 03 Apr 2023 18:27:54 -0700 (PDT) X-Google-Smtp-Source: AKy350aYg00eHiyswbtoLlF56sjeND5GW8MPldJF2FDkJFmQJWCtDChMw3C466wihCFb4E1/7woEmA== X-Received: by 2002:a17:906:4dc1:b0:8b0:ad0b:7ab8 with SMTP id f1-20020a1709064dc100b008b0ad0b7ab8mr537795ejw.14.1680571674124; Mon, 03 Apr 2023 18:27:54 -0700 (PDT) Received: from cassiopeiae.. ([2a02:810d:4b3f:de78:642:1aff:fe31:a19f]) by smtp.gmail.com with ESMTPSA id mh13-20020a170906eb8d00b00931024e96c5sm5222682ejb.99.2023.04.03.18.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 18:27:53 -0700 (PDT) From: Danilo Krummrich To: airlied@gmail.com, daniel@ffwll.ch, tzimmermann@suse.de, mripard@kernel.org, corbet@lwn.net, christian.koenig@amd.com, bskeggs@redhat.com, Liam.Howlett@oracle.com, matthew.brost@intel.com, boris.brezillon@collabora.com, alexdeucher@gmail.com, ogabbay@kernel.org, bagasdotme@gmail.com, willy@infradead.org, jason@jlekstrand.net Subject: [PATCH drm-next v3 02/15] drm_exec: fix double dma_resv unlock Date: Tue, 4 Apr 2023 03:27:28 +0200 Message-Id: <20230404012741.116502-3-dakr@redhat.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230404012741.116502-1-dakr@redhat.com> References: <20230404012741.116502-1-dakr@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-doc@vger.kernel.org, nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mm@kvack.org, Danilo Krummrich Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Signed-off-by: Danilo Krummrich --- drivers/gpu/drm/drm_exec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_exec.c b/drivers/gpu/drm/drm_exec.c index df546cc5a227..f645d22a0863 100644 --- a/drivers/gpu/drm/drm_exec.c +++ b/drivers/gpu/drm/drm_exec.c @@ -62,7 +62,6 @@ static void drm_exec_unlock_all(struct drm_exec *exec) } if (exec->prelocked) { - dma_resv_unlock(exec->prelocked->resv); drm_gem_object_put(exec->prelocked); exec->prelocked = NULL; }