From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796408702; b=YKGcLBJmtXYe4kPTFu6gBf89yDGOsM0yiVmf1p0GYY9S9oG0IKU3O/gn/Y9vd4zWozat NPL/hbOD0o6JF1FlYg7AcrGIW5hBFMaCMUuoWR1JTzC3BjhImRajgyaLXsknBa9WaJnlt 9H5zX+dosBypUs5LshA79EdF1XhWRiSwhZK1XryPXJZpa0ZioJBRp1R0BNQz+E/Bxz+mt wJhp4hOIDqhoJaP/c49XSJUOtMQ64TRHP+YuRTFpx9nug+AvWpePqqOnUzg0Po9g0cpJv ZxzLuHaxk64AD3EPBoQJbcGYk+skr9AAKF929XUEbo16E42k8dDsGdEApuFRySGpC/A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796408702; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From: Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Info:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=e/d0X3OPXHLRqBP2Z0zXy0vXztVjpWzuZfsq8MV714A=; b=XxXOcX5VkhumPNchWfLfDzesKqNmWKbZIw/0B2gwnPHZDhtsokjX36IGNSFDy6qXkoOD 3ayjIOKYY4qXGOaHv3bkRkTC1PL+tDz/4J1pVVLsHHV5PFrtDSzhRZNlT0x7vGaMxreEN DT4I194b/tmDbUI5klaCoruN2vlggR90deuj0RIUc1QVJp4Ykw8HR5VfiExQzExjPGXLV TpCBmo1YQbEgRHYz2dcJQ3YtjDLPrNzh16Jvy2wqf9qAAznlcGxKJrJNTlEkXX0BGGRew 31VWc3ohMSw55RPZLKFje/9A5cHji3pYMJ8e2joHXN/qLofMcTd90mrEO62TySTxIhA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=Ib7pctrr; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="BB/0MaCT"; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DCBE606A322 for ; Fri, 4 Dec 2026 18:25:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4DCBE606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=Ib7pctrr; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=BB/0MaCT Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B4I6dX53199720 for ; Fri, 4 Dec 2026 18:25:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=e/d0X3OPXHLRqBP2Z0zXy0 vXztVjpWzuZfsq8MV714A=; b=Ib7pctrre/MfuI8+pfZppfZHok+Rd/5SB7LdOc slbG2llLVjw0xVWMjfc9X3CdNgE05yBQBGcV4Tvj5jNbnhEJ7Qf2nYh3NdxEPY90 QA7rcPeTODrDEcW6qEGcCEEZcD4CEZl4yDYQBRV+gemH17uxooRcaomxXNfkGT/h WkA35c9+3emrGegGDJmYjog3vCH7uYVyAiHHb8CIIFvRIUXVRtQ6WOIPbAKyh5CI rp0u52ZHHIbpq1FdpC/WnbHWj4kV/95M/PdrUBmWnBf39rg6LFvUs74Pt66LJFXD aHUHuz0nhgDDSSS+KFp0IPJV7XpDuVbn5CyYrBjkZC5sQ8LQ== 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 4jbq8njeth-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 04 Dec 2026 18:25:00 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-948d83322f6so182573585a.1 for ; Fri, 04 Dec 2026 10:25:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796408699; x=1797013499; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=e/d0X3OPXHLRqBP2Z0zXy0vXztVjpWzuZfsq8MV714A=; b=BB/0MaCTSku79N2A/ngyC/9cTXnJPf767h4QpLh5OtvQdD8JGUBa7zqFBeMUv18+b/ zGlyCuZjYXrFd8AG4xfBw8656OZ28verI91LcPmifgNLqPLPT27/ldz4sbim9vlQxgi/ wz77TWjDgQOYqlniKv5DHPJxVb9LRcUKxYqAbNFvYTo9q2VYmui0p4DW8PSviM5JQHsW P9V3Aj/D4F/4UruxPBVtiVN4lKX1XTnEFhO139fmDV96ELFTXFrTm+yMqm4anc57BCBH qFOKkQzPgfHZ/kIo9/p+i2sExJkloYo+BkEcZesYIp93/lmJA5nwj1fCOn6U5XWRYiRI NSCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796408699; x=1797013499; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=e/d0X3OPXHLRqBP2Z0zXy0vXztVjpWzuZfsq8MV714A=; b=K2tH2J91JDatC4Pxjofh0tnStLIsM4+LA192xN3WlGiUXuvs6+KuLWp9dhT8P3ykHM 65t4L4VY7vbZS3TaFbguP98hWtAykSudRn0v6REULKkcusP3VFzviyYWimRt5uIs17XM LWBRdueAoaPK2vYlVFsFrt/oXHQY/wdv/b70mjt6Aq317XejFfl5YUcx896b3z+wX/A+ XRlEcG8yUc+zc3avUVfP+WiaUONSphrq6um66NZHBSRoBWdAB4M9PGnGZ9l+eaFpDFG8 BDSC4Aeb2aySiDXBQX2mXtZ3U3cJv4EeWN71IqXYNIH4pPLngsCwfrV/7SZxoXR1r3u/ nbQQ== X-Forwarded-Encrypted: i=1; AL+hErH0pmDLfccbJQVEY4lpk4+KkxOGmk0cFCTOmduw0/IhjxJ1xsVrdR17coCdqCjYLzVFyK9EG6e+7Q1fZWs=@vger.kernel.org X-Gm-Message-State: APuU4Z/j6qFoZdrSFdNpiFekPXuQuYPm90gR+sU4ogTDXJHElzN5nsZy rqPhCtbcN108hjSZpjKjTwGPKivbWU3KRMBk+oNc++Ly0uaiAkJrbnXYMr1OvIXwiiQrSeXs4aD iJa7Pb7IEn8a3xdZ26gLB/HS6MGkXeQ9xwG0rUvcpYpE9SgeMxqF4n0h1oZH16Iw8Bwg= X-Gm-Gg: AZFdTZcLq4FlXR1yNdTUuRCnitwWVCWRLpLWVnNlYQosT+0uOq3SLYKEwOAMW3k2ug/ PySc7/uD/7Bb7yzGBEkhMkVPbbrp0KUt5PV7gBFydez+ChbbKrY8GHL+XJU2190XhBOVaareFOp DZ28GxSSiUpT7kNKK3wU3XW5cT0QQF3kGl4vB7HbRXt/UXIEHW0aeFE1MsLFg7/KQ3cQDn70i6k cECXl1sG3trKfbKR+0j73OUm5nL9qUqcJZ2M2AZpX/jh+5VOMEzq8fR/bdLLDPNI3d0UyFsy56K jTStzJn5E6ezqdqQ4b/xp2OPTfHgUOMe8fqmodTKwXTxm8tOX2as7D32GRPJ3aQU/YUqPBvMRuH H6u0L8erEjldVOq2HYDNSx30cLQD03Bg2ial8F7/RtiYMS6MdxkO9mnBtQceRTx3/gYJhR11swM DctHptiRPODfBB7xyvADLKO3EsGxaeL3JhOOtP2ZHd7Wf+1tGFMcb/f/Ed/1a74g== X-Received: by 2002:a05:620a:1711:b0:949:5872:be1b with SMTP id af79cd13be357-94a82ded4ffmr445244785a.39.1796408699200; Fri, 04 Dec 2026 10:24:59 -0800 (PST) X-Received: by 2002:a05:620a:1711:b0:949:5872:be1b with SMTP id af79cd13be357-94a82ded4ffmr445239285a.39.1796408698652; Fri, 04 Dec 2026 10:24:58 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-3b0037ac7fasm9647221fa.25.2026.12.04.10.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2026 10:24:57 -0800 (PST) From: Dmitry Baryshkov Subject: [PATCH v2 00/13] media: iris: enable VP8, MPEG1/MPEG2 and interlaced MPEG2 support Date: Fri, 04 Dec 2026 20:24:41 +0200 Message-Id: <20261204-iris-vp8-v2-0-462f9b48d246@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGkFE2sC/0WOyw6CMBBFf4XM2mKBCMWV/2FYlDLKGAHpFIIh/ LvlkbiZ5CTn3rkzMFpChmswg8WRmLrWQ3wKwNS6faKgyjPEMk5lJpUgSyzGjxIqSqSpNOYqr8D rH4sPmraqe7EzD+ULjVvzh2GxH/wPt2tQakZhuqYhdw1anNy50ezQwlpQE7vOfrdpY7T5x4r8v 2KMhBSpfiS6vGRKZ+bWMYf9oN9rbegPFMuy/ADH3q8y6AAAAA== X-Change-ID: 20260708-iris-vp8-8130cdae989d To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Vishnu Reddy X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=11898; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=XtEY8tC/cu+PBThqA/KQ5+36OFJwYZbtbRliylonQzw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBrEwVrYEDSAmtu0QE12B3cFIjly5pf69Znqf2MC VgBSiYCctCJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaxMFawAKCRCLPIo+Aiko 1YesB/9gwHeS39hP1Ihrl7b8+/re4ubV9556jAbeXBhw0UfHa6bza98oqVLEhF/e8JFW6JYtbFB Fn3iAJQm3dHDy3R/pl2IaOhJLrvIgIiWBSpB7n74o1VOQ4WR4VMsb5tNqlsuu7qibE0x8pIbioW TmxaJprSP+L1LwB3TxJmPrbhdROwLBXQMRy4WQw3jAyFWxLkr6uXqvDNdpPuGUUs52kQQAyTCgf iI0kld8dPCYX5ZODP0oNcDSBcgcKrR7fIPXRNVlwPN7TqfAOIz756kkgWSbVLAGvuHJjw9LBBnA TeyDJrDgCWWVMH90ZJGLG3UOyS5uy19KezRcAkvHRxMsPR3L X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Proofpoint-ORIG-GUID: 8z6b8bFR1Qdw_NvwzEIhVNfQlqeZrVF4 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjA0MDA3MyBTYWx0ZWRfX4lbtDxHPapZ1 XW6MsT98oaeBv7jcypNssnoAOR7Vd3mPP+ifm2R+vjo1SC2AG0T+7uFWXinYDT9nU6Y2kSb9bE1 Jb/98qNd1hBmBsIfF/W4idsOaPCj9Wc= X-Authority-Analysis: v=2.4 cv=dqdOmFg4 c=1 sm=1 tr=0 ts=6b13057c cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=bC-a23v3AAAA:8 a=EUspDBNiAAAA:8 a=3BA_bSRjKKLP98d9h9gA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 a=FO4_E8m0qiDe52t0p3_H:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjA0MDA3MyBTYWx0ZWRfX15TDfe30g3Ik n9wE9B2RSl9QB7+BGTuU5PnsXBqcmxqpgiCA4PW5mad1oTJQfgJyKoTrThWhpEJ4tQkSwdPogBS zZcG1aYODP5D73Kl9FbbOFNnLXzcMtw6b3zNfV+6Y67qIrwKRBiF+ikSEMBdlFC0GG41rlJYOpj R3MuK7AXse8y3U6CnTvI2NZaguNtDooMOuHJ4o/k3zaXjfS7Lchv0BhVkK7pM6J4UP6wnq3kfXU KP9QCa+UTBlMNJpZ+qMS/PbGwbmY22t9VpV60QjoMWBo2ev9EA9iCNhduSF48VRsfRHXrltATKr DfhE5IpFpPD+Gkg3vrLpQaEF3EPvse/fNVg+S3LBl7cz0vTZWJMuwv3CMkgGLbcp5KOIhpeDkjU QHVrxzup9ab38i5j0H/xk1TFMoabPoxHY4dTfbIx32m9YYo5WxHjQ3bW4Ybi0852TzncdIrxrdj Mx8+f0Tn8uHjf6VEY+Q== X-Proofpoint-GUID: 8z6b8bFR1Qdw_NvwzEIhVNfQlqeZrVF4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-04_04,2026-12-03_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 spamscore=0 clxscore=1015 phishscore=0 malwarescore=0 impostorscore=0 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612040073 Bring back features supported by the Venus driver, but not supported by the Iris driver: VP8 (encoding, decoding), MPEG1 and MPEG2 (decoding only) video support and also support for interlaced MPEG2 streams. Interlaced H.264 is deliberately left out. Streams that mix frame and field coding (MBAFF and PAFF, e.g. the CAMA*, CVMA*, CVPA*, CAPA* and HCAFF/HPCAFL conformance vectors) make the firmware fail fatally in its H.264 hardware interface (vfw_h264_hw_if.c) on both SM8250 and SC7280, and the Gen2 firmware fails on them as well. This persists with the reconstruction buffers sized as downstream does (fixed here, it was a real overrun), with every internal buffer doubled, with a single pipe, and with the buffer counts declared as downstream does. Field-only streams decode correctly, but the firmware only reports progressive_only, so the driver cannot tell them apart and keeps rejecting interlaced H.264 for now. Venus has the same vectors on its skip lists. On the SM8250 (RB5): debian@debian:~$ v4l2-compliance -d /dev/video0 v4l2-compliance 1.30.1, 64 bits, 64-bit time_t Compliance test for iris_driver device /dev/video0: Driver Info: Driver name : iris_driver Card type : Iris Decoder Bus info : platform:aa00000.video-codec:de Driver version : 7.4.0 Capabilities : 0x84204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Device Capabilities Device Caps : 0x04204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Detected Stateful Decoder Required ioctls: test VIDIOC_QUERYCAP: OK test invalid ioctls: OK Allow for multiple opens: test second /dev/video0 open: OK test VIDIOC_QUERYCAP: OK test VIDIOC_G/S_PRIORITY: OK fail: v4l2-compliance.cpp(771): !ok test for unlimited opens: FAIL Debug ioctls: test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK (Not Supported) Input ioctls: test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported) test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported) Inputs: 0 Audio Inputs: 0 Tuners: 0 Output ioctls: test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported) Outputs: 0 Audio Outputs: 0 Modulators: 0 Input/Output configuration ioctls: test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported) Control ioctls: test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK test VIDIOC_QUERYCTRL: OK test VIDIOC_G/S_CTRL: OK test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 6 Private Controls: 0 Format ioctls: test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK (Not Supported) test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK test Composing: OK test Scaling: OK (Not Supported) Codec ioctls: test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported) test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test CREATE_BUFS maximum buffers: OK test VIDIOC_REMOVE_BUFS: OK test VIDIOC_EXPBUF: OK test Requests: OK (Not Supported) test blocking wait: OK Total for iris_driver device /dev/video0: 48, Succeeded: 47, Failed: 1, Warnings: 0 debian@debian:~$ v4l2-compliance -d /dev/video1 v4l2-compliance 1.30.1, 64 bits, 64-bit time_t Compliance test for iris_driver device /dev/video1: Driver Info: Driver name : iris_driver Card type : Iris Encoder Bus info : platform:aa00000.video-codec:en Driver version : 7.4.0 Capabilities : 0x84204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Device Capabilities Device Caps : 0x04204000 Video Memory-to-Memory Multiplanar Streaming Extended Pix Format Detected Stateful Encoder Required ioctls: test VIDIOC_QUERYCAP: OK test invalid ioctls: OK Allow for multiple opens: test second /dev/video1 open: OK test VIDIOC_QUERYCAP: OK test VIDIOC_G/S_PRIORITY: OK fail: v4l2-compliance.cpp(771): !ok test for unlimited opens: FAIL Debug ioctls: test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported) test VIDIOC_LOG_STATUS: OK (Not Supported) Input ioctls: test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported) test VIDIOC_ENUMAUDIO: OK (Not Supported) test VIDIOC_G/S/ENUMINPUT: OK (Not Supported) test VIDIOC_G/S_AUDIO: OK (Not Supported) Inputs: 0 Audio Inputs: 0 Tuners: 0 Output ioctls: test VIDIOC_G/S_MODULATOR: OK (Not Supported) test VIDIOC_G/S_FREQUENCY: OK (Not Supported) test VIDIOC_ENUMAUDOUT: OK (Not Supported) test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported) test VIDIOC_G/S_AUDOUT: OK (Not Supported) Outputs: 0 Audio Outputs: 0 Modulators: 0 Input/Output configuration ioctls: test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported) test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported) test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported) test VIDIOC_G/S_EDID: OK (Not Supported) Control ioctls: test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: OK test VIDIOC_QUERYCTRL: OK test VIDIOC_G/S_CTRL: OK test VIDIOC_G/S/TRY_EXT_CTRLS: OK test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK test VIDIOC_G/S_JPEGCOMP: OK (Not Supported) Standard Controls: 35 Private Controls: 0 Format ioctls: test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK test VIDIOC_G/S_PARM: OK test VIDIOC_G_FBUF: OK (Not Supported) test VIDIOC_G_FMT: OK test VIDIOC_TRY_FMT: OK test VIDIOC_S_FMT: OK test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported) test Cropping: OK test Composing: OK (Not Supported) test Scaling: OK (Not Supported) Codec ioctls: test VIDIOC_(TRY_)ENCODER_CMD: OK test VIDIOC_G_ENC_INDEX: OK (Not Supported) test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported) Buffer ioctls: test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK test CREATE_BUFS maximum buffers: OK test VIDIOC_REMOVE_BUFS: OK test VIDIOC_EXPBUF: OK test Requests: OK (Not Supported) test blocking wait: OK Total for iris_driver device /dev/video1: 48, Succeeded: 47, Failed: 1, Warnings: 0 The "unlimited opens" failure comes from commit 397ebadcbc21 ("media: iris: reject open() when the session limit is reached") in linux-next and is not related to this series. |Test|FFmpeg-VP8-v4l2m2m|GStreamer-VP8-V4L2| |-|-|-| |PASSED|53/61|57/61| |FAILED\ERROR|8/61|4/61| |TOTAL TIME|11.220s|8.579s| Failing with both GStreamer and FFmpeg: - vp80-01-intra-1411 - vp80-02-inter-1412 - vp80-03-segmentation-1413 - vp80-05-sharpness-1443 Failing only with FFmpeg: - vp80-00-comprehensive-018 - vp80-03-segmentation-1425 - vp80-03-segmentation-1436 (intermittent, fails the same way with v1) - vp80-05-sharpness-1439 |Test|FFmpeg-MPEG2_VIDEO-v4l2m2m|GStreamer-MPEG2_VIDEO-V4L2| |-|-|-| |PASSED|35/43|30/43| |FAILED\ERROR|8/43|13/43| |TOTAL TIME|69.772s|60.073s| Failing with both GStreamer and FFmpeg: - att, ccm1: frame size below the 128x128 minimum - tcela-18: D-pictures only, not supported by the hardware - sony-ct1, teracom_vlc4, ntr_skipped_v3: small mismatches against the reference decoder Failing with GStreamer only: - MEI, MEI.stream16, tcela-16, tcela-19: MPEG-1 streams, v4l2videodec puts MPEG-2 profile/level fields into the MPEG-1 caps (fix to be sent to GStreamer) - sony-ct2, sony-ct3, sony-ct4: the parser reports the display size from the sequence display extension, which is below the 128x128 minimum Failing with FFmpeg only: - test - tcela-6: timed out in this run, passes on reruns 4:2:2 streams (MPEG2_VIDEO-422) are not supported by the hardware. Test results for Kodiak (RB3 Gen2) mostly follow results on SM8250. Signed-off-by: Dmitry Baryshkov --- Changes in v2: - Rebased on next-20261123, dropped the merged AR50LT prerequisite. - New fix: apply the capture buffer minimum in queue_setup instead of racing with REQBUFS (made FFmpeg fail on small VP8 streams). - Gave the new Milos firmware data its decode and encode format lists. - Mapped HFI_H264_LEVEL_52 to V4L2 level 5.2 (Vishnu). - Replaced the QC08C extradata padding with the two-field layout used downstream, which is what interlaced content actually needs (this supersedes the extradata naming comment, Vishnu). - Limited interlaced support to MPEG2 and moved it after the MPEG2 patch, see above for H.264. - Picked up Reviewed-by tags. - Accept MPEG1 streams through the MPEG2 codec (dropped the MPEG2 R-b, the patch changed). - New patch adding read-only controls; the VP8 and MPEG2 decoder profile/level controls are now read-only, report the stream's values and only list what the hardware decodes. - Link to v1: https://patch.msgid.link/20260709-iris-vp8-v1-0-6af3ab578a7c@oss.qualcomm.com --- Dmitry Baryshkov (13): media: iris: apply the capture buffer minimum in queue_setup media: iris: translate Gen1 profile/level to HFI enumerants media: iris: default the Gen1 encoder level to a usable value media: iris: size QC08C buffers to fit field-coded pictures media: iris: split Gen2 firmware data for vpu2-generation SoCs media: iris: move the decode format list into the firmware data media: iris: support read-only controls media: iris: add VP8 decode support on Gen1 firmware media: iris: add MPEG1 and MPEG2 decode support on Gen1 firmware media: iris: support interlaced MPEG2 content media: iris: move the encode format list into the firmware data media: iris: accept gen1 encoder output at a non-zero offset media: iris: add VP8 encode support on Gen1 firmware drivers/media/platform/qcom/iris/iris_buffer.c | 56 ++-- drivers/media/platform/qcom/iris/iris_ctrls.c | 32 ++- drivers/media/platform/qcom/iris/iris_hfi_gen1.c | 88 ++++++- .../platform/qcom/iris/iris_hfi_gen1_command.c | 128 +++++++++- .../platform/qcom/iris/iris_hfi_gen1_defines.h | 64 +++++ .../platform/qcom/iris/iris_hfi_gen1_response.c | 83 +++++- drivers/media/platform/qcom/iris/iris_hfi_gen2.c | 284 +++++++++++++++++++++ .../platform/qcom/iris/iris_hfi_gen2_response.c | 3 - drivers/media/platform/qcom/iris/iris_instance.h | 2 + .../platform/qcom/iris/iris_platform_common.h | 19 +- .../media/platform/qcom/iris/iris_platform_vpu2.c | 14 +- .../media/platform/qcom/iris/iris_platform_vpu3x.c | 17 -- .../platform/qcom/iris/iris_platform_vpu_ar50lt.c | 8 - drivers/media/platform/qcom/iris/iris_vb2.c | 6 +- drivers/media/platform/qcom/iris/iris_vdec.c | 10 +- drivers/media/platform/qcom/iris/iris_venc.c | 13 +- drivers/media/platform/qcom/iris/iris_vpu_buffer.c | 86 +++++++ drivers/media/platform/qcom/iris/iris_vpu_buffer.h | 6 + 18 files changed, 821 insertions(+), 98 deletions(-) --- base-commit: 799dd936553182df5770dde7f38d94c8337df75a change-id: 20260708-iris-vp8-8130cdae989d Best regards, -- With best wishes Dmitry