Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp979005rwb; Fri, 28 Jul 2023 02:55:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyrbI6sk2Dr+GpjexRejYNONUr5zlLEHCEycOWEPshgPFbgKlYEozFpMwk7D/8wMqDsALh X-Received: by 2002:a05:6402:78e:b0:51a:5c1d:5c06 with SMTP id d14-20020a056402078e00b0051a5c1d5c06mr1080989edy.42.1690538138049; Fri, 28 Jul 2023 02:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690538138; cv=none; d=google.com; s=arc-20160816; b=NVowv7N3q9sOad5x5Q1jmngMFB8Wxsu8JXScdNLLEK76cfXY+YfjsKbzcR15MpL7c2 jjSkaSi6il0zCPAg1hXUmEH/F6hD93GWh65uZgS5p6j93tOfHe8DR/vr/QnoZz2sQkwT 0eQx+DjxAILrKZcYnacwCBCG23H80dyy6dxotaN2G5TbO2un3cewJLDQnAE+oJL5PxTX vN4SUpOvv9IZcJU9OOamaFJbGf4cpxBIvR2EyEt0TbZWBIG3rl/AbEMglHj2I8x+ogrj BCdBsqD5wnPV1yEw5n/4gn+ogX2QaODxwLLA/nxaocnhmko54Hx11/MiF3vUR0EPEkus W89w== 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=dDr+mZ5n/+jifFglNaPwWUcpxSJ9ZKrPvbO7Mr0GJ/Q=; fh=Mxqg52koH5X+zDcrk63AmUHmH4XUO7X5DhRpd/0LIpQ=; b=WjVaIlnvGwP2Jm1dUBg7xYPc5PWGunmEm9zOA2yeCNLppTFKTmCR6PaYAZJTzpDHj+ EEY/GSGQx/75Y/0ykyXq91gGHJlx8pMYLpn7JFvwJGRYkCmtviQ3QfNX2uci2rr4EpeI V2THNAIX9xlfdEp7IfHnb2HdUDVCqrzdeIYJVwQoeY93WHgWC24jd9WzMrEhS68+o20i cuMitQUNh5W25shqgNbslsduYQR62v2YbYIwPyWDNzwwbzphWEgGmwyy7rXi+74HJdaO smuPQ1Dqj2pm/BHen8k8ooEtBezMQ1tIB3yRCUXvf1u9N9BRkY7+lAuJQXda70MGWQF4 o+dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jHLGOfjf; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p23-20020a056402045700b0051da5244b7bsi2207688edw.469.2023.07.28.02.55.13; Fri, 28 Jul 2023 02:55:38 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=jHLGOfjf; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235146AbjG1JGQ (ORCPT + 99 others); Fri, 28 Jul 2023 05:06:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234304AbjG1JGM (ORCPT ); Fri, 28 Jul 2023 05:06:12 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E440997; Fri, 28 Jul 2023 02:06:10 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36S8graT013450; Fri, 28 Jul 2023 09:06:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=dDr+mZ5n/+jifFglNaPwWUcpxSJ9ZKrPvbO7Mr0GJ/Q=; b=jHLGOfjfJe75dVcfVMwLO6mv4JYVXvVoLeFxA+RwkepHzEnG8GBvIhRhewyCzRPD/sHr rL62VI3EBRIvSWDXCdV/IqdT158NSGm2Sb6RNCloztp5KXfxEl+MhlUqdAOop3/rpvHH 0A4v3fceGl420yfVixwd2cTqoghC+F3uQUc7dWy8PNqynOGlhu8CoAtw9F5kjeMsODyJ 82CZu3AR2uwwCPHHdZBVTlXM14/I2H/JIcSdnU2DDdJPYRDVIDQg5CRTBtJst22r+XGY khAd2yKOXRcDZ7LnDA+WqM5h0DclU8NjUWJ8DM8fnWAbveB0Y4eGJJOWQDG6+2YRWm7q uA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3k7u31cj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 09:06:01 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36S95wZU009730 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 09:05:58 GMT Received: from [10.50.49.240] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 28 Jul 2023 02:05:53 -0700 Message-ID: <0ec5202e-02c0-2df4-42bf-e4faa824f243@quicinc.com> Date: Fri, 28 Jul 2023 14:35:48 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2] media: venus: Fix firmware path for resources Content-Language: en-US To: Patrick Whewell CC: Dmitry Baryshkov , William Gray , Stanimir Varbanov , Vikash Garodia , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Konrad Dybcio , "Mauro Carvalho Chehab" , , , References: <6afa314b-ca5e-a924-de2f-f1db90770623@linaro.org> <20230719214943.22641-1-patrick.whewell@sightlineapplications.com> From: Dikshita Agarwal In-Reply-To: <20230719214943.22641-1-patrick.whewell@sightlineapplications.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 0nGPh5Wounlo5MCKK0yHyfKTKBOET5l- X-Proofpoint-ORIG-GUID: 0nGPh5Wounlo5MCKK0yHyfKTKBOET5l- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 clxscore=1011 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307280082 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 7/20/2023 3:19 AM, Patrick Whewell wrote: > The firmware path for some of the resources is still the old format. This > fixes the path to address the firmware correctly using the new .mbn > format. > > Signed-off-by: Patrick Whewell > --- the changes look good to me. Reviewed-by: Dikshita Agarwal > I've updated all .fwname to match the .mbn format. There is a > qcom/venus-4.4/venus.mdt for the sdm660 that still remains but the linux-firmware > package does not contain that firmware file anymore, so i left as is. > > drivers/media/platform/qcom/venus/core.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c > index 2ae867cb4c48..2d62669d99e1 100644 > --- a/drivers/media/platform/qcom/venus/core.c > +++ b/drivers/media/platform/qcom/venus/core.c > @@ -548,7 +548,7 @@ static const struct venus_resources msm8916_res = { > .vmem_size = 0, > .vmem_addr = 0, > .dma_mask = 0xddc00000 - 1, > - .fwname = "qcom/venus-1.8/venus.mdt", > + .fwname = "qcom/venus-1.8/venus.mbn", > }; > > static const struct freq_tbl msm8996_freq_table[] = { > @@ -581,7 +581,7 @@ static const struct venus_resources msm8996_res = { > .vmem_size = 0, > .vmem_addr = 0, > .dma_mask = 0xddc00000 - 1, > - .fwname = "qcom/venus-4.2/venus.mdt", > + .fwname = "qcom/venus-4.2/venus.mbn", > }; > > static const struct freq_tbl sdm660_freq_table[] = { > @@ -688,7 +688,7 @@ static const struct venus_resources sdm845_res = { > .vmem_size = 0, > .vmem_addr = 0, > .dma_mask = 0xe0000000 - 1, > - .fwname = "qcom/venus-5.2/venus.mdt", > + .fwname = "qcom/venus-5.2/venus.mbn", > }; > > static const struct venus_resources sdm845_res_v2 = { > @@ -717,7 +717,7 @@ static const struct venus_resources sdm845_res_v2 = { > .cp_size = 0x70800000, > .cp_nonpixel_start = 0x1000000, > .cp_nonpixel_size = 0x24800000, > - .fwname = "qcom/venus-5.2/venus.mdt", > + .fwname = "qcom/venus-5.2/venus.mbn", > }; > > static const struct freq_tbl sc7180_freq_table[] = { > @@ -760,7 +760,7 @@ static const struct venus_resources sc7180_res = { > .vmem_size = 0, > .vmem_addr = 0, > .dma_mask = 0xe0000000 - 1, > - .fwname = "qcom/venus-5.4/venus.mdt", > + .fwname = "qcom/venus-5.4/venus.mbn", > }; > > static const struct freq_tbl sm8250_freq_table[] = { > @@ -814,7 +814,7 @@ static const struct venus_resources sm8250_res = { > .vmem_size = 0, > .vmem_addr = 0, > .dma_mask = 0xe0000000 - 1, > - .fwname = "qcom/vpu-1.0/venus.mdt", > + .fwname = "qcom/vpu-1.0/venus.mbn", > }; > > static const struct freq_tbl sc7280_freq_table[] = {