From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB81619D06E for ; Tue, 1 Oct 2024 14:22:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727792575; cv=none; b=onSUKNVLrqw/IzqH4yqkTpyAclA4JZmAVXMz23yymiBL/Krto5Paav1hOS09mlhEaUev1JDPk1MiMS9Gfxo/jwpx8SEmnkihMOo4GlsI8nN18GGX9OGRj9wCWfX5rh7RTMZAU6oPQn1Jnbnsso9KWv+go2TU/X9sRt4Fi2ks2eA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727792575; c=relaxed/simple; bh=yh036OuWVtZS192RdATSdM1krocVw8uCFUV8hJl9q+c=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=qADbvBAzJdbSsUbD+hwQbjIkzNwbNwwJPTyDQowmRC0eA74D0r9ftCZoV6atdnGzFn6HA/9o5BJiENSSyvBXaT/OdGUzT7uKGa7yZWPoPINymbYbjhxVC+NFoVAeRi/Jv/5i/aJ3lzd7JfpYPQMlvpeCGwbSMEjIzTz9YNACG0Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=1vvqlon/; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="1vvqlon/" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-42f56ad2afaso60582715e9.1 for ; Tue, 01 Oct 2024 07:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1727792572; x=1728397372; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OUXzWwVynlO2farGmzjCRjampG4QkTOOiMVa306g3F4=; b=1vvqlon/Wb0my+FmrnsCC6P3iwhXdkVqtiqptopuzppGeGW6ElTzwNAH15nCgJehQB Z468l9a8p7mrglnuAyFtlJe37bJPs1dOR8FB8JHEVRuJbl8v+1a6EPLshDLxuDIxmVpE Qw6MEF8nQRsm+73H0xcOufZF1rxKI9RMBpGEOtGwKBdzsTgpC+Pn7svs2KAWchlHx0pS 7ysjzFszeDImQUZDmrx/myVWmLm3zZbnhndJ86fjx81QeyP6hamTVV47wjh+n57o7sRU atw7LF8h9EoZjxjmR6PfhtT8EQdYzKKXC0LzmA2HBqlbZTEXwACV1zcbpl7tjnxkeAAW +rEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727792572; x=1728397372; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=OUXzWwVynlO2farGmzjCRjampG4QkTOOiMVa306g3F4=; b=e3VG82eFAfZrUpMD6j28Af/oXRo5B5fDYqT9wG25T7H9m8mK0SFEoJ3SsNoOvmxfIb cAK+XiAQJhj5WO7+YefHz/XCYmaylv0Ax+WYuHer0GuJvEMchYaQd/1VmpCRzb/bbscQ GybxN3GwoNwQBKo2YM5l0xVZ8Cq9jgutSv/XTQX9EKnizSq9IQYtyg4wmVA2FwjcVFtI DHRJA2NNbnqzDXb8vY0nmigN25/TcZX0GKP0ywQVY9Z1J1WqHmwqfR0pltTgFwrg7V3d 8wOwjl8nO0FbeNn6IUkugrIR2VtxMQwzWYbYtAFtHAY5mQAL39U5FJzjQP8UkxWRco3j goIQ== X-Forwarded-Encrypted: i=1; AJvYcCW8UGUAAK1fo17xdQK1qPCRBg6xeLLo6KpqVd8QIQlnKL0W0ZSrH1hgiiQ6p5ZbhjFxF5Cj0pmEMKBO@vger.kernel.org X-Gm-Message-State: AOJu0Yzd5G2t+r9KcQRQCYPj9fZelCG+dEVeXy6DiWsDzgx+Hi5QmWf7 N2JSnkBE9Wx1SjD77d2TLuZij6u2maCl/et8q2fCzx/Ob326d4DEOOkZGwbjDj8= X-Google-Smtp-Source: AGHT+IE1MDD/pWaftXcta30RJmYNnd36yu433BiXNnM+DOhxjOYYibckt0mh/3U0Wfvp0AGvZHCkkA== X-Received: by 2002:a05:600c:4ed3:b0:42c:df29:2366 with SMTP id 5b1f17b1804b1-42f584a1d68mr169077405e9.33.1727792571880; Tue, 01 Oct 2024 07:22:51 -0700 (PDT) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c27c7184sm716888766b.83.2024.10.01.07.22.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Oct 2024 07:22:51 -0700 (PDT) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 01 Oct 2024 16:22:50 +0200 Message-Id: Cc: , , , , , "Suresh Vankadara" , "Trishansh Bhardwaj" , , "Hariram Purushothaman" Subject: Re: [PATCH 00/10] (no cover subject) From: "Luca Weiss" To: "Bryan O'Donoghue" , "Vikram Sharma" , "Robert Foss" , "Todor Tomov" , "Mauro Carvalho Chehab" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Kapatrala Syed" , "Hariram Purushothaman" , "Bjorn Andersson" , "Konrad Dybcio" , "Hans Verkuil" , , "Catalin Marinas" , "Will Deacon" , =?utf-8?q?Matti_Lehtim=C3=A4ki?= X-Mailer: aerc 0.18.2-0-ge037c095a049 References: <20240904-camss_on_sc7280_rb3gen2_vision_v2_patches-v1-0-b18ddcd7d9df@quicinc.com> In-Reply-To: On Tue Oct 1, 2024 at 2:49 PM CEST, Bryan O'Donoghue wrote: > On 01/10/2024 12:39, Luca Weiss wrote: > > > And v4l-subdev5 is msm_csid0 on my device. > > > > >=20 > > - entity 16: msm_csid0 (5 pads, 22 links, 0 routes) > > type V4L2 subdev subtype Unknown flags 0 > > device node name /dev/v4l-subdev5 > > pad0: Sink > > [stream:0 fmt:SRGGB10_1X10/4056x3040 field:none colors= pace:srgb] > > <- "msm_csiphy0":1 [] > > <- "msm_csiphy1":1 [] > > <- "msm_csiphy2":1 [] > > <- "msm_csiphy3":1 [] > > <- "msm_csiphy4":1 [] > > pad1: Source > > [stream:0 fmt:SRGGB10_1X10/4056x3040 field:none colors= pace:srgb] > > -> "msm_vfe0_rdi0":0 [ENABLED] > > -> "msm_vfe1_rdi0":0 [] > > -> "msm_vfe2_rdi0":0 [] > > -> "msm_vfe3_rdi0":0 [] > > -> "msm_vfe4_rdi0":0 [] > > > > media-ctl --reset > yavta --no-query -w '0x009f0903 2' /dev/v4l-subdev5 > yavta --list /dev/v4l-subdev5 > media-ctl -V '"msm_csid0":0[fmt:SRGGB10/4056x3040]' > media-ctl -V '"msm_vfe0_rdi0":0[fmt:SRGGB10/4056x3040]' > media-ctl -l '"msm_csid0":1->"msm_vfe0_rdi0":0[1]' > media-ctl -d /dev/media0 -p > > That command list and this > > yavta -B capture-mplane -c -I -n 5 -f SRGGB10P -s 4056x3040 -F /dev/video= 0 > > should work. Yeah, unfortunately this is still hanging... Let's also see what Vikram sees on their board. fairphone-fp5:~$ yavta -B capture-mplane -c -I -n 5 -f SRGGB10P -s 4056x304= 0 -F /dev/video0 Device /dev/video0 opened. Device `Qualcomm Camera Subsystem' on `platform:acb3000.camss' (driver 'qco= m-camss') supports video, capture, with mplanes. Video format set: SRGGB10P (41415270) 4056x3040 field none, 1 planes:=20 * Stride 5072, buffer size 15418880 Video format: SRGGB10P (41415270) 4056x3040 field none, 1 planes:=20 * Stride 5072, buffer size 15418880 5 buffers requested. length: 1 offset: 3442938648 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xffff85e00000. length: 1 offset: 3442938648 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xffff84e08000. length: 1 offset: 3442938648 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xffff83e10000. length: 1 offset: 3442938648 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xffff82e18000. length: 1 offset: 3442938648 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xffff81e20000. > I have to test Vladimir's two patches. I'll verify rb5 TPG while I'm at= =20 > it, perhaps the error is not sdm670 specific. FWIW this is not sdm670 but sc7280/qcm6490 here :) But I didn't follow the sdm670 thread so maybe you mean something there. > > That said last time I tested it, it worked and no changes have gone in,= =20 > in the meantime. I also had the test pattern working on a 6.8-based kernel on this device with camss patches from Matti Lehtim=C3=A4ki. Regards Luca > > --- > bod