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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EBE34C61DA4 for ; Fri, 27 Jan 2023 10:42:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229490AbjA0Km6 (ORCPT ); Fri, 27 Jan 2023 05:42:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjA0Kmz (ORCPT ); Fri, 27 Jan 2023 05:42:55 -0500 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70A3F68ACB for ; Fri, 27 Jan 2023 02:42:27 -0800 (PST) Received: by mail-yb1-xb2c.google.com with SMTP id x4so5488209ybp.1 for ; Fri, 27 Jan 2023 02:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u0DEsVHKXVwSN3PAjhc49w5MtI6q8p3tuYvphFNkdg4=; b=lu0Vvh5MuoiiYDYZUTxh7zbvym4Uj0/v6GjSmt68vqvdxQUf4Buqig6SOOwUSz/XbL lO/9cqb+CuVhsufP2wulTnuiRl2uiG2IjcDc6ivKuvFEojix/qo2+3r/N4B5rLofVMLz M+G+sJV93/IYHsoiQEjGskyIqr24h0NhIbgHpj6EDrJRAv53piOFjlOE4jHf6GwByA9i BKtw45jsb2Zh+Y12Y2TbiuAYQ63uAaP+ubNy0hNZq3JJEttGX7LxkDCENU+DZqPgecyr AqPcysVFgoqtLkToozcLuK7KLQqkNqWwT6Yb+2Eh3jl4zZN177/2r+nainc7iIMJfmMa eNSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u0DEsVHKXVwSN3PAjhc49w5MtI6q8p3tuYvphFNkdg4=; b=pXMcbkxm5FYT9afMwhePZTDs3p7p3QlW+1Pr33GzG1mSdxBkYtRJend9klnnPdSc0z UjNsAke/Ai1bdFxiimNrhIuN8WEXRl/I2yxnABty0ZvfV0SvuGRMdxaImb6KEv2cYomw NZdBk09T9Wa7UjT5NRclS5t1vUyIjpvkvgHrDg3Qpp9Wc2yENpjCAeIZmf5EAcoinYt2 03A/x1t6gO+qmnmLEMu6USh4vHI6xWkVQaCZuwj/CteHBY+R4dfFQG7bOoBNzsV/21MX Xb24TNmYLiEPyWCP1F1LxRK5GMij/xnySChMWg88opHJgXtvXJBL41S/lBDwC7rY3Gav O1ew== X-Gm-Message-State: AFqh2koISYxpuoHDke01HMm793kfe0P87J6oXGgQ7U8iZgeYl2bhvrIU ZGKITLZdKac9jNPYCdvF4cXLcyrdzRZZORdI9Jy9BQ== X-Google-Smtp-Source: AMrXdXt4duFzDFzPIakNzG6OqVc1/XNGxgxhi/nSyzIhtE35B4STzPtFyk5UKGZ1IPXCXqZQlrjy22DL04eJMPVwVFg= X-Received: by 2002:a25:af92:0:b0:801:525c:6726 with SMTP id g18-20020a25af92000000b00801525c6726mr3185391ybh.152.1674816137778; Fri, 27 Jan 2023 02:42:17 -0800 (PST) MIME-Version: 1.0 References: <1674814545-9453-1-git-send-email-quic_kalyant@quicinc.com> <1674814545-9453-2-git-send-email-quic_kalyant@quicinc.com> In-Reply-To: <1674814545-9453-2-git-send-email-quic_kalyant@quicinc.com> From: Dmitry Baryshkov Date: Fri, 27 Jan 2023 12:42:06 +0200 Message-ID: Subject: Re: [PATCH 1/3] drm/msm/disp/dpu1: clear dspp reservations in rm release To: Kalyan Thota Cc: dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robdclark@chromium.org, dianders@chromium.org, swboyd@chromium.org, quic_vpolimer@quicinc.com, quic_abhinavk@quicinc.com, marijn.suijten@somainline.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Jan 2023 at 12:15, Kalyan Thota wrote: > > Clear dspp reservations from the global state during > rm release > > Signed-off-by: Kalyan Thota Fixes: e47616df008b ("drm/msm/dpu: add support for color processing blocks in dpu driver") Reviewed-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c > index 73b3442..718ea0a 100644 > --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c > +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c > @@ -572,6 +572,8 @@ void dpu_rm_release(struct dpu_global_state *global_state, > ARRAY_SIZE(global_state->ctl_to_enc_id), enc->base.id); > _dpu_rm_clear_mapping(global_state->dsc_to_enc_id, > ARRAY_SIZE(global_state->dsc_to_enc_id), enc->base.id); > + _dpu_rm_clear_mapping(global_state->dspp_to_enc_id, > + ARRAY_SIZE(global_state->dspp_to_enc_id), enc->base.id); > } > > int dpu_rm_reserve( > -- > 2.7.4 > -- With best wishes Dmitry