Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1581777ybm; Sat, 30 May 2020 13:37:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiOPJEYvj8UeXkoijT23mzhEENmDDpUlfjmFeSkqmndxWlrHZBf2eujZiMxt45mnUuIA91 X-Received: by 2002:a17:906:b59:: with SMTP id v25mr2579790ejg.114.1590871077170; Sat, 30 May 2020 13:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590871077; cv=none; d=google.com; s=arc-20160816; b=z76RxdYyXazXJ4AEznRBv3cCV/IL9stzEkI4+fDU6O2l1+XXkKA9S4szV09BX7Azzm yYMtGP0GORhhTITVCyEIi5sUYvDXc2zY72xpxs/eZ9wlus0StA6nY57i4pbljEaftP3o YbfobsOv0kSD5mEB5ceu/+5AUcgzX7pjyj6qLcSwb6Up4YaXCiiWJa40iXPi+gfN5dHd PyY3xNzEG1M+7TCKBFRml6g6qPq9B2gIJIem353Zh5ujPFYxEzrJ5UfxD3sMAXd8nxe1 OF5bKlzahhqqFW84MYAEh4dq+3Ba8u0FlQIWKJ3sWAT/FvMXoNky0A1VLlNbe9Oj3zGA +QsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=YQ2eTRzHonhqJF3ZL4HYlMxSElcEqq+WSqbBmVWDUhI=; b=dZF9YivqNABzxGcpOQVA/E+w1mZL0CqFp1nTGbqNVeu0RwN4FuJyh4F2U3p8ylEOmN NJmpODT7ZrLcLAj1Jz+BTH4+W8drYwV59uvUqU1IntdC/Tm8KOoup9zVYUw49MwLUS4a FdqKefIV6ncJ1q9/miM1XhxwbNP/wdqcrarbFqsHLa6ZgR1zhdJZSfuc2saRfRuF8GiT c5uAkC5p/kuh3hAkUUzAp8ckCOZVXK1kLBWSaE6RxdcPa7JgTWKEx/VbQiS2sBs1BWuH zLlXg/kRd1waSnuFDV3rTg/M9Tds7sdPhT5a1pc/EPQfEGP6o687VkKqObojb8dzq0Iq B9Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tRI5eqJP; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lj21si8571542ejb.324.2020.05.30.13.37.34; Sat, 30 May 2020 13:37:57 -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=@gmail.com header.s=20161025 header.b=tRI5eqJP; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729333AbgE3UeY (ORCPT + 99 others); Sat, 30 May 2020 16:34:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgE3UeW (ORCPT ); Sat, 30 May 2020 16:34:22 -0400 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65DC9C03E969; Sat, 30 May 2020 13:34:22 -0700 (PDT) Received: by mail-il1-x142.google.com with SMTP id h3so5794837ilh.13; Sat, 30 May 2020 13:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YQ2eTRzHonhqJF3ZL4HYlMxSElcEqq+WSqbBmVWDUhI=; b=tRI5eqJPiHGaD4J0PlwEJbmOeTLTXvBVFiz49/nwb9HvI5FnUEIWpISRg9S6usOTLR ffjIu5AyTInmZJSpqk3cYkRMkn2P3lrBCQMiKvQK9WWw9oL1GOJrqjmtVQswiAu/xDMm hDx4qaoIjbgzSphtSas9COsc7e2LLqSmpg+k3o96kHelcU4kRlwRrb340EL7oH+vH7JY PxVflsJi0fglfmwXzpVLbVAPfgnolwiFXei2OZkWTU+d61+z/hmiHEwkb0T6eoZi1Cm3 X03Igs/+fdvJU6arMWAXoecFr2s7WzdyRLFl21ZmB/lktpRTGHWuY0GQs5uCk82/RoAy f+Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YQ2eTRzHonhqJF3ZL4HYlMxSElcEqq+WSqbBmVWDUhI=; b=kHACXCWxncPIV+UYtnEk+TgEtoMGl8jYDbUn9txU9oCOaSKIUkRprI8wWgR+k4/AEt TzE6ucgD+ThhCvimlhHFLrtPyA2jE7JVCvXa110X1sZajpSZKgXmNYMHpHRlVe08rJ5T qOg8n+kw1lmwQre+ChKFucW2j1DnUzASxmgLZOJdr/YSSP8Wzb+eSTjnrOhoo13B4gcj A+Nali45xSwJPX/LXZCz/rsi2i9QNy5JyTPCQa9XDQot+oC1W/sddba01VHoS5629jWO g1LX+dX8/JcBlTZuXOBDhKJfLb7lzhR5X6p2M+t4uc3S8u5JUXb2y30QvnWprL1kao2q x4iQ== X-Gm-Message-State: AOAM530wHLnK+g/0vNg/WDyY38KRlSjtxmJT/4QxlcXPBZ9n1IehZLV7 StKbeSuAGJLyEKA2RnpA3fxVyEOBc7blY/tiRD0= X-Received: by 2002:a92:7104:: with SMTP id m4mr7655023ilc.87.1590870861509; Sat, 30 May 2020 13:34:21 -0700 (PDT) MIME-Version: 1.0 References: <1590685491-17107-1-git-send-email-dennis-yc.hsieh@mediatek.com> In-Reply-To: <1590685491-17107-1-git-send-email-dennis-yc.hsieh@mediatek.com> From: Jassi Brar Date: Sat, 30 May 2020 15:34:10 -0500 Message-ID: Subject: Re: [PATCH v6] support gce on mt6779 platform To: Dennis YC Hsieh Cc: Rob Herring , Mark Rutland , Matthias Brugger , Philipp Zabel , David Airlie , Daniel Vetter , Linux Kernel Mailing List , linux-mediatek@lists.infradead.org, Devicetree List , wsd_upstream@mediatek.com, dri-devel@lists.freedesktop.org, Bibby Hsieh , CK Hu , Houlong Wei , linux-arm-kernel , HS Liao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 28, 2020 at 12:05 PM Dennis YC Hsieh wrote: > > This patch support gce on mt6779 platform. > > Change since v5: > - spearate address shift code in client helper and mailbox controller > - separate write_s/write_s_mask and write_s_value/write_s_mask_value so that > client can decide use mask or not > - fix typo in header > > Change since v4: > - do not clear disp event again in drm driver > - symbolize value 1 to jump relative > > [... snip ...] > > > > Dennis YC Hsieh (16): > dt-binding: gce: add gce header file for mt6779 > mailbox: cmdq: variablize address shift in platform > mailbox: cmdq: support mt6779 gce platform definition > mailbox: mediatek: cmdq: clear task in channel before shutdown > soc: mediatek: cmdq: return send msg error code > soc: mediatek: cmdq: add address shift in jump > soc: mediatek: cmdq: add assign function > soc: mediatek: cmdq: add write_s function > soc: mediatek: cmdq: add write_s_mask function > soc: mediatek: cmdq: add read_s function > soc: mediatek: cmdq: add write_s value function > soc: mediatek: cmdq: add write_s_mask value function > soc: mediatek: cmdq: export finalize function > soc: mediatek: cmdq: add jump function > soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api > soc: mediatek: cmdq: add set event function > > .../devicetree/bindings/mailbox/mtk-gce.txt | 8 +- > drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 3 +- > drivers/mailbox/mtk-cmdq-mailbox.c | 101 ++++++-- > drivers/soc/mediatek/mtk-cmdq-helper.c | 163 ++++++++++++- > include/dt-bindings/gce/mt6779-gce.h | 222 ++++++++++++++++++ > include/linux/mailbox/mtk-cmdq-mailbox.h | 10 +- > include/linux/soc/mediatek/mtk-cmdq.h | 125 +++++++++- > Please break the patchset into two. The lower mailbox related changes with soc changes on top. thanks