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=Rbn3l7OmunjqY4t7rXVN/r+5167ap+qpYQj3qR3fdv5hoesX5/vDfU1LEdKoAI56AytT CZgpeWu0BnJCfIW9A6FFb+x+r13o0uWKqtJHghY0CiplKwWLwUaZ9dbJPeLh3rEldEPEF y8sESBEwpZAHfvse/u8KzRIKbt6pPsU4kJQ+S8DB3XncdQwfR7LHEjKwMCLMcGW3sZ87+ VaKPrF5V736UrF2P/hx3N1QNZ/BIBV7DqjMa9k+gynIqezcz+V+pQK6eUxNWSzYsRXeHX gDvF+3Yf3iwKjzVhSO+0AoEizeLyu2JqLs4kAvb4z+YH1CWGNewW8HLv14HfxK2dXcA== 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-Spam-Details-Enc: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=e/d0X3OPXHLRqBP2Z0zXy0vXztVjpWzuZfsq8MV714A=; b=coiJ9IMstyDA5xlh7noYs7FCGK74QDkNM20WIjhdgF9HwIld5vfj0jssW226Ykgy2M91 WOIC2l+cXIMObOGsLnlJGmjXNHr7M7VaRZrvUv03hE7OJSliBPAFK9o86tC21aFNVEQYT +FpvEnQxR1KFKlAzVXqS4XnfjBWrIza0aqCoGgOgyf3RyH5xoUAx6QALiR89nFMR5vH/X 2ftITkP7B3OfA1YBQaRNYIZYvz1D6cwCzgZIlaLM5uVv9CWrLlw2uPrhmImg2pXGjwlVi ZohBtdYl/YCQxj5KqflBOhgewvb8wjz6NtMvIEBbrl7RYA7E4mvS53gsbYqU9BwESKg== 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 4DD45606A32C for ; Fri, 4 Dec 2026 18:25:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4DD45606A32C 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B4I6tYv245765 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-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4jbq7s2gfv-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 04 Dec 2026 18:24:59 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-9493e89d4f9so166239385a.2 for ; Fri, 04 Dec 2026 10:24:59 -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=Pwkbq50rWoLwmzsUe17CqovvkbhNX27dZZuxE58OIBh/cc2NPFmWdJhwf0o0ot3xHP L+10eupdSA4Qw4Karcm1lH/ysJniwubq/ei5JDCcxhq5zTMyTXwRVCcwq9td4IKXnZiS oxM2j0I4Dodgvu/HsSLJhck5X9lFr0nvUrgRlEyrSToAmg2qHX0VDNajicYunDvw2LaM QnLIanMIjb+zU8K/FhJVJhIVRlaTG9Qfe9Gppt8WhNrq3FlFzHh0xpgTl0reQbBBhBxR IaRtR6qDBzt0WyQcAUmNDkC6h0ou0VIBeOYxgbw9JaaG0nW/AEfb25Z3HuIVd9Non2BS 0kkw== X-Forwarded-Encrypted: i=1; AL+hErG6HEj6WyuitODaItH58Bl0rZaSNwBt0/hltKt4E5JO8WJYphZUXptTZ3NfxfrO9tUHwrVhhUgAwRpH6nZl@vger.kernel.org X-Gm-Message-State: APuU4Z9iO9smRvXZgApa296zN6mAVOoE6Svw6hXYn4Yktx2HkaKhniAu IRJQJgVIlzk2amH4gSgx3waxxwXCMzsIlMLnzdKof87KZcM/ZLfLJi9yv9Miw+mv1njNoMDM3cT Pf/R26Hp87Q+W1OGQnPoGCTiLZ815kruxPFVgv8aiILhI1M12wVh2mROadXbikE7sQMyR7UyJL7 Ph X-Gm-Gg: AZFdTZc2VE4HFOpGu9wezl4xGGXRq/wAj4vhie3WfH8O5yp1IiObZ5nakoNAPQa4Gty 1Hsw+oWBapDhdASwgyNJTJ0TJopWDydrwWcRpl+/RtESs0anVy5dh8sEc+qF3Y5I49U1ieaKKqo od3eMbsekIoPy+s9iTt8uiVgM6kmQw4szSWRJE3uAjz+v7+MIunWE3akT/b8vSOCnWmHEOek1R9 IU8pgcNNYF4s++QNzL4xtxWnPS5pTy45lscIlnFKUouM42vPKyEn+1Z/OacnqKn8EZRUXd/UZIN OL9G6h8dT2HY6Kv3SoFYvYwYgTc5Vn0XU3zfYnRoQRcZiZCl9LWAECGSIeNCcP+uHVWvhkZJyNp w75wIrYDAO99WdxXzspsV0zAgZMSfLC0AM+T4Ge+1ZWK2gb69vl7ijx6NYyU1Ji+LAlIvOied1K saoclKXaZZ9OH+ghfrwiKEC+eIjZDD6hDGp3S76pJo1YPlw9JxO+zoH0VGtr8DAQ== X-Received: by 2002:a05:620a:1711:b0:949:5872:be1b with SMTP id af79cd13be357-94a82ded4ffmr445243685a.39.1796408699138; 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-arm-msm@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-Spam-Details-Enc: AW1haW4tMjYxMjA0MDA3MyBTYWx0ZWRfX3fQug9NX81Fq LL88al+lww+s1rzGcxHsxBDgaqvXIVxz8XFfxbG6PUd3oD4qd6F7fqp3SuCh/DS5FxvPR1YaRVX wEhln45CyfAKFe8es86Dp4k/FtLN+4wtB7TFby3lL6mG86AFukVDgj8m3pZp8JhgqMZWb9X1mTj 6VtOfqboNQIL4HyEVFtxtXyiKiRGSBKsMr+OAvJozJxmwskqT/7mmxmpdIWMWS6nwM9p+mpnuA5 YIkWxZarw3og8XtiMHLy+j+gGRju7QuEZRad7PoMBl84oEjrfocFiSe2OxrYdMPBtLNwBrPgmh5 nyoxKnp+S7NzlE5DhpJmY6s4MLLWJTRlfKSOp/QPn2+79RSnx/Wr+T/MN+SG009okETbtY9vauD UUh2h9hKhA9K0JGV5fETEkwEK7JH7aCT6sxp/qfeIyaRwNKRkWgn/oXf9KBaCWtIItmXVZ9Xtc8 6x0Ovc5ubkjRo4JEbjw== X-Proofpoint-ORIG-GUID: ulNRnSFHYGMip_ytbRpxLoC5yFT_w046 X-Proofpoint-GUID: ulNRnSFHYGMip_ytbRpxLoC5yFT_w046 X-Authority-Analysis: v=2.4 cv=AOKPfg2Y c=1 sm=1 tr=0 ts=6b13057b cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=bC-a23v3AAAA:8 a=EUspDBNiAAAA:8 a=3BA_bSRjKKLP98d9h9gA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 a=FO4_E8m0qiDe52t0p3_H:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjA0MDA3MyBTYWx0ZWRfX3fJIFXBepXhV M6VOEbbsIn038m/axsEGKM8kPX2sjlMtXVagX81n9SoEKb0TAhS/SCGyBBVLoSFUjd/1d8UyJI8 ZwZZZZ66zG2aKfQkkBVWs+t1CMAkcZ0= 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 clxscore=1015 impostorscore=0 malwarescore=0 phishscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 spamscore=0 adultscore=0 lowpriorityscore=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