Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp151691pxt; Wed, 11 Aug 2021 17:14:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSgUF8qbwqrcPW5pCtKBPq98J+lkCFfJXYuJ6ab/BwmXcZDKWlljqybFFa3GRqiK0x4tTW X-Received: by 2002:a6b:f416:: with SMTP id i22mr898913iog.162.1628727282040; Wed, 11 Aug 2021 17:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628727282; cv=none; d=google.com; s=arc-20160816; b=hbi+U5ofZRbVAsktHjVjFNrvNUA/CoOhKHnP/F4AnYqfw9+oGrHb1XHmXcSwe0BSXw ZBc1jC4f4Z78WQcJkir08s+//hW23sNrbpoSOlBxkd4BUOt9iHBYHlqOisVuV2ammL7b UwzpPDlIXJ0cH0vytqIC/uNto3Aw50Davpw5nBeLGahLlPT2GxwY76735KgFj4q7SVyO 5Ny6FyF4qiZ7rGB8TC0c+giOH8j6mSw27zRe/yhf9YNlbdfB4svFfkvJjuVfjucf6ro5 MiYwv61INttcUKb5laGyFcLwLg5yXre3Mm2FyCfVQl24bDy7/a7lyX3vhCJCcFtD3pwn klvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KSX97D6ENyaEdiE4QE+O+VH0gcS2SE4430efEsetbuM=; b=rXrzRnCX0HzxbO2gfH4QJLBvpbqsCIlFcrClkeOeXDyWbdQtUuQECU2GicL2V4CuB2 Inc/T5ZvADIdVh+jVzZYQM0luizOwyixfE8yOl+PBt63I9tNqmwq8kuhI8wQJJW30+1r Q23xSCiDvZDZCTihFi8/XP8+6Lk7bVxhd7XtEBr6xk9bKfqkaoK6+BJSyfJs8fSS2ycU hOXZsLAcgyBlRXrVAamAZvbJVu6XzRcUbsct92sYO+7s+z3/OynSoBFHG/b7AcjYAEyZ 8JrBffLcqltNeBPJR5bosaMNfCtWA21EY9Oy9vqQBgEEnK291m+kYXo3ugFp012znJ1P 5AJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B6KSggAE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n3si938864ioh.98.2021.08.11.17.14.30; Wed, 11 Aug 2021 17:14:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B6KSggAE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232932AbhHLANr (ORCPT + 99 others); Wed, 11 Aug 2021 20:13:47 -0400 Received: from mail.kernel.org ([198.145.29.99]:56758 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbhHLANq (ORCPT ); Wed, 11 Aug 2021 20:13:46 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4A9CE610A7 for ; Thu, 12 Aug 2021 00:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628727202; bh=SvqZXrT6raLFkVVxSV1Rme6HepTUUscOCyV5xTdrWSw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=B6KSggAEUigQ5ARvSFSmuLugF8pCl74OazxBj93wNoETjxYTmQjhtadx5Dr7K0VNR Ydechf2VxRHirK2RzLK5oJoTMzEKPX+afgHXXaNQGaraSNd/3TyKPA9ftTP0+0vbI5 W0IITElFrQwFhplnriCy6VOXAaaJgFIhUU7ia/Q02VWxlOOYO8nzsZuWH34a7y2NlS XqkJ79J35xvvE7pzcnLyjmugFMEWymrq5g+cZNJBDEM/jx40ofqZ5IvWghL6YBMaa6 76n/rxGGaUGOCypVNNbej8QynIFtZmPqNwv1JuR7JlRcSUEgwyCMgt7g48BokrRsyy cGtZJnDHEWTWg== Received: by mail-ed1-f54.google.com with SMTP id g21so6609631edb.4 for ; Wed, 11 Aug 2021 17:13:22 -0700 (PDT) X-Gm-Message-State: AOAM530bjASuTYLn2ENhQ+kz+RkyDc3GdGwPo1DkfNWWo5ymdkF0xLGy hqKiY0BMD6dyDTXfhoZwG4JLJDQ3LErZI2NACQ== X-Received: by 2002:a50:9fc2:: with SMTP id c60mr1984780edf.49.1628727200855; Wed, 11 Aug 2021 17:13:20 -0700 (PDT) MIME-Version: 1.0 References: <20210808234733.14782-1-chunkuang.hu@kernel.org> In-Reply-To: <20210808234733.14782-1-chunkuang.hu@kernel.org> From: Chun-Kuang Hu Date: Thu, 12 Aug 2021 08:13:09 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] CMDQ refinement of Mediatek DRM driver To: Chun-Kuang Hu Cc: Philipp Zabel , David Airlie , Daniel Vetter , Yongqiang Niu , linux-kernel , DRI Development , "moderated list:ARM/Mediatek SoC support" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chun-Kuang Hu =E6=96=BC 2021=E5=B9=B48=E6=9C=889= =E6=97=A5 =E9=80=B1=E4=B8=80 =E4=B8=8A=E5=8D=887:47=E5=AF=AB=E9=81=93=EF=BC= =9A > > These refinements include using standard mailbox callback interface, > timeout detection, and a fixed cmdq_handle. For this series, applied to mediatek-drm-next [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/= log/?h=3Dmediatek-drm-next Regards, Chun-Kuang. > > Changes in v2: > 1. Define mtk_drm_cmdq_pkt_create() and mtk_drm_cmdq_pkt_destroy() > when CONFIG_MTK_CMDQ is reachable. > > Chun-Kuang Hu (4): > drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb > drm/mediatek: Remove struct cmdq_client > drm/mediatek: Detect CMDQ execution timeout > drm/mediatek: Add cmdq_handle in mtk_crtc > > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 110 ++++++++++++++++++++---- > 1 file changed, 91 insertions(+), 19 deletions(-) > > -- > 2.25.1 >