From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA3272D8372 for ; Thu, 20 Nov 2025 19:40:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763667621; cv=none; b=XHqBfqepUSMWg0dIK4OsNkyb5DC6/SJb2p99L5cFf7ZPJZqSDrAXDZYrbPf9FPgfpe2VQtsXKyGVmYkNL/v5XCy4S3UnKytBSIueiBYP88odPfNiJQZQRfuoBnjYJ4hfsUx4YPvFEDHuSg5LabDgAmkfIjOdVSeLhgFAzhdwoBc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763667621; c=relaxed/simple; bh=D/2fBbq//OEjM3sFYK1sq/zmqf4pc3c8aMVIgT95bd0=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jaJzClwx+LlV5TWWBBoMj+eTaZmxw0wpe2w87Mgp1NdUBr97Fx4o2nIMvuNuQye2wQ778+qeOnPPTCaaGzyjRXd6xdzIrnq0dje2WmBGYn2GseQhhpByD2MXzxIf9KQT8D3HlmFPwmVLV87Srf5+v3W5SxW0okEa6tI5zMC3B7Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=jj6IziUA; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Zn8DjKjZ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="jj6IziUA"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Zn8DjKjZ" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AKImhTj1714723 for ; Thu, 20 Nov 2025 19:40:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=F1exaoz6QlOUo+1OEHJoiQzN 3AYvxpF2mbi+/kJ0IK8=; b=jj6IziUActHQGSHJlBLYj42z6VrQUx/CMesgnoKY 19kmV6Zj+kQI9n9La9QJEuMjQ0mlMEcBUYQhiQOg8rgExiaJwxnjxuSLkhu/c8uw F88isJisUKgyt04FAvw3cs2hn7QSNPaEl1Nhe+vj84v3iECu3WVQr1/+RP/QDFa8 2mShxaOm4A8RtUBKeNxYssA/a3RNbmEamyzPusXZEeJHjkfPtWw6Qc9INMbuhSAW pAwVmTeWRxA3Bf3Wzetzy8T1uoiInnhswhRDsYZ/i5myFMs6aZt7DhYEPnnC2q4o OhJ+3RJhSa3OdXAjn8E7pJnJ+83iJCGF9R6DlQ9sJNNXeQ== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ahver2q1h-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 20 Nov 2025 19:40:17 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b233e206ddso419832085a.3 for ; Thu, 20 Nov 2025 11:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763667617; x=1764272417; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:from:to:cc:subject:date:message-id:reply-to; bh=F1exaoz6QlOUo+1OEHJoiQzN3AYvxpF2mbi+/kJ0IK8=; b=Zn8DjKjZK0RKWLwjMqPoYtJQrXtFQGPrPoGCb8BJ7ijr6hYId9IwOw59o1KIKfqGwT cTxJnE/2UWadx+aXFbBNR++QlBWnu3QRfsXXJI+JE/1AKSqgjtKYgS99aLCu+NsdRWCM /nFyZ8S8L63ZyFlyd5LB+CsQSZeTJ1zvM4x00uF4TEjJU7rGGTBdx864f4ad0YEFwR0W KM0/hkYvRlwX3Xt6hduJOjK97q7LJe/RtV8XaYX0wbOxN0jaWa0jScJqH6hld0bh/9n4 CSc9UhfjRQEk3RqQzKLQwfG2A8Gg8rE718FFr++qJ9JTpUDzsP3lTEblQiCf4yMnTfeT RKuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763667617; x=1764272417; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:date:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F1exaoz6QlOUo+1OEHJoiQzN3AYvxpF2mbi+/kJ0IK8=; b=xHBrzAiFJcx7ZMeQK6hQje1FO3/l1Qag4c2P3vRfxeKnAV9+dbOVHlCR/Ldqn26t8w k/TonAEeP+pR8n2BE8QU4M9TQYF5VCK8cFnC7WurPJhBEs4c3mlpNTDVg4jhuvcw+28H 7APJNfuYmOWnPdhc2E+m/Cel6llwslOAZKBc6iQmQDUpqfvxtlkzjobTurJuZg/hMAUh Er5KKkqI0w4Pt4Sz4Puqp7g7eRf5NmIGvCXBw2OUhl6k/3LKNiTqcGdXQfhicFpXJLiX 8rYjZFbMsg9x3D3xXjjoFIDl5qiYsfHI1u52nGXptGFiTDOypbq9HEBysCevd7DesoEh VtuQ== X-Forwarded-Encrypted: i=1; AJvYcCU74iT06hXgUkyHMWFrBpPR6WCQUuDxfs8uFNKpBC02dVWoV34kgQghyyUrnYj4N3TdMqBi22DfaoY5YGI=@vger.kernel.org X-Gm-Message-State: AOJu0Ywg+mqEdFJ4oBRIMqAsGtEBiLw+RXdFfRE3XSh3szch+rA5kCIe hsGBg8RSLQhoL9k/b4VVK0h4CbTtwu2n/YJGLixyNTEel0Gc5HwY3ef8FeLyN27tfdoCpJOlzY4 BM+tTPg4CKFw6UxqxW11RoVEUl/KinwcyLEIungbt+P6tSLNTisqwx1U4LBOED3enwmE= X-Gm-Gg: ASbGnct4x+J8hMKQrbKMeyeTBGo5m2iXWQfpzVKqvq3kFBBFrCilx/Dsv9HDui9R+VR 7ehiwkC5Cz5TytXABI5/CU3zASec6biT2ur8y0Kx5WCF5MHlJVXrSUpvNhGdKpscRBaelUvQdXm J79KbvGMOoDnL7q0/HydQY+YYPPVBxvXMw1OAuvnMM8Q+KXtSpDs9vX9dD2osT7F73jsq8WZYr8 TrC/ToJWOVMtEpF5dC1FckF+8oYnOmoGMpyxeIaMbp6Bl0ZM/a2rK47NgYMgN/fwB6uIZmzmj6D J5pLNr/KoBW8q7W21pOrx28TG0qcPaMw3txPVm01xC7ohZmLBtDtgB+390h49nSlLPd5rr1iN8W ay5SywYaWPltE32kqf7CL1GL+LYrtF/it1iT/BYFsyu2j X-Received: by 2002:a05:620a:44c7:b0:8b3:e4c:1bdc with SMTP id af79cd13be357-8b32749fdb7mr588825285a.65.1763667617118; Thu, 20 Nov 2025 11:40:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkRM42/QptloMRJcpBxWQcEzqaSf6oDeKZsg3rPMa5RzNGpdDes9A2HN+GPdgauPp5/mAaTQ== X-Received: by 2002:a05:620a:44c7:b0:8b3:e4c:1bdc with SMTP id af79cd13be357-8b32749fdb7mr588821185a.65.1763667616564; Thu, 20 Nov 2025 11:40:16 -0800 (PST) Received: from trux (125.red-79-144-189.dynamicip.rima-tde.net. [79.144.189.125]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42cb7fb919bsm7063149f8f.34.2025.11.20.11.40.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 11:40:15 -0800 (PST) From: Jorge Ramirez X-Google-Original-From: Jorge Ramirez Date: Thu, 20 Nov 2025 20:40:11 +0100 To: Bryan O'Donoghue Cc: Dmitry Baryshkov , Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: qcom: venus: flip the venus/iris switch Message-ID: References: <10Ud2nacNpGLxEZdFk2VE6I40JkFU8f1S0lGFZayvkwiPgffhyV-gY3p_-AnMAAMckWDMVO__50mkrCB6NnyVg==@protonmail.internalid> <20251119-venus-iris-flip-switch-v1-1-852369f66e36@oss.qualcomm.com> <9c1afc08-e584-48a5-808d-16711c4ecd4a@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9c1afc08-e584-48a5-808d-16711c4ecd4a@kernel.org> X-Authority-Analysis: v=2.4 cv=ZvPg6t7G c=1 sm=1 tr=0 ts=691f6ea1 cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=QCpOfKHlYVe8AePir1+hrw==:17 a=kj9zAlcOel0A:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=07d9gI8wAAAA:8 a=EUspDBNiAAAA:8 a=4sqY022Cl0DG0oNkQDcA:9 a=CjuIK1q_8ugA:10 a=PEH46H7Ffwr30OY-TuGO:22 a=e2CUPOnPG4QKp8I52DXD:22 X-Proofpoint-ORIG-GUID: 697CVgwJdjBllZjelsJauRHS4hki5ZEB X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTIwMDEzMyBTYWx0ZWRfX/QSHX8rqbdcr 2L4aOb6DM4DVBzBRl3HA2xWlebEjDFUZyuUzJZkpBLa/WkrC0yEdF+LaovyzCR4DV2kKAsxOiQ7 0T01uaey9JDpLIvc4IdhdcicHrsieGsrrmg+BxhEH+h6DXBl66+yOQKKYtTF3J/LPYV1AM+G3Bm 1WTNLRKQ8IUsb0uHy45jVgjvOAYaxSrYX+mIJBWi2o/XDDMH5xxG2rH4s9KjKgxlR5yTSc7Krw2 tceUoGHNHQV4VRQE0/jODXbSPh37142vEU0a0l89jdoHd+DBeTpfg9BIVq2cCFhCo6UOL5hTx5R cuvoOakstMePSuvjq55pUcTqrBjtaA0um/AosKjqGd6Dm0t14+PEJv1VwMWGTkFTuSBjbjyguQM gGDhT7K6Ee31+Y+hJRhTIL4UXzMTaA== X-Proofpoint-GUID: 697CVgwJdjBllZjelsJauRHS4hki5ZEB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-20_08,2025-11-20_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 spamscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511200133 On 20/11/25 09:58:18, Bryan O'Donoghue wrote: > On 19/11/2025 15:18, Dmitry Baryshkov wrote: > > With the Iris and Venus driver having more or less feature parity for > > "HFI 6xx" platforms and with Iris gaining support for SC7280, flip the > > switch. Use Iris by default for SM8250 and SC7280, the platforms which > > are supported by both drivers, and use Venus only if Iris is not > > compiled at all. Use IS_ENABLED to strip out the code and data > > structures which are used by the disabled platforms. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > Note: then intention is to land this in 6.20, which might let us to > > start dropping those platforms from the Venus driver in 6.21+. > In principal this seems fine. I think we should have a metrics as opposed to > vibes based criteria for the drop though i.e. an analysis of encoder/decoder > features supported and test comparators to show either nop or benefit from > the switch. why not just revalidate using the same set of tests used for the particular platform to be replaced ? ie, when AR50_LITE support is moved to Iris, perhaps just re-run the tests detailed in the commit: https://lwn.net/Articles/1033022/