From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.221.47 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794928890; b=GWjZ8WkSBE5tTzkfcAk8ErTt+8ZhvV158koZw9oiXZP9tXa81k44iqdSNwtuWgMr6WaU Lr87ZPNw+rX4zYz3sE0Fd0zX8OiVMmBr2rkWvh6dfgN0DhbDOaA3nviZ4GA99A3RFs5Uj PZuwWH3xIdx0WZck2/H4Svox3hFNTBmAWL+0F1+21m/5oFx1alZ0Ngt7YK5Om/YRMkeWh kGQrW9PYydEeqQY31aqDW8m8H5MJ3V5UiY5L4KEHHsvmDiyvYDW/pbhZYk2xKnHqAXXnY AnfFA9YndxFdIX2dgA11xUZUcq83mpwNBoDqJmlu9nE4gOZUIyv9xHs2UM3BH4e7xvw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794928890; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg: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; bh=StzyxbSuvXPXmgG5QlRp9NABTSBhGgsMMch9p0nc8yQ=; b=mfatOV4LHkRo5QjS1m56nbxRoRooYfpmzlcDLEu0kEpxZu5yuf33KqjzzfJjkzq7r6XA 6QJu8K96OKm6gKdG8fnj9ai+tWBcJdi/0Eevjp00sfwQn3DjgxVa+QLm0TSUkUK/c79wZ YqS3PcCJnWGGEDa3SUG+kjj/v0cICFHbLGSwoHC5sZNGlsdwOMFwlc4zQZnp0XYHnzWf9 hvPXc28cf0YCjLkAf29KI3pun2RwJ9hNP8bq6SLJv/WPrCkKQsR3KJ1SvwdC0nIlgqN+S JiYu6USSM/yleocPXV3APtihVySh0I17mtm60no7fjvPhel8FAHcVRTlIc+MpNCnKEg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=pqdFJ3Uk; arc=none smtp.remote-ip=209.85.221.47 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C260E606A32F for ; Tue, 17 Nov 2026 15:21:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C260E606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=pqdFJ3Uk Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-492f0a1b685so3263153f8f.0 for ; Tue, 17 Nov 2026 07:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1794928888; x=1795533688; 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=StzyxbSuvXPXmgG5QlRp9NABTSBhGgsMMch9p0nc8yQ=; b=pqdFJ3Uk1SX6oEcpPN6XKmXl23PTDknFtxHdAPh6fjtLqPhYPRz/lsl9cseFAmGWQN HDY/2IKNupPpk118cODK2WQRIQEbMQ/uhNgsE+GoR16dLWWF7hzsp1oGzexGJKyVtVbh uQST/jsPZ2l+N+uQukz1E6t05djfsTRFt21N5q+DGByneh03jZBAcpO/D2VIfzETadLy P/AmYNKet/S6JIbFHRR2zymfGjAhH2495PNYbSkLXVOe+licujHcZjkuI4ip6od9ijcx PYfI+IqHA83Dy9rhZ6Kc8pJGmnAYLrWHIk732IE3/pTgPWogaq+krtFT17NTXyisTLgj Haag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794928888; x=1795533688; 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=StzyxbSuvXPXmgG5QlRp9NABTSBhGgsMMch9p0nc8yQ=; b=PUmMSog5M7Qm9mfNz/rq1Z/QWw1MTfYtE/qt+EN1ui727Pl8YoklWHBkbtCg7sN+4v 2+sqQedp9xE0jU7BAm+GKqLVJsLi7T0/U68G0m8boxdbZ8abtVfLgDuq5OL+tYJJrEN4 zAg4G9xPxBCNmG0vm+LUbozBY9UnJTLEQWvcdcv4WZ15pYVAQNRfIQPPUCRxlIA6xNN1 ppdQzK0ISzC8UOCtnqzxmpY0Sa3x6S7Bk7bfDS/A6CrWXl2OylNGLqQ4xsCMs3RCLTnb V/vibzB8ZgflEr99ReLO4tGahhb1maJUIYB8xZTtXSDp4egxGc9y8Ii9h+y79wTkReeT 7EeA== X-Forwarded-Encrypted: i=1; AL+hErHg6aRqTAGftZV7MsSdKR9+zsJSfnWRG33HtevlofRmeylP+0l4KloP9U4twgt2pYll850BgircqjMVuPU=@vger.kernel.org X-Gm-Message-State: APuU4Z+wOn7J/uJbCfB4eNRuczyW8L2coruk6wYi63J9874iek48WnYj hKJy+rTBKuz0lXslBlAAHD6bLkuSCRnuZ5TbpAWQTAsvD6ycY34asASBEpTd8+zfvPY= X-Gm-Gg: AZFdTZcCNWaItO+ACOohf46riok5DLMS77xyLa5J8NqgqySAUVXwtFLuDFtE05wlhsU +4RqgQ8DRj8TW01zAWtyi4iK7xwUSCvjHgKSFHEv4SbBaChZ/pvaTSgruD6qBJa++Lh44Yq1U1Y vGseqGHgD0mD2IVpsOCza1CgoILcMds4DdDU6sKFVDqkJfp4OaUHtRHuqfWaugjuXiRsCkHxFxM 2jEhuz98r/NPBYOkFXM8rSwbHJeWJKPAtrtwTE8P42S9GxIB7kFxA9rDYcCVyUNh5nN4B9KeeG8 anHD2fwUPz3jlpnCAZzHghdV0i79NcivByYrIVxEalNTZ0zMBmVqrun9kvgwSBNYuCURGQyThD4 o+VnC53tXQTp5PXHrlzkE74/VjX+Rpe6iA1LTELCszLFwB8BIgGlDTkiyiaeEbzphjvAnuB3GDP wbFh5pDUStQmuTOk/WuLkZrjrsMDSBPMzlz65GehIySr8YfZxjzXZdFRwrg/Hd3KDrPL/43nDFM iKBxRgaM2pIlvD/18Txf6fKGzUknNjl6EarnMsDLEyZdfkW0zd9t/uY7dn7CpBosVoolwhm6q1H LzSbUWM93CJ47j916nDhwxsfJQZxc9F+W5T01Y/Ce8t8fZTB/sipMYsuSW09di9xGbiRRF4= X-Received: by 2002:a5d:584b:0:b0:491:f34b:49b4 with SMTP id ffacd0b85a97d-49c729bb9ffmr29483716f8f.44.1794928887864; Tue, 17 Nov 2026 07:21:27 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:106d:1080:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-49c607d12c4sm26703133f8f.41.2026.11.17.07.21.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2026 07:21:27 -0800 (PST) From: Neil Armstrong Subject: [PATCH 0/2] media: qcom: iris: gen2 encoder picture type subscription and operating rate fixups Date: Tue, 17 Nov 2026 16:21:22 +0100 Message-Id: <20261117-topic-iris-encoder-fixes-v1-0-169ce990d12d@linaro.org> 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=H4sIAPJw/GoC/yXMwQrCQAyE4VcpORswFbfoq4gHzU41HnZLUkUof XdXPX4M/ywUcEPQsVvI8bKwWhpk05HeL+UGttxM/bZPIjLwXCdTNrdgFK0ZzqO9EXwYZacJOqR 9ppZPjt/Q6tP573heH9D5+0fr+gG/SPSzfAAAAA== X-Change-ID: 20261117-topic-iris-encoder-fixes-9f13c6ec765d To: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1887; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=X76j2RucB9cYIefazEt219GMg4ALlbHtbzud5a9f9ug=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBq/HD1FMEJkw6TckTiCSiRBUN7om6ote0WXmWZQJS+ ytilHGiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCavxw9QAKCRB33NvayMhJ0Z2FD/ 4wEUMRwSs/QnnUn5l9pDPrKiL6NmtM4GOTCzM2Kk7Iy5sfVTeu+0H1mB5NOid9pR9mSvHLxjOdVALw bREFPKD16S1vfORRZ3fJJaLgoao9Bcr/DHhc/QtjkS6Gya2/xkkyBZvQ6jW23K7dubJrCdYzviIBrf Z2KwE5fnYbBe+8/+puPnZ1JjVrefx3CBBh5SR1/wn56pSwID3vQXvJBIshsBHt9JaAyFqHVDOAHftE fxtkbyIiA3fqKEnNHhcfIQZ4kYM1nVLogTscEdkQFywmq7Trykvazk0JKEL6H/MG2/df4VMGLdSq18 vT/AL7sCfYntzGVFZ3u4rb/iOx5rbvPRWowWSBlq5oxoxlcbX7LyHpqrhGH3GvLgDUnJG7DLqp2yfM tZf1wrCQDsbfOn4cPrPQGtTCY5efR1BMVzJ/2Hba+PT4YD/OcGEDkuTnt21kn3ELh5FbIu5nwfEIQk 8l6K4+i9U/ag7jA7Tkzw1dewr0DvNqwJKzlJzEvZvwnK/vbEwKGz0qw5kp0GMPhWhFCQUOtYIuFj33 ORcXs+FFkZ3TqEAuFs2xWWbLaZaYiOG7ezhCcHtpxjZC6hdz+ucwZDhR3vzea94gybeGSR6kKM93i/ Xb/C6zO2H61yLSxKI29wbOOTnBwjMDpCoricn869+rW2cMMz6ieiGMT5abpg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE Two fixups for the Qualcomm iris encoder: - subscribe to the picture type on the encoder instance Add encoder input and output property tables (HFI_PROP_NO_OUTPUT on the input queue, HFI_PROP_PICTURE_TYPE on the output queue) for all gen2 firmware data tables. - venc: drop operating rate to match spec Per the V4L2 Stateful Encoder UAPI, the frame interval is set via S_PARAM on the OUTPUT queue; drop the unused operating_rate so S_PARAM on OUTPUT sets frame_rate directly, as FFmpeg and GStreamer expect. Tested on the SM8650 platform for encode using both FFmpeg and GStreamer, checking that the frame rate is properly applied and the firmware reports the expected picture types. Signed-off-by: Neil Armstrong --- Neil Armstrong (2): media: qcom: iris: gen2: subscribe to the picture type on the encoder instance media: qcom: iris: venc: drop operating rate to match spec drivers/media/platform/qcom/iris/iris_hfi_gen2.c | 23 ++++++++++ .../platform/qcom/iris/iris_hfi_gen2_command.c | 15 ++++-- drivers/media/platform/qcom/iris/iris_instance.h | 2 - .../platform/qcom/iris/iris_platform_common.h | 6 ++- .../media/platform/qcom/iris/iris_platform_milos.h | 1 - .../platform/qcom/iris/iris_platform_qcs8300.h | 1 - .../platform/qcom/iris/iris_platform_sm8550.h | 1 - .../media/platform/qcom/iris/iris_platform_vpu2.c | 1 - .../platform/qcom/iris/iris_platform_vpu_ar50lt.c | 1 - drivers/media/platform/qcom/iris/iris_utils.c | 8 ++-- drivers/media/platform/qcom/iris/iris_venc.c | 53 ++++++---------------- 11 files changed, 56 insertions(+), 56 deletions(-) --- base-commit: aebb7274476403040d582c61478df8f4a7bf9cd3 change-id: 20261117-topic-iris-encoder-fixes-9f13c6ec765d Best regards, -- Neil Armstrong