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 CCAFBC64EC7 for ; Tue, 28 Feb 2023 10:11:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F33B410E037; Tue, 28 Feb 2023 10:11:40 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 34CAB10E037 for ; Tue, 28 Feb 2023 10:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677579098; 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=bdvB+P4eoLUT11Ndi/CDZkO7atqyQtI0E8Cf3YLMEZw=; b=NnI2Nib2IMNG+/2xVxFaOa0vt5NNV8w33geZhIcDuijKAYSCh0+/eO3BbVGrnOdwqlTui3 cSsAuu1fHjLgOd1RBE3pcL7WYYbSYhbe6/419czvahSL0/xxBvtavGMe3XJqL5GA9f7CWH rcqT8TkrJGF+U/g/p8vskcMbnxwt7io= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-329-Izl_ztIGNw2foDjtgcyBTw-1; Tue, 28 Feb 2023 05:11:35 -0500 X-MC-Unique: Izl_ztIGNw2foDjtgcyBTw-1 Received: by mail-wr1-f71.google.com with SMTP id ba28-20020a0560001c1c00b002cc6d1f0c06so654834wrb.17 for ; Tue, 28 Feb 2023 02:11:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677579094; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bdvB+P4eoLUT11Ndi/CDZkO7atqyQtI0E8Cf3YLMEZw=; b=Gg/A1ZMQaZYTNOkccr8TfynVjyl+6PGXeXuYkA2Jy1GCDcjJdEus20fuYWSEH16rIQ o7HsX96GXXN7MTEblSxHudGXVDDowjByWl0JSpWm35VvgTtqjrspFkN8xNF5oGm81uaM 8ycTx5xd3Iz/Cgfm55oUgEGmku+v7c7WPntBZ6h1qbPyRYvCoBfLkLPZ1gfvh7Mqa5aN RqNBCaSeZ9x1C7+ImiJMoCoeT57dpsHYh0gX1/7zSFHL3FQgktDJAvvCsZL321EfVCD3 xZZEhKTHn6LCGNYxeAlkoi7tCSIxsoQKl+RX8RdLOeqNFbwkyvH01du+e9JJczVm6dG4 B9Aw== X-Gm-Message-State: AO0yUKVEh+HaB63RiPrugxhYNdYcZ0rsRe06TM1Wj2NrcbsnjW6/Goxw icfEFE8c7I15wDD9sRbIUXcgc8uzSa9v3nl6vWyJWzefvT9qwkKfoWqL3L8ynf+GTKK79I4jE/m FXqQgu9Ik1tHERaXF+EWvpAoj4mYp X-Received: by 2002:a05:600c:4f16:b0:3eb:3998:36fa with SMTP id l22-20020a05600c4f1600b003eb399836famr1797377wmq.29.1677579094790; Tue, 28 Feb 2023 02:11:34 -0800 (PST) X-Google-Smtp-Source: AK7set8+K8u4V9G1SYSnYeNE/poWEp7BJBI1AKTDveaCv9MnXpdQOLm1QnVYpJbBN48iJbJjQVDnKg== X-Received: by 2002:a05:600c:4f16:b0:3eb:3998:36fa with SMTP id l22-20020a05600c4f1600b003eb399836famr1797361wmq.29.1677579094492; Tue, 28 Feb 2023 02:11:34 -0800 (PST) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q10-20020adfea0a000000b002c567b58e9asm9440194wrm.56.2023.02.28.02.11.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 02:11:34 -0800 (PST) From: Javier Martinez Canillas To: =?utf-8?Q?Ma=C3=ADra?= Canal , Daniel Vetter , David Airlie , Maxime Ripard , Melissa Wen Subject: Re: [PATCH v2 2/2] drm/vc4: replace obj lookup steps with drm_gem_objects_lookup In-Reply-To: <20230202111943.111757-3-mcanal@igalia.com> References: <20230202111943.111757-1-mcanal@igalia.com> <20230202111943.111757-3-mcanal@igalia.com> Date: Tue, 28 Feb 2023 11:11:33 +0100 Message-ID: <874jr6yu96.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: =?utf-8?Q?Ma=C3=ADra?= Canal , =?utf-8?Q?Andr=C3=A9?= Almeida , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Ma=C3=ADra Canal writes: > As vc4_cl_lookup_bos() performs the same steps as drm_gem_objects_lookup(= ), > replace the open-coded implementation in vc4 to simply use the DRM functi= on. > > Signed-off-by: Ma=C3=ADra Canal > Reviewed-by: Andr=C3=A9 Almeida > --- It is indeed the same logic. Nice cleanup! Reviewed-by: Javier Martinez Canillas --=20 Best regards, Javier Martinez Canillas Core Platforms Red Hat