Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1395420rwb; Thu, 1 Dec 2022 17:07:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sAt7p0DGMtt9jelmZ8VrzuHJPEZ/gi84/n/DrUKqL1gRlf5RtLx6eh2ahVJrGrl7BvbER X-Received: by 2002:a17:906:e2c5:b0:7b7:90e0:f63b with SMTP id gr5-20020a170906e2c500b007b790e0f63bmr43061405ejb.749.1669943249431; Thu, 01 Dec 2022 17:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669943249; cv=none; d=google.com; s=arc-20160816; b=r1vDdkMiRHVLvm2jI3kzLtHb79pfqzp5BNSw3h4f1keUaxUzF6E5Rl1ueW6p1QQZPJ QDPONMKHp5P1aoB66TWzhG+7FblhjgPK4Sk5+g6D249EHfDV3ynSCY7ETib8IRyDwMRZ T47NFd0S5vZeK7h+9ar6ir/msUQdU2JfMjU/JvxHN63RFIqsNB4cmK3s5NpeqXs0aEmS QTgOo1oHT/J2dHSIF5ZB4UeP/z8+cAjnLEozL/KhO9bC0JJvaXNNEYrul1O7F/7HrHYF j9Iaj9D4yOlhULbS6NaL0HYZOGSdpusw9TbkAyRT2VRNfcmluQkaXLZCaBHuVvXuUeW3 u4Ag== 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=jSla93EpscSPQh3ATxY6DK8WOubu5/W+e14yqK8GABA=; b=gbo6eGBWntq10HsfVQCqfmDe2eKfIflm9Zrlq6gfGdvGT4BkQmNSr49ol/bUON8RsM eqsk8I65XGHNucehdFUw0pdhYcXPwVpEe/Z+qs+RQKD0lWX9luCa14r/MnJVlE3LYwqT jDUFA/T9MeBNDIOCDACQAs2rY+EEyS1Rteg9jwNaericaoUXTV9Bgl9twQuy/yA1lilj hCV/RDaBtZYurYmDZn7HcWXxY3o2eboL4zDHB4TxDNiDanWm3VmSAV66LVb1DvctZ70f YxLakK+DI7c+jv6klTWiwQVUGH8MFLvrItv1zKREetXYp5ngGdP88UYOkeU1/R96qz9c sMcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eNIwG7QM; 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 hb11-20020a170907160b00b007ad7e81a30csi5372427ejc.167.2022.12.01.17.07.10; Thu, 01 Dec 2022 17:07:29 -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=eNIwG7QM; 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 S232129AbiLBAvP (ORCPT + 81 others); Thu, 1 Dec 2022 19:51:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232021AbiLBAvK (ORCPT ); Thu, 1 Dec 2022 19:51:10 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A204ECEFA6 for ; Thu, 1 Dec 2022 16:51:07 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id v124-20020a1cac82000000b003cf7a4ea2caso5357897wme.5 for ; Thu, 01 Dec 2022 16:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=jSla93EpscSPQh3ATxY6DK8WOubu5/W+e14yqK8GABA=; b=eNIwG7QMQk4WVoF38bIkacJ3GEMa2RStDsjcNOmVBAESS6mUah2bmTVAdYJYiXBQtr fn9lQ0gk/aEB8BPsVAjLvPBrTnKcuf5weyIPGf/d+SaYJPTPvBDyqx1zssYFZmlDON6I hK3RYLjzicmQ0Y3uVub8PEvquFU0gFwqY81x4X9v7d3wwdITQRRV1cMQmhW0o5rd7mTb mj2KFLdtX5kehATeM9tiVd5sVtD697VsvUXFMWhQougnoCtojQ58GgFYqmonATLKUSpx WaE629eaGEVXvNrrRXgVqKDiiCbX19vdunxavc+Edle5RRd7mSnLDu7MGy+l8eEwOqdv u6Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jSla93EpscSPQh3ATxY6DK8WOubu5/W+e14yqK8GABA=; b=vuzVCOG3bkp7gcHYIXnT69LtmEviUgUZgYK7Gbp9XfkIvaHx+lpO+mY3txDCQbT4lC y0ItOPymtZUHAoPoDI87Jr9VawMjo5gGczfBTOHUajVnysK1lD+f2IBJxO5JVuko7Tia huRXdQvG8OnFhdyR7h/Mh12K/0Y1edpFx3c0lqM9mCKsXsXQoDrk4zeS61cy+bdR+7Xn cvq0zwv7br2zhNF92wVLhdEGMd70b+W0Kxi3RY5VGYZQLXTlX4KzIUg/eCGy8B1heQpH vpChRVszpXy/T7Pol6h4kc/39EIqsSOjYt/aCSg195g/ABdJ0waP/dZehRqikTlEgXy9 l+Aw== X-Gm-Message-State: ANoB5pk415OfW3g7RYZNdyD+1dJptsqX3uUxAsVlT5LtY/ifFpAJJoN4 LXjDlcE9JNt7XU9Scg2n4dH6GZ8KU0op1g== X-Received: by 2002:a05:600c:5010:b0:3cf:b067:416c with SMTP id n16-20020a05600c501000b003cfb067416cmr38912984wmr.134.1669942266208; Thu, 01 Dec 2022 16:51:06 -0800 (PST) Received: from [192.168.0.162] (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id s1-20020adfdb01000000b002420a2cdc96sm5584765wri.70.2022.12.01.16.51.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Dec 2022 16:51:05 -0800 (PST) Message-ID: Date: Fri, 2 Dec 2022 00:51:04 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 1/1] venus : Fix for H265 decoding failure. Content-Language: en-US To: quic_vboma@quicinc.com, Stanimir Varbanov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vikash Garodia References: <20221115121004.28197-1-quic_vboma@quicinc.com> <20221115121004.28197-2-quic_vboma@quicinc.com> From: Bryan O'Donoghue In-Reply-To: <20221115121004.28197-2-quic_vboma@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 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/11/2022 12:10, quic_vboma@quicinc.com wrote: > From: Viswanath Boma > > Aligned the mismatch of persist1 and scratch1 buffer calculation, > as per the firmware requirements . > > Signed-off-by: Vikash Garodia > Signed-off-by: Viswanath Boma > --- > drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c b/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c > index ea25c451222b..a9be31ec6927 100644 > --- a/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c > +++ b/drivers/media/platform/qcom/venus/hfi_plat_bufs_v6.c > @@ -93,7 +93,7 @@ > #define LCU_MIN_SIZE_PELS 16 > #define SIZE_SEI_USERDATA 4096 > > -#define H265D_MAX_SLICE 600 > +#define H265D_MAX_SLICE 3600 > #define SIZE_H265D_HW_PIC_T SIZE_H264D_HW_PIC_T > #define SIZE_H265D_BSE_CMD_PER_BUF (16 * sizeof(u32)) > #define SIZE_H265D_VPP_CMD_PER_BUF 256 > @@ -1021,7 +1021,7 @@ static u32 h264d_persist1_size(void) > static u32 h265d_persist1_size(void) > { > return ALIGN((SIZE_SLIST_BUF_H265 * NUM_SLIST_BUF_H265 + H265_NUM_TILE > - * sizeof(u32)), HFI_DMA_ALIGNMENT); > + * sizeof(u32) + NUM_HW_PIC_BUF * SIZE_SEI_USERDATA), HFI_DMA_ALIGNMENT); > } > > static u32 vp8d_persist1_size(void) If this is a real fix it need to be applied elsewhere Please add a Fixes tag Fixes: 3a75bf4e7925 ("media: venus: Add platform buffers for v6") and Cc: # 5.14.x --- bod