Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1400695iol; Fri, 10 Jun 2022 06:50:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ2vGiXTxqkp17JzPZSOGSaeC8YoNtc5DIEOB8sr4NcKvxl+bDl/xwSnNSpGBFIpDUZ7Yq X-Received: by 2002:a17:907:94c6:b0:6fe:d71a:b721 with SMTP id dn6-20020a17090794c600b006fed71ab721mr40075274ejc.313.1654869031739; Fri, 10 Jun 2022 06:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654869031; cv=none; d=google.com; s=arc-20160816; b=pLGVdciZLJuEOvl7EfX0aJBHtlgxN1/nEkaQ3OG/KZ+dnY9Tih9ZcVZQhIrJdaDooV GLvvCNo5KkxJz5QZd9FjmtfvP98O35P0cui9zRMtbdKpwZh6I9pwqpbYvCkiZ+JsGnVW dcFhhvmJvX0j6DSDe/cRbu+nBv3dsHo8V8LwOkTvkybCCI/efM/EtjW+ThbWNuqdiReB pe66OnsbWzwxFKIvpM2RMh+GMez/kQRJT7X/MWiyWyvPmgiqYKFLRwkXGGPngEIFHBo1 Iiw798mPXMNrs0TVIyGr9HN8uiYCPFVmVnzoH2HEKrLQ1UrrzSE1fewVFz1uvxtqD/BH Z1hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ThS2ZX+jWbBVkmvEL2sJN08SKtOCiwWJvYP2H4efiiE=; b=z8qBfGqIXm9k98CI4pUJ17kr62K67Go+7gQP8ya1Vt/tXwVODpVt6QwbGXPz7l/Li7 fu8adds5hipOVkkDcvHZajiywFL7rgoCQhl49l4WFUaskzJhzJ10fvlmDZEetIML0wS3 4ttueP+zEInKh7lY5CDECZWXKpOoFJtA+lV11/1IjFChDrSU8bcxPMR2WpF4sEh50XKJ V+n9hvOnAEpHEaiqVNc3NIhLIYaiWGJFTFBrwLnRWUrUjSuO5hg0+hCe9GJ9bmVPWX7R LV4anrtfhr0+ne3YpWUBQu9W2SgLmHNVDkXi65OjHU6UfeqVX5hpmn98usgolayH31qO p+5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Jtfphsyb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js8-20020a17090797c800b00711f0dfb8fesi10697764ejc.599.2022.06.10.06.50.04; Fri, 10 Jun 2022 06:50:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Jtfphsyb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234619AbiFJN0d (ORCPT + 99 others); Fri, 10 Jun 2022 09:26:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242456AbiFJN0N (ORCPT ); Fri, 10 Jun 2022 09:26:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B60F41BE659; Fri, 10 Jun 2022 06:26:11 -0700 (PDT) Received: from [192.168.2.145] (109-252-136-92.dynamic.spd-mgts.ru [109.252.136.92]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 74DF76601724; Fri, 10 Jun 2022 14:26:09 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1654867570; bh=tT1jJ5a9K7KdBiLm8g0dOgTvRZsIIl3nYsCefhYiaKE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JtfphsybuNf9jwA62JOvrpW2KC2UX/VuEo7eJvFHDbDMDZ8+PS0O0oRXnNT+lEddW xUJe48C/W2diI+BjpeBTTJs0m+JXTWQGpzPx0q5nH4+VtM6AIolI5F95UuwVD29Uqv my99LRuc7hXy6LyBrgFglX+9HcT9bUoPE1NqOYvji8PkzuN7KXX4MoIVrXNB/k/Wx1 5ENAtraBwUS2yEZ4/hRQmA+npqJiZ/S53A/FUymrRKBZTxdPD3yvNRZrucGIILhbjK OXVMY3hRBSTzW3PxgwT6paWSPWS1Kpace4Nn2vKieWsXDdSKLQFRMJ+dlu8Wlu2tfb r7TpYKUWgVp4Q== Message-ID: Date: Fri, 10 Jun 2022 16:26:06 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v1 1/5] media: rkvdec: Disable H.264 error detection Content-Language: en-US To: Nicolas Dufresne , linux-media@vger.kernel.org, Ezequiel Garcia , Mauro Carvalho Chehab , Greg Kroah-Hartman , Hans Verkuil , Boris Brezillon Cc: kernel@collabora.com, Mauro Carvalho Chehab , linux-rockchip@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org References: <20220610125215.240539-1-nicolas.dufresne@collabora.com> <20220610125215.240539-2-nicolas.dufresne@collabora.com> From: Dmitry Osipenko In-Reply-To: <20220610125215.240539-2-nicolas.dufresne@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/10/22 15:52, Nicolas Dufresne wrote: > Quite often, the HW get stuck in error condition if a stream error > was detected. As documented, the HW should stop immediately and self > reset. There is likely a problem or a miss-understanding of the self > self reset mechanism, as unless we make a long pause, the next command > will then report an error even if there is no error in it. > > Disabling error detection fixes the issue, and let the decoder continue > after an error. This patch is safe for backport into older kernels. > > Fixes: cd33c830448b ("media: rkvdec: Add the rkvdec driver") > Signed-off-by: Nicolas Dufresne > --- Nit: won't hurt to add the explicit stable tag if you'll make the v2. Cc: stable@vger.kernel.org -- Best regards, Dmitry