From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 D306227604B for ; Thu, 5 Jun 2025 17:13:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749143637; cv=none; b=FW5SdQt7WO6E0OYGyRDfWw/1FyosySM+mJPwLGVzO4c64tjoGJyq55xH8krxK87/j3xkLFXp2HUzkodJd/W0lmsj58JRsWIZ3x2kQHom3h/m8U3b4tcchscqd2fMty6WZvBenst+Rai1GZvuYFrydKEnLdD8hZ6s8h5eNIYobPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749143637; c=relaxed/simple; bh=G1uMwlSRuCegDgrVIhbc8dLP3y0ky6QBmu4NxfkUt5Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=h6WDy/f1mq9NNa/puAC/qIjCQaY56a9R7xMQR8wZtHELiq47Nm0riBT9Ms8cKs8Wmam+2GaYCzdNfQIf5WYwGFZt61Bps56QBMMxrB8jLW/vvgIPE427B0MXQgwcadR8M9Ok8gGYyLbwF5/6NAyThBM29JTtbVKkzGAd/GRXdJ0= 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=RdGdIcTf; arc=none smtp.client-ip=205.220.168.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="RdGdIcTf" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 555H6VJG024416 for ; Thu, 5 Jun 2025 17:13:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= BiSKdaHMeCVD8oaJKkvTJRlJ3qNDdfdL1Sy3uWHXIrQ=; b=RdGdIcTfvYm7C6K9 N9ep8x4kyX35n9cuG2Id7gMOYNhIi16ubJmJXMnFijmleiafbpHctsk8w9uRtrP7 rm9QYFbOfEhcsqCZNKNUutPpCGt5wtnGHJ3LIt5qlyGHmoZz4Ymx2atBZF5r//zS nPW8T4iezTgUVonXGu41YJEIyZBqCZR2ds6fuqpsVdNVOFMCtw5fTsuk/kc/zkMh MfyZPWGhX12odEM86qbtuypV5ZZLjCEQrBgvswBYL1YA8aJUhO2gPgo0if94gxXf VPxEn8eUQxNS+0pbWNY5bHxQMrnWBu1jZg5hG8Vx2phq/W3sNCSm7qJsuszh4KI1 lAHAkw== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 471g8s25c6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 05 Jun 2025 17:13:54 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-7c9305d29abso197587785a.1 for ; Thu, 05 Jun 2025 10:13:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749143633; x=1749748433; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BiSKdaHMeCVD8oaJKkvTJRlJ3qNDdfdL1Sy3uWHXIrQ=; b=gCoYrHFA+1Wk6cUsl303z4LTHAyegUe/5hG6ryTROLqO4MIXtrwgoiztTaqbdKFm6G xeyK+1Lo6WOGmgCzEVs7C7iUmMh0WxdFXGjLhCpMlPrEOPjew+NtzgZwQk6bRWRyw4Do WN51b+Yau+nEhrKwSRAxg1/Q6gzVLs6niMsxjBcj6gSG6gPLZga4Rf+SA7Hl2N005lGm w1paVQWgYZ85lvEjyOJsCa5SU6/u254aZNIHCjAIyuf4hV8ZJaaZ8/rPwLhUXcZklq1O vjFziuEDmuy/cButmQ9duHFizRpjMtCcWPtX8e3a8OxuhTlg2Qk1sTkU+KPfBeQEbWaP EynQ== X-Forwarded-Encrypted: i=1; AJvYcCVbAIuU7tgvxhf0QTDW60+gs4eYdkOH2FNqWNnWFUXvXv5c+YZol64kvmLN6R1AANBIZjkr3XZSrYh7K2E=@vger.kernel.org X-Gm-Message-State: AOJu0YwOwT4fCZaW3ccq1nqSY9xmxBTiy+9GpQcmyNVWR1Pwp6evXK9u L/t2MvhPtJWSxT/FY63oJX9844xAHTcbkEOgtCR17QdbTqaFLJPws4yDBkmdY100o/FG36JwMqN SprozZn32TlIYF9qfNxmcwMXmeRUfalmo8npZuy8xQzkijugHUHfzdOKF163gQTx7B3s= X-Gm-Gg: ASbGncsQqAnbhDSyhomJ2Rpl1+dPXWD72RNvfeqoKH+mUhPFS7vcpndoU7edoqXllbl +s4hAoQiz9Ybz6R/rMw9PgjLCgkZ5Mb5oZizZnu6uYvbnBqwJlF4rnOFluMYY3glakcJ8NdqvzP GhAHB1qEniu0L5lkoDtB2IUsggvosGnmBILa2+xHb+H9HZpjEZgSEir33kWY2vPPWsDp7hoVBMQ XJSHiccAeuOV/xI2Hqmmo9YxqCSrhXGltvSNZSgPW/fgsPT2PUwKpNHbICe2crsoFT9AV7ov7C0 4uufQ4xNVVN8YWohNj8+tS1aLJRfc+vSLQ== X-Received: by 2002:a05:620a:800c:b0:7c5:431f:f5e6 with SMTP id af79cd13be357-7d229887bf5mr53232485a.33.1749143633404; Thu, 05 Jun 2025 10:13:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHA+PZVxU0KcpFWRWk2T4rCgPUtQLXzoDQwsIZvyrADwGhZQ0pSI//nevDF45+TMmeSQHR2lg== X-Received: by 2002:a05:620a:800c:b0:7c5:431f:f5e6 with SMTP id af79cd13be357-7d229887bf5mr53228885a.33.1749143633020; Thu, 05 Jun 2025 10:13:53 -0700 (PDT) Received: from [192.168.23.80] ([87.224.39.253]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-451f982a5e5sm31482925e9.18.2025.06.05.10.13.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Jun 2025 10:13:52 -0700 (PDT) Message-ID: <73d9fa9e-823f-41ef-bdf3-76cef3591e1f@oss.qualcomm.com> Date: Thu, 5 Jun 2025 18:13:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 0/3] media: venus: enable venus on qcs615 To: Krzysztof Kozlowski , Dmitry Baryshkov , Bryan O'Donoghue Cc: Renjiang Han , Vikash Garodia , Dikshita Agarwal , Mauro Carvalho Chehab , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Nicolas Dufresne References: <20250530-add-venus-for-qcs615-v8-0-c0092ac616d0@quicinc.com> <285cae4a-219c-4514-818f-34c8225529de@quicinc.com> <44b3779b-702c-4e8b-8ccd-c9c3314a511f@linaro.org> <0a17dc61-a8eb-443c-9f4a-4f7851e07c5a@kernel.org> Content-Language: en-US From: Dmitry Baryshkov In-Reply-To: <0a17dc61-a8eb-443c-9f4a-4f7851e07c5a@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: 2OUoXw5PI5B3bL84fQFULlaxMsb60bUb X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjA1MDE1MiBTYWx0ZWRfX0Nb+jVPnJAUu ml/XeYtYYBa8cuCUWJeU4B0jG974jh/dhhnEmiDvMiyMznUU7C8X/YOSZbExqP4iUzydd99/3xr Qm+i3ua2Fmge4MqVorMMSSGJs6KeZifkZQvq4mUQ7R+K1/kg0Oq9UrRM64IlJYkTgWoRNSKjFje QR5tx6ecC2VtRVw51+VR2ZG2kznnQftJGPeUyzkMnL8/X+AVh3gNkIpQ19MRJGr+q02piLCZIMB N8BlWAr+hLoeVMUiwL8g16+FvBB2aPrLdpO6TB20hKCSVuiVpcBZquVKfeYp5hI+7q3tgO2VyNM ZI+ZxwmMmyb4hNK6z7uLBFCRiKRnqgFnk6VDEsH8r+O81RG9cC9HjXHlhAu5G92yJJI8QlKvj8+ +us/wm0QJIukXbtEfq/Yx2wf1+jvcJgU7MMPvaupp213eBodfsJek3wJPrI02PI9yXHy0Mh1 X-Authority-Analysis: v=2.4 cv=RdWQC0tv c=1 sm=1 tr=0 ts=6841d052 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=UMobGI8h2IAScYPZOeRE3Q==:17 a=IkcTkHD0fZMA:10 a=6IFa9wvqVegA:10 a=VwQbUJbxAAAA:8 a=v7yF-7gVPNHQD8MQQjQA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-GUID: 2OUoXw5PI5B3bL84fQFULlaxMsb60bUb X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-06-05_04,2025-06-05_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 mlxscore=0 priorityscore=1501 phishscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 suspectscore=0 impostorscore=0 spamscore=0 mlxlogscore=554 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506050152 On 05/06/2025 18:12, Krzysztof Kozlowski wrote: > On 05/06/2025 18:02, Dmitry Baryshkov wrote: >> On Thu, Jun 05, 2025 at 01:40:03PM +0100, Bryan O'Donoghue wrote: >>> On 05/06/2025 13:33, Krzysztof Kozlowski wrote: >>>> On 05/06/2025 14:30, Dmitry Baryshkov wrote: >>>>> On Thu, 5 Jun 2025 at 13:13, Krzysztof Kozlowski wrote: >>>>>> >>>>>> On 02/06/2025 08:16, Dmitry Baryshkov wrote: >>>>>>> On Sat, May 31, 2025 at 08:05:24AM +0800, Renjiang Han wrote: >>>>>>>> >>>>>>>> On 5/31/2025 4:27 AM, Dmitry Baryshkov wrote: >>>>>>>>> On Fri, May 30, 2025 at 09:32:12AM +0530, Renjiang Han wrote: >>>>>>>>>> QCS615 uses the same video core as SC7180, so reuse the same resource >>>>>>>>>> data of SC7180 for QCS615 to enable video functionality. >>>>>>>>>> >>>>>>>>>> There are no resources for the video-decoder and video-encoder nodes >>>>>>>>>> in the device tree, so remove these two nodes from the device tree. In >>>>>>>>>> addition, to ensure that the video codec functions properly, use [3] >>>>>>>>>> to add encoder and decoder node entries in the venus driver. >>>>>>>>>> >>>>>>>>>> Validated this series on QCS615 and SC7180. >>>>>>>>>> >>>>>>>>>> Note: >>>>>>>>>> This series consist of DT patches and a venus driver patch. The patch >>>>>>>>>> 1/3, which is venus driver patch, can be picked independently without >>>>>>>>>> having any functional dependency. But patch 2/3 & patch 3/3, which are >>>>>>>>>> DT patches, still depend on [1]. >>>>>>>>> I'd say 2/3 and 3/3 still depend on 1/3, otherwise we can get video core >>>>>>>>> on QCS615 over(?)clocked. >>>>>>>> Agree, so we need to make sure that the driver patch is not picked after the >>>>>>>> DT patch. >>>>>>> >>>>>>> Worse: we need to make sure that the driver patch is present in the >>>>>>> branch which picks up DT patches. Otherwise building & testing that >>>>>> >>>>>> >>>>>> Well, that's a NAK then (although depends what you mean by DT). >>>>> >>>>> I mean qcs615.dtsi. I'd suggest an immutable branch for the driver >>>> >>>> Sorry, but no, DTS cannot depend on drivers. You CANNOT merge them into >>>> one branch. >> >> Surely it can... Like any other cross-subsystem dependency. > > Sure it cannot, because this breaks the basic rule of not mixing drivers > into DTS. Arm soc maintainers are not merging drivers back to DTS and > the DTS must not go via drivers tree. These are basic assumptions around > DTS, see subsystem profile for more explanations. Ack, so v6.N+1, which is also fine. -- With best wishes Dmitry