From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796120815; b=z2NVlZlh1HrZAO3fclaAs3yfjsH2Ea6aIcTlRNVjutusd9BDbk1o441SmdvSGxtvVPBc t3nJZdes6IFJMvSqSqUaTTwusFTKcjzwHOnEedqMtH8D5t+sReNG8RQ21cNbP53LDcd1s mS99ImFNEbEFh4TLjbUxX9tUA4ZX3ScoKfwExuwtobWByE7J2JDJTcBy8xRfNpzd6tMTP V4v/Pi2QZ++7nFM6D9mA8mXU2Nyp8BHypDCLmqAvt+FTtrHDBuLLF9ONbr0CLV4oIFQ3c JwDqo7gvqx343y6qXlpKNy0sBSZYrA5RDUSYCLa05Lkd2Cdi3nNM4wFUCQR2TVIbDng== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796120815; h=Received:DKIM-Signature:MIME-Version:Content-Type: Content-Transfer-Encoding:Subject:From:To:Cc:In-Reply-To:References: Date:Message-Id:X-Mailer:X-Developer-Signature:X-Developer-Key; bh=lvIFGKPGVuBaVB8rUvi95LDJRa8MA9ztiQYzpAWX+P4=; b=M74G/ZYlJmiQYeSJd2lt14MCtXyLDPHp8nBasFEdE0RwEZ0EJmRhUa84EDpwLcTGWRYK ZqgecI9nv22g+uFcOCsKd9a7n8ND2wqEcos12gorITT4X7O6PHbCJxqJWivCyJH7El+cv s+sENC4b7UWUCYVGYfQCk/91Gur1ZL8cmvw6WBb1X3yOAy9A+BTTU67Z1AwzNMPT7BeQg zS6dquMBU2vp89wUKXKwQGOf46U7z+WrSAjhaVbwaeaDQ/p3uBquhGed/2mosLcka4oyx auvOI2XdhEmKov2S11e7i8zvVCaWjD91niaopnG0j0VUWE/q1OCEO0An+8IIzCzcA9Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NMNGK+f3; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E47E606A31A; Tue, 1 Dec 2026 10:26:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NMNGK+f3 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B77161F000C1; Tue, 1 Dec 2026 10:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796120815; bh=lvIFGKPGVuBaVB8rUvi95LDJRa8MA9ztiQYzpAWX+P4=; h=Subject:From:To:Cc:In-Reply-To:References:Date; b=NMNGK+f3QWA+qWAR00n2wLkoO6P6vd9acRtbumXKHwKzjBuqckzwDEvCgqaz+CK6N CMPO1AL/kEvJ8FRLJtcwdrzTUYt7M224PTtVUNeJHUXSIxAuiMhCZ6deaOD3aebRq2 fMvUWkJyTAP1oqk3qMkpwZPoI1NiO5+k2uNEObXhzI2G3AoZLQo1P09fYx5pYjYiyB HogWG0rQzBmEeqDakHfGAVlkrJEiZ9/U1a0i8NB3kLLKoI1FH630tBlDpFTeayu0s2 /045KoDGUe6nOpDaIP4eN2He2ey/qbVbTfR71BcyeGB5mpMD4MKmWS8M3qVjQhr5A1 mhGGSu4dHAZIA== 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 Subject: Re: [PATCH v3 1/3] media: iris: Skip redundant decoder input config params From: bod@kernel.org To: Vishnu Reddy Cc: Vikash Garodia , Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Vedang Nagar , Hans Verkuil , Stefan Schmidt , Hans Verkuil , Deepa Guthyappa Madivalara , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue , stable@vger.kernel.org In-Reply-To: <20261125-fix_dec_seek-v3-1-66c9889def2a@oss.qualcomm.com> References: <20261125-fix_dec_seek-v3-0-66c9889def2a@oss.qualcomm.com> <20261125-fix_dec_seek-v3-1-66c9889def2a@oss.qualcomm.com> Date: Tue, 01 Dec 2026 10:26:49 +0000 Message-Id: <179612080945.1465785.14895887780579154621.b4-reply@b4> X-Mailer: b4 0.17-dev-cdd92 X-Developer-Signature: v=1; a=openpgp-sha256; l=1633; i=bod@kernel.org; h=from:subject:message-id; bh=/qSJyByPVJgq1fIOGeXjuY6MgG8AZyj2aWWozl5eYP4=; b=owEBbQKS/ZANAwAKASJxO7Ohjcg6AcsmYgBrDqDpKSzkTwsWO+gXAsOeNXWLglVwFf/JpOYQs tiI51NbFvSJAjMEAAEKAB0WIQTmk/sqq6Nt4Rerb7QicTuzoY3IOgUCaw6g6QAKCRAicTuzoY3I OsQ8EACqLZGPcriqYPvQqXxjvaq0jAAbT6jJDBWeO5cZpgP4XTahB6Fhw49bTBCgWhpWuOb/+or GsjWaY58GYnHMSJjRe651DwBNOkzqzSnTToZGn74zWDZ4wQ8MqXREVFSjpbOxFxpHCC/hYSHWcx hE9RB1MFmaCsO2dkCw6r6tGm6uxHUVSLvhqBToc9tBjY5/IujGEzTEVy3XyWN0As8C2ZiVGBx3c aT0M89Jdk6FPikMvcVL1tJgfa8JTxsFBL+GFYoxjjbP0jJUDG+TvmFbWO+leIo6sq7HOXy8zerv mTtZOuyAd6BzGpn2COLJgb/DEfiRAYaBT8EkJN78Pw0q+7sMrQJqrKmSIsK6yiKI3tMSunUqE57 6UmcHqwMbrE0ZqRnfc+1X5THY+pMvtNvrZONzfjIo2MWjWH19qTfewzSKWpE3rUAd2A5UkVHlD8 p6buc4OgPxHsS2cQgIQ52T1sHRl4KJCJlqqUBfUuvt795BGUYstSDt5dOgY+Z6+nBvJvFNWDg0M gZ5gg27BIX3xGUpJIix12y5FDuW8BC8TiymQvKmk/JgX6RJ6o38AxKNJoM3MYetpeWgIDE6hmnJ 0zU6JdJwoduYh5dhxTigyibsAgtPOfxZygdj8+P1awhhqJ/LBq59e/eRt4DG5R3r1ZhkWUjJ5tH Y9ruGVzVb4nX9TA== X-Developer-Key: i=bod@kernel.org; a=openpgp; fpr=E693FB2AABA36DE117AB6FB422713BB3A18DC83A On 2026-11-25 11:10 +0530, Vishnu Reddy wrote: > When a decoder session starts, the driver sends the input configuration > to the firmware on streamon of the output plane. This includes the > aligned frame size and the default property settings. The firmware > parses the frames and raises an input port settings change (IPSC) event > if the stream properties differ from the programmed values. The capture > port is not started at this stage. The driver forwards the event to the > client as V4L2_EVENT_SOURCE_CHANGE. When the client then streams on the > capture port, the driver resumes the input port, starts the capture port > and decoding begins. > > On a seek, the client stops and restarts the output plane. The driver > sends the same aligned input configuration and the other input > properties again on the same session, and the firmware raises another > IPSC event. No PSC last flag is sent after this, as the stream > properties are the same as the ones already running. The client keeps > waiting for the last flag and hangs. > > As per the firmware, the input configuration parameters must be set only > once per session, and not on every stop and start of the input port. Skip > sending the decoder input configuration once the input port properties > have been programmed, reusing the existing ipsc_properties_set state. > > Fixes: 025398e9121c ("media: iris: subscribe parameters and properties to firmware for hfi_gen2") > Cc: stable@vger.kernel.org > Signed-off-by: Vishnu Reddy Reviewed-by: Bryan O'Donoghue --- bod