From patchwork Mon Oct 2 11:12:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sui Jingfeng X-Patchwork-Id: 14794 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1352279vqb; Mon, 2 Oct 2023 04:20:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1U/LoE5tYRr82dfUk9xq+lNocr1z/AC3yXRt6vp3Bc3rqaBjvwvPhKudvrVISOTbYnCpr X-Received: by 2002:a05:6a20:4327:b0:160:58f5:693b with SMTP id h39-20020a056a20432700b0016058f5693bmr9949037pzk.44.1696245634952; Mon, 02 Oct 2023 04:20:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696245634; cv=none; d=google.com; s=arc-20160816; b=xPgJNpXmZZOy/zRoWPB3IF2n5Impd8q8cAYjO3GZzDv9FJ+lO0CsGIxn00qLNkA8/V JGpQJDgedXZNs5KeANRBhd6nXPH26zYfowEv4y+owoxFIfcC2QI9LUkf0a7fpE90QN9n RuLGVVUjLdi+GIe4VDxntQvD+1LQXk8k5+3hzMAMIdrwsmCnptJBdEKHjnj1OHB8k9JG vh9AqYM2cQVl5MJJ4M3vNwAnvyiEik39I0OIATRkrathXCTXwxgiSqOEWMI85ho3BfOv 9u3HYAXOhXBCoV+cDqQSH7PS8mc0ywWwDWS+zA2EFeia4fRZMmZnSUeO0xjzfWzHVHMq iBzA== 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; bh=AaUU8S/YqmAtkHPviZ0dhLeeOOVPXS8pufidb+pNE3A=; fh=zB/Le29j84eF2EWMM5mMCmgRJzHNI4kLocpkF47EhQo=; b=UbO9zNE1tA88WNbtQ/PctXQqdT8VVPUh3Ulz2k4JvEoxb97PyOAGV812/N88S/z623 ZmJWRtZBk/9dhm1oE4bUykvfoOIL4PMYQ+b/JkFHC+hnCkAbJu9c/JAo51UGmsxGQlj3 TsMc7tJfrn39zyjk+VhkfVWOdQbUPyUnphsSbKYPdjdXKgcWOMWv5gWghF1p66zWisB+ oh82gkX0zx2gG8lUN1cZlRTQ0oDpKg4oS5oG2PP/GUACsvebk66YO5wOG4lX/rHEWqh1 br3mULqTtoxds6VtUa32j6Yf/ATrzz9B54poC3trzk2HqyXsZNysFfXYeUfSSfMJ8Ua7 HWgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b5-20020a633405000000b005775302b11csi23983803pga.81.2023.10.02.04.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 04:20:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 93BAB80A1E08; Mon, 2 Oct 2023 04:12:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236676AbjJBLM1 (ORCPT + 17 others); Mon, 2 Oct 2023 07:12:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236634AbjJBLMN (ORCPT ); Mon, 2 Oct 2023 07:12:13 -0400 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1DBAE0 for ; Mon, 2 Oct 2023 04:12:10 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.43]) by gateway (Coremail) with SMTP id _____8AxueqHpRplIJIuAA--.13608S3; Mon, 02 Oct 2023 19:12:08 +0800 (CST) Received: from openarena.loongson.cn (unknown [10.20.42.43]) by localhost.localdomain (Coremail) with SMTP id AQAAf8BxE+SHpRplEh4XAA--.50320S2; Mon, 02 Oct 2023 19:12:07 +0800 (CST) From: Sui Jingfeng To: Lucas Stach Cc: Christian Gmeiner , etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] drm/etnaviv: Various cleanup Date: Mon, 2 Oct 2023 19:12:02 +0800 Message-Id: <20231002111207.513297-1-suijingfeng@loongson.cn> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8BxE+SHpRplEh4XAA--.50320S2 X-CM-SenderInfo: xvxlyxpqjiv03j6o00pqjv00gofq/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUUkYb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVWxJVW8Jr1l84ACjcxK6I8E87Iv6xkF7I0E 14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUtVWrXwAv7VC2z280 aVAFwI0_Gr0_Cr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28Icx kI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2Iq xVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI42 IY6xIIjxv20xvE14v26ryj6F1UMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY 6xAIw20EY4v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Gr0_Cr1lIxAIcVC2z280aV CY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8l38UUUUUU== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 02 Oct 2023 04:12:38 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778642462606078045 X-GMAIL-MSGID: 1778642462606078045 v2: * refine on v1 and update Sui Jingfeng (5): drm/etnaviv: Drop the second argument of the etnaviv_gem_new_impl() drm/etnaviv: Fix coding style drm/etnaviv: Add helper functions to create and destroy platform device drm/etnaviv: Add a helper to get the first available GPU device node drm/etnaviv: Using 'dev' instead of 'etnaviv_obj->base.dev' drivers/gpu/drm/etnaviv/etnaviv_drv.c | 93 ++++++++++++++++++--------- drivers/gpu/drm/etnaviv/etnaviv_gem.c | 12 ++-- 2 files changed, 67 insertions(+), 38 deletions(-)