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 6B2072DF122 for ; Thu, 27 Nov 2025 17:11:51 +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=1764263513; cv=none; b=gKz7UW/uKUzbLMXn9HRV7yUI9USLe3tgNYHPywut7dvqeWLLkFpR+W1n76V9BpfX6/9ZG3CDbqZ5/c1ZbJjv3ZkxiQSKINrgCILIL+kJRJhrzWVTQiM6b+GpYNPSLit0EgWuId895Hj/HY7Un+6uhsXawqEQ/NVgrOs4umyZuIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764263513; c=relaxed/simple; bh=KAFi5JbbBJfMFxgA8bsf741JU3gXq9avIww5xxobFJ4=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Tqo9mmWqs5QNm/uC9G+9UCM+g9bm9M9EbvyBmf2x5V9bb1ZYNV5xvmRL0bzL4gDSv6cF6l82NsLOx9mjOVwlK1pcemhc8Y0tLzNv+UIF+Dynclh/qv8KxQnDg2ETfyzFK7QLaIzEuu40DjY9l9Kqfh3nTRFoZ7u/U+8WaWBUzrs= 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=kHb6n4hy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ELwfcKrc; 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="kHb6n4hy"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ELwfcKrc" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AR9bED1785246 for ; Thu, 27 Nov 2025 17:11:50 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=xKHFHglieq9DwIX1qAy2GVma f6AAWGcJzGzYJuOOIfk=; b=kHb6n4hyXpqMAwEHC6U2Ch2vpGT+Kk9tBdywzAuA THPg83epjy3L9qRG/ScCtYF4CIpBlp2PoD+sES9EgubgVCgUY+2h0IFMNpcFasIG pjgy2ygOOH/7p/R7E6EqiuZIgXcUhYhlkjc/G9YGHoqFTRvybQS6r0xCg9paePuR f/sfBqFEoVUXDFxYQT+m3czbDhqaztyrOFqdedm6Vz1LU3/Lzunn+ticrSBt5nvn SXKC1B6zGxWUmkNfLHK+Yp7fzYMdJ1uIIxZJTZ9XvPMFqdKDP7EOUlt2mk5G8qcP fFPze7WxwOcRHDpdVQ3YKttMey1pEsOZHVhpAEcSc+Jsbw== 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 4apm61s48f-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 27 Nov 2025 17:11:50 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b24a25cff5so176074085a.2 for ; Thu, 27 Nov 2025 09:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1764263509; x=1764868309; 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=xKHFHglieq9DwIX1qAy2GVmaf6AAWGcJzGzYJuOOIfk=; b=ELwfcKrc2HZAH2ZTRWsnWoWwwOcu7KJr0JXNEHeDPheOuPqCREresUwu1UQAS4/b04 VqHwjj9CwqfbcRnKELmrCsoNFVRqX3xs/tVbf4vgPw8fx1ScmLHj5lGwMTT2nl3sMrZa 4afEeA+aYP699Zfhoqx6tgxVzt/d/OEBns1ePveA0n/zpbD6rGZuvYLCNHFOIZoj+nO/ fwv4c9jfbYxH0lEuCbOTxo2k1Q7rcTuF/BY9/G6S8mPGolbmUlpdndhpQXezcx9jzfld LwFcft17uOZCqR/cYk1bFhrQg5bKIBx+TZWVyMVxaP+fW7UXOauDqjjQzA0Owg3hKl+s lhnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764263509; x=1764868309; 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=xKHFHglieq9DwIX1qAy2GVmaf6AAWGcJzGzYJuOOIfk=; b=lrcM/b0cx0Zk1vU7SHnW/v0UqgCC8zY0v2jg6tyHu9wKiMCP+IvKEpMIyDIMmwikp5 GKiuuYb+otZfwA8P7yzWYPhh+UnAtkhHmSZPpm4X2bxG83YcH7dPlT5ddLnferBwWyDl S5q82ZxVvz1hWiTiRHFTxDbGxCJNOeTImgp7UpFjUaxg3G7/g5MNvKyTa3RITmYbtRtN ec4d2IkJVJO/vQbSt0Yrdahs8anicO1uAWS5gfRdM8q4ABAtDVIIeZ6/lumtCw0l3slO iNHQj0k83F3kxqLakASCg9Lr4kF3qudJ96FvT4n71SWpKYqB30aluSGgJb/t7i03iCK6 5x/g== X-Forwarded-Encrypted: i=1; AJvYcCXsc03FRLGkwUoEIm6IDRwXiLBzxDZVcYD9WsD6bDl1zsogee0nWqP44APoNYrRUbUNy/IXVMcW68wdVKHu@vger.kernel.org X-Gm-Message-State: AOJu0Yxu6/tkx7i26wyjvXbkzbLjqLOf5f9mPX5MJ+jdoaWrj3KTL06/ CwH2025aIhmetev6C5uGa5IgUAC2YMM/JMPw4JECQDAvSS8oW/uZx2klpnBkm4wfDZ0pJG2qbye FWkNd+AUZLN0IXgUqkPpJjiy0o/Lov4nfsqgF/rv0waoWS6GjtUH+SNINBekLFbTpgGBe X-Gm-Gg: ASbGncvPCZvoFLMBCGSlj4LYEFervubdwoZmaT0/4WOuxTSNsh/nnzyEAdtXZIXCQto mYuecjSBcWunPh7mLYr2ibvAcmDDyXRdkhDeb3iaqinZLsZIiwyF+YDL8iwp0gVDwvKTr59w546 7epdQ9U6NOvlDZVOjDru9AzsRVw7GKq+j5Hnlvbn0dZbI1zOW6zMQFrmRNx8aINRaSKczFxJD4x TxYgaGzpIvK6qBJ1oZluktYY6je+WV+CWpY10PYkpWdNBRYwRRD9fRdiTG9z7/dbxcPEZ2/DmaJ zyuMXVznzx0eecaq0ZarOnAL5kXel+0FSc+tNM4Dapyln48dBkePG+htIc/FqgTPNWfsSbgx4Wt x7C8x2N81Y1UdRmraWjrD628ZTX6SYXeRVrmsPyruRWAe X-Received: by 2002:a05:620a:a353:b0:8b2:7777:f662 with SMTP id af79cd13be357-8b33d5e2e03mr2298070785a.64.1764263509402; Thu, 27 Nov 2025 09:11:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpbOHyRvcPoUEWgG7Jdmg9KFeghmtaK3CTBFjNtdulf4SLw19xogWdCEXCZtwlEim3SF4yCA== X-Received: by 2002:a05:620a:a353:b0:8b2:7777:f662 with SMTP id af79cd13be357-8b33d5e2e03mr2298066385a.64.1764263508933; Thu, 27 Nov 2025 09:11:48 -0800 (PST) Received: from trex (125.red-79-144-189.dynamicip.rima-tde.net. [79.144.189.125]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42e1ca1a310sm4699399f8f.26.2025.11.27.09.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Nov 2025 09:11:48 -0800 (PST) From: Jorge Ramirez X-Google-Original-From: Jorge Ramirez Date: Thu, 27 Nov 2025 18:11:47 +0100 To: Konrad Dybcio Cc: Jorge Ramirez , vikash.garodia@oss.qualcomm.com, dikshita.agarwal@oss.qualcomm.com, bod@kernel.org, mchehab@kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: venus: assign unique bus_info strings for encoder and decoder Message-ID: References: <20251121184306.218169-1-jorge.ramirez@oss.qualcomm.com> <249ccbbc-7990-43f0-b205-d5f33a1c9ad3@oss.qualcomm.com> <6eb8681d-d82e-457f-907d-3ba5b94267f2@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-arm-msm@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: <6eb8681d-d82e-457f-907d-3ba5b94267f2@oss.qualcomm.com> X-Proofpoint-GUID: Z6vbcMkGbZ7Yu6I3aRMuZMJTQj4lSEsO X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI3MDEyOSBTYWx0ZWRfX6D/UrHLNYjGP 6tebIWo1bD1BJfVl9CL/FtncyblU6H98VqcWgyO888i19KnXciVlfiFMCOEkJUz/UtYvfOe0eun CXWbtszyOCcvXvzLuWoriGEpEh6VWFikqUhzx+Aows5fIA6kYdr1MRmSmhYArmGnTTzgYL1HdF8 yvQCwcgf8RaX9G1xTGm/XWcsmYq2vRhw/TERfN7yTdlbnagJvTrrsTTdpzoGppYqtRI9KelqoYQ H1wbSWNO9hfs+C/0+rzOcTG8fzO9TR18ApDpYcqUSq8/yMWidIL1PRNlfn6WkAn14/u2GZ2nhuU Ke3GqxED8jj/8yXsewpq+8QfzFHsKfpHRfwY+9amZVii2vCiQblEzY7BYYGs/CTLds7wuslp0Uz eKYFhs9Dpa1+UGpLpy/g3lsO8X9f9w== X-Proofpoint-ORIG-GUID: Z6vbcMkGbZ7Yu6I3aRMuZMJTQj4lSEsO X-Authority-Analysis: v=2.4 cv=IciKmGqa c=1 sm=1 tr=0 ts=69288656 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=EUspDBNiAAAA:8 a=fs9YcllxGVdyLQezLusA:9 a=CjuIK1q_8ugA:10 a=PEH46H7Ffwr30OY-TuGO:22 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-25_02,2025-11-27_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 bulkscore=0 adultscore=0 spamscore=0 malwarescore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511270129 On 27/11/25 12:47:19, Konrad Dybcio wrote: > On 11/25/25 1:55 PM, Jorge Ramirez wrote: > > On 21/11/25 20:22:13, Konrad Dybcio wrote: > >> On 11/21/25 7:43 PM, Jorge Ramirez-Ortiz wrote: > >>> The Venus encoder and decoder video devices currently report the same > >>> bus_info string ("platform:qcom-venus"). > >>> > >>> Assign unique bus_info identifiers by appending ":dec" and ":enc" to the > >>> parent device name. With this change v4l2-ctl will display two separate > >>> logical devices > >>> > >>> Signed-off-by: Jorge Ramirez-Ortiz > >>> --- > >> > >> Perhaps that's a stupid question, but is there a reason they're > >> separate at all? > > > > not sure I understand, enc/dec support different APIs, v4l2 controls..is > > that what you mean? > > Perhaps that shows my lack of knowledge about V4L2. I had imagined that > a single video device could implement (non-colliding) enc_xyz and dec_xyz > operations and was wondering why we need two. > I think the main issue is that the pipelines have very different flows/states and semantics so even if the IP block serves both, the v4l2 abstraction needs to have them separate (plus we want concurrency).