Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF7DEC636CC for ; Tue, 7 Feb 2023 11:16:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231327AbjBGLQN (ORCPT ); Tue, 7 Feb 2023 06:16:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231225AbjBGLQC (ORCPT ); Tue, 7 Feb 2023 06:16:02 -0500 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40C5622032 for ; Tue, 7 Feb 2023 03:16:00 -0800 (PST) Received: by mail-pj1-x1034.google.com with SMTP id hv11-20020a17090ae40b00b002307b580d7eso10782120pjb.3 for ; Tue, 07 Feb 2023 03:16:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HvYHv7yD/85q93tM+/wtSvqEBzYU9y0fUg24mVC4fvA=; b=Hw2z5yLwQdVTJL1/f5sxZVmnowqEyplmEF0qhc8eWNiG3WY6J4gRTWwq6/3dUCMunO eOdrBtj6/cOO3S3Jxxc9sbQJaLXaTgUsscbxFInnHceGCkuWUkPmBIgmr+OWpL0KCUH1 9+Vo5/DD1Yid+rbwUaGW6uwioee1Bsj7IDliC2QHMBZWIHTwdl/RoKdbbioQmOSKKK4V 7v0s7xaD3xwYvttpQRYQFcF6hJnAiiu/lHYJMOeei50Qnpv7GHC0BTvZEhCJ31rX3UPJ fvwExxJbND1gvWTHpEebB8Tui8KOq3UiXFT+PWuXSFEI4twJPVmvE8ZBGWKHZbcYkYav /x9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HvYHv7yD/85q93tM+/wtSvqEBzYU9y0fUg24mVC4fvA=; b=5SYMTnFDq2ij50hv95tnZV0fi3r8Wd3Qwo+AKJkzYLHkhobHrtbM4cGoRkQRt7pDlw aRP30trpgerF+DXa4N2bJUxLDxO9frq0SYXNpw7mbzfqEWhbCO9tmU4DB+wV9xWQmmwp IxSG6pzFnVv1eNA7NU1++/29gzyW0FvQmKEqheYZA4U2aVNgbFoFONmpcIziQnkEjdBv pZhyv+EXuI5QQfdZ+QlYhSKbjwJBrlNnyDCGuV+f4xTWrp4rXAj36r2WyeDqxLvCyv2x KT4SS3cxE94iqj49N+Ku6tAQptUSuG7JdW1Drh1yqm3U8FJ1SvG6k9gtq7aPvocEwKD1 Dfxg== X-Gm-Message-State: AO0yUKVSPVW+bbO9Nms0R4KmTkPkKLtK7q0BLXZVtuOjnRLNcwfuCQzI Dy7+ntEX9tp6g+yixoIzA2vCO33+zevy7TzoO+v2aQ== X-Google-Smtp-Source: AK7set9h5uuwTpjeufoAv64ypcC0Gz336pTIH+AFPXK/5RxCXuzs00HPIAeZZSuzWZ2Ce91kdT6ETj/dZ1xGqrxYcqU= X-Received: by 2002:a17:90a:6d66:b0:230:7f32:bf01 with SMTP id z93-20020a17090a6d6600b002307f32bf01mr871866pjj.1.1675768559704; Tue, 07 Feb 2023 03:15:59 -0800 (PST) MIME-Version: 1.0 References: <20230130105423.1338554-1-mk@semmihalf.com> <20230130135418.1604455-1-mk@semmihalf.com> In-Reply-To: From: =?UTF-8?Q?Micha=C5=82_Krawczyk?= Date: Tue, 7 Feb 2023 12:15:48 +0100 Message-ID: Subject: Re: [PATCH v2] media: venus: dec: Fix handling of the start cmd To: Vikash Garodia Cc: Stanimir Varbanov , "Vikash Garodia (QUIC)" , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mauro Carvalho Chehab , "linux-media@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mw@semihalf.com" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 7 lut 2023 o 10:54 Vikash Garodia napisa= =C5=82(a): > I have reviewed the patch, and the drain sequence handling looks good to = me. > Could you share some details on the test client which you are using to ca= tch this issue ? Hi Vikash, Thank you for looking at the code! I've been testing it using the Chromium implementation of the V4L2 codec [1]. Meanwhile, we were running a test suite which changes the encryption method in the middle of the video decoding. This triggers the flush behavior and the Chromium sends the stop/start cmd to the V4L2 kernel component, and the test expects the video to continue the playback normally. Unfortunately, it was causing a stall of the video at the same time. [1] https://source.chromium.org/chromium/chromium/src/+/main:media/gpu/v4l2= / > > > Thank you, > > Micha=C5=82 > > Thanks, > Vikash