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 6B1912DF121 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=1764263512; cv=none; b=Inch2fIm0tv63KTTfpuUtWU80HgsV2mY5aZItglI8neJG15LEIj7DvkzNqOOwkLSlDoebLnRo0z44+9UGIrznagwNZYwm4yVqbCCxORj+k22KPQZGjTvDYRE6rwoEvcXR8XGuq/ge7F7Lt/c2B9aIFRq3T3W8Jc/k0RMW8uflms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764263512; c=relaxed/simple; bh=KAFi5JbbBJfMFxgA8bsf741JU3gXq9avIww5xxobFJ4=; h=From:Date:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jMnN0Q1Eg5jw+Je9dRgHGjoVLWwSuvYHLJIkNdTVICdBzKgvO1UA3AS6S7zBve/RweE1E75SY7+2pVexlhaCTpeUIdz+qZqHZFRR5RrvAkl5knRJol8nquVoOG4kkQRaa/fsWRIM7GlXURaB5RhF8qgPUz5lkk0FJhZccSfQC/4= 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=Bi5hkbaD; 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="Bi5hkbaD" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AREJGFG2855055 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-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ap4vhbjdg-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-f197.google.com with SMTP id af79cd13be357-8b233e206ddso184220385a.3 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=1764263510; x=1764868310; 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=Bi5hkbaDMIj46NPf7gWnkkH+hEOxulsbm3GK42jnD/Ceew9s8m+IuWyfcK7eav9CTh f11RegDcWGvKg6la0BYj6S42lznCuE22onAR5kjcPiJWNxpXb31BNb22MkfRjbnUS2xr fpfsTN5Jx+xLtQwCTh42nPki+guAb1MgGzW6OiKhXzerEPh+Zly+kR6ajjf5/PwQ6ZyN t6xZs2CeaIkbu/0N7O1wSH18V1HFNdMyo/xwVM9z6rD3xx+77E7QGDZmVcHTx3P2yUJF /308Pp5sQ7rLH9JGnQwgoYoWtcAHu5hHZKnnleId8lOONCDmT/OzGXFmXoZKJeePnKT7 4VyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764263510; x=1764868310; 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=wOo5CvrknxXer5Sij4xHigWmlAKJuafqZNgZa5aS+RZY80PmO8U2TBRnnAK01I9Lrh f2oIMZWlBlLWE0/GbtoZZeBS1k1FyIwN4sL0Fklvxz7J4GQrzOi8Xo+3IeVuHDAK0qS5 ig1c7i/YCxWidAuFTYnhK2GPSLtWqh/2MbVxKariG2+31d42E4RnxfRKU39KmBnRZh+5 F2HAICJ+DZY7PBHZp8G5TeAKtX72k0rSLWSc9IBQwXYJlXCsKl9FOYs7XK71OJyQB0h4 sooz22zqxuB9Pj9BHI6/BHYUBXdBhj0AY70O3DhDUO9YlimjrgeC2drSzaRtvTs9Rbpw pbAA== X-Forwarded-Encrypted: i=1; AJvYcCUypu6GcWWXT7ppfBstc5S8zJpl+B2WgE+PRNBdZxTLxZ5sdnQZyokcayeiH7vr9BLRH+UuQ+4+7vEIGxs=@vger.kernel.org X-Gm-Message-State: AOJu0YxlCnTjSENyY87xnppcWpS3b2/MDVZEdZkeonJh78BndzSnDV5c 6vQKDvR3KSeQ8myzMvrhQarA2zvROqAJTWKDRYaQePgG++ZDq9MfVD/fLWQ5oSZOsvRDif8Iyx6 APcOINqZCHSgXKpBn1iKoeOpGrC6AVf9wpnUqmzuIj0UMo4WXGY9hLE0HPGuYG86/v+M= X-Gm-Gg: ASbGncscNbM6jem3x9IgzD6ktB686Mz01UMK4uvA4URMBhiq4semBAIRWx0vnMr2+gO NR7XmlfGcshsfvQT3i+WznWB0xlHpCCi9mXsI2w0xiXITLX/UIjyxzXz+RCLeQnexiJXXR5SrsI PBIESlySm0BIFlnORYxxknmSnNzRfFecRqi+uhnSFGrFLmVIj9yORYTb9oxRbkQdpbfpD2Il++6 WZgQpGr0ZzinIvo82HGZD/1kqOk2iX0fRk7tk+HHGZzR2nD75zu4V8uiZyoRcj7SzyOvt6gFr82 jJjLBmuoALipCf+mYZC6oqdADmdY+dSeiuLqzOxJ7XDF5nNF3wxunQO6mvBN3eC9D4YwPRCR0jI bGyryvkZOAwTx5rBZXquXYSk1Jz4AiN0InXlDbfHE3Pyx X-Received: by 2002:a05:620a:a353:b0:8b2:7777:f662 with SMTP id af79cd13be357-8b33d5e2e03mr2298071685a.64.1764263509510; 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-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: <6eb8681d-d82e-457f-907d-3ba5b94267f2@oss.qualcomm.com> X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTI3MDEyOSBTYWx0ZWRfX96PP3z81JzRW t5lu6xOmnYiW7erF64j8+ChO6k0pF+NZvDwN3pH2lVV+gyZ5NNDJMzrG2ui/fJII0A2itscjGxG UhgqC+BRs03DzpFqQNVAJJQyStFJYxdFDz8GDyjO0IN15gEi/Vsz7StvTa7+XipIYI5MWh/VrFi JaK5cyeR8jqKPj8AYUkQWGBnIb+163uh8Q6wHVyVu7eUoC1g8ABXIMtPnKOOxPj7MdTDbjweKbX u7XJE1hNnUjDacSWIxtEyJKcXxUw1bNEKqshAwsq3ER+uM7hMszn7n2TM5GKw6XP1E+IeDEMXLC cAOJ1c77iyTQkCOoznCG8+2sexcM2tVuTzagACp3VERBnUfqDoOe3lwO2tRacimZW/F3cyXX+UK 1JT68UKeHjrvXj2yI07ORQ34vxT/ww== X-Proofpoint-ORIG-GUID: EtB2e0eMPnki9lZyrww_zsVKo8cA2SML X-Proofpoint-GUID: EtB2e0eMPnki9lZyrww_zsVKo8cA2SML X-Authority-Analysis: v=2.4 cv=Lt6fC3dc c=1 sm=1 tr=0 ts=69288656 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==: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=IoWCM6iH3mJn3m4BftBB: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 clxscore=1015 malwarescore=0 lowpriorityscore=0 impostorscore=0 phishscore=0 priorityscore=1501 suspectscore=0 adultscore=0 spamscore=0 bulkscore=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).