Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp119497pxb; Tue, 15 Feb 2022 06:43:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPUG8Zn75OhQQLmQULcw6K+dqDRqBOf808evs1uYCHS70NMZuOopMY9VjvtHy34SHaDYAe X-Received: by 2002:a17:906:dc92:: with SMTP id cs18mr3270959ejc.590.1644936235493; Tue, 15 Feb 2022 06:43:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644936235; cv=none; d=google.com; s=arc-20160816; b=k1xPzS1A5VOGMAmzjnvqluZ854tYQ71rNQxurUKAyqySWT4tdD0S5lSJ9s4Dj1eh+c mQveHnPq/2FLRTP5cBB3wf8Ln6vCt9U1CC/EcXviHOEFzSucxb7W/gBa7YcOF66+EVLC C0Edk28lfQLmmJuX8RKs4FY8npPJCtpu8SZrcfP/sPHiPjYEz+hmf59RbpFWcOuiAbYT k7H/k9R5FFg7yu1yZxX+B5VFJf5m9qcHAhCdbXrLFfyq4YuCC4WChxqO85wEa3/iCdq9 NCL2JNSeFDAMyOkGxrI3S6oiRu6b/GRQ+e8+z/3rJv7LQ3ylypNRzlOCGRTDNNQ0YOSu dUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hY0Up7/tECmXoFbl+HD7sgq/lhDX16Q/eetVj5TEA+A=; b=DvB/nou11J1HluVe9kkVZuUeUjwgk6nnx1pcjIJdyP/MJEtHS/LiY1YVBaeCiPDfvR gJ9BahyCUXgcCHYhJFkb7uVl1G+BREB2G3bPMN/NW2J3TQmqAJ3R9BbBHSC9DJ9ot9IX sGztaX6J1laHZLdQDvqlYDS0uxDCQDRn29sN+WHscfc72syAGiODYLbv9HJYK0zRsnK7 TBqURq9oHAk/bH7zOjZE1BvO9mNhjJTxjlMlYPfu3/gHVx6BO9G5Z7SkrZmZXou93TUG BOD97c2ckDOtm3/DLjkHV82brb+Sq1l3DUrxWEMBYPiCFlrK/YGaFQr7zZUh/DZ+hcjg uIaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GJRNsptH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn5si6388190ejc.489.2022.02.15.06.43.32; Tue, 15 Feb 2022 06:43:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GJRNsptH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238320AbiBONmX (ORCPT + 99 others); Tue, 15 Feb 2022 08:42:23 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236994AbiBONmW (ORCPT ); Tue, 15 Feb 2022 08:42:22 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EEB9BF514 for ; Tue, 15 Feb 2022 05:42:10 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id j15so14025528lfe.11 for ; Tue, 15 Feb 2022 05:42:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=hY0Up7/tECmXoFbl+HD7sgq/lhDX16Q/eetVj5TEA+A=; b=GJRNsptHtcwMCCI5t8nKm74awQJH4mTGXqy79eq6kuo0MWFnru3J/Wciju/WVxNwWc HhXeuLmmBgNboXt3XHJiNj4hLpei7bs9RhvJS+ZWEQObdNNe/eiSOzMBO2DLwgokGlgh vq0YAafZnPsjIiwvjB5+UlyxKB9JQOnz7zsSQUDTChUadhOgpDvCr5emUsQdvY6Zgoof 3G9FE2IsO/xhkYzfCw4Wp5kSjiKagHMQv7bp3AWpfjRFPb6P0cGhq7lCZkZjr8NzoRep g+ZcGSLdcX+tKB3rHzkzxcycXQj42sM6G5p+IHRXYdlhYE76KjnjIvseDbx0UCBfmqIA 42lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=hY0Up7/tECmXoFbl+HD7sgq/lhDX16Q/eetVj5TEA+A=; b=skuxzfTMl6vS9zWpYHq8iMmMtrGJFS6urF8Xnb9m1LlEyCuhklLMnUY5IAmeaXgGAD pN+mmwsIrX2SBmnb+aKs37bKtq4ms58WgK5e7UnYX7RcHy/tQsaSUiaPVDQH320pJNQj Np1llJtZkD2rWcHzDSUEeLvmmdKrMQ7o5sTfKrUY2JN3HhSNMbR+60Wa73oseLChWkVW s57aBGF9Zq56haXygDR1csAX2DW2Hxabx9V/8JkudNKGSDtM1ucy+UQvSaXXrY2pjUbg 1Ar3wJ83Ak0+O+EKOsDXB2q2M8/yp/Pp9klNZXe+dOFFr5gH/Gp4pMSMZYz4YE5H4vyx i9Cw== X-Gm-Message-State: AOAM533iqu/1a2X/YJj4dj7va08kBNl7s78fvig/5xeTmZxugZ1M/U7/ V/a32KyZ3zJTgWpKAvAUy3KhkA== X-Received: by 2002:ac2:4e10:: with SMTP id e16mr3238337lfr.444.1644932528534; Tue, 15 Feb 2022 05:42:08 -0800 (PST) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id x6sm4522430lfu.48.2022.02.15.05.42.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Feb 2022 05:42:08 -0800 (PST) Message-ID: <34f2eea3-c486-87ff-668d-7191b59c7d6f@linaro.org> Date: Tue, 15 Feb 2022 16:42:07 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH v2 1/2] drm/msm/dpu: Add INTF_5 interrupts Content-Language: en-GB To: Bjorn Andersson , Rob Clark , Abhinav Kumar Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20220215043353.1256754-1-bjorn.andersson@linaro.org> From: Dmitry Baryshkov In-Reply-To: <20220215043353.1256754-1-bjorn.andersson@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 15/02/2022 07:33, Bjorn Andersson wrote: > SC8180x has the eDP controller wired up to INTF_5, so add the interrupt > register block for this interface to the list. > > Signed-off-by: Bjorn Andersson Reviewed-by: Dmitry Baryshkov > --- > > Changes since v1: > - None > > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 6 ++++++ > drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 1 + > 2 files changed, 7 insertions(+) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c > index a77a5eaa78ad..dd2161e7bdb6 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c > @@ -23,6 +23,7 @@ > #define MDP_INTF_2_OFF 0x6B000 > #define MDP_INTF_3_OFF 0x6B800 > #define MDP_INTF_4_OFF 0x6C000 > +#define MDP_INTF_5_OFF 0x6C800 > #define MDP_AD4_0_OFF 0x7C000 > #define MDP_AD4_1_OFF 0x7D000 > #define MDP_AD4_INTR_EN_OFF 0x41c > @@ -93,6 +94,11 @@ static const struct dpu_intr_reg dpu_intr_set[] = { > MDP_INTF_4_OFF+INTF_INTR_EN, > MDP_INTF_4_OFF+INTF_INTR_STATUS > }, > + { > + MDP_INTF_5_OFF+INTF_INTR_CLEAR, > + MDP_INTF_5_OFF+INTF_INTR_EN, > + MDP_INTF_5_OFF+INTF_INTR_STATUS > + }, > { > MDP_AD4_0_OFF + MDP_AD4_INTR_CLEAR_OFF, > MDP_AD4_0_OFF + MDP_AD4_INTR_EN_OFF, > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > index 1ab75cccd145..37379966d8ec 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h > @@ -22,6 +22,7 @@ enum dpu_hw_intr_reg { > MDP_INTF2_INTR, > MDP_INTF3_INTR, > MDP_INTF4_INTR, > + MDP_INTF5_INTR, > MDP_AD4_0_INTR, > MDP_AD4_1_INTR, > MDP_INTF0_7xxx_INTR, -- With best wishes Dmitry