From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 0021A606A31C for ; Mon, 30 Nov 2026 18:32:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=srxyxujA; dkim=fail reason="signature verification failed" (2048-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=mail header.b=HBjNxQ71 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=xppRMxhSRSOF2bBn41dYH+jTSuD0JAtJXpHZkfzNJiw=; b=srxyxujApBmy1Phsqm5rfO0lO/ ilA4nGJvU4ujm976Zd+5IhV/pvsyzjRsb9HResA92eO88hpZqs5iegTheW+LhNRE4pejsZnULb63A 7bk1nVvGkqhgccOX6+aQdX9G442druRCE03a5voDuRW8muBkMxi39pSLrMZRaceEvSsrbmEgmb8Sc 0gfKAszI8wIqGC779gcWALRogWEjwBC2zDnA2F+v1K9nQrfGdDicbOEx7nEmCLcNafoOnJn7Mee/Z lRRSoA5xbQle3jayjvmtxYKzWw3L8Hn23VIge0pvWAlJFDzB6PT9EAPlU/3cph3BGwPOxLEmZBDcE y5coe5Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY6AY-00000005dO0-32DS; Mon, 30 Nov 2026 18:32:06 +0000 Received: from bali.collaboradmins.com ([148.251.105.195]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY69S-00000005cbp-0CaG; Mon, 30 Nov 2026 18:31:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1796063456; bh=DywVOL9i4HFGptbG6R0I81ajkI7ltAdWIq4qwwivuN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HBjNxQ71e3rW4rVoOMhfiqR7gTXko7ofoPfQ1ai9b8U1JCQgiS+R61KQemVw97MgJ fcw9n51Dob93bl3l3/+DnkbcylIcIyH4QjHeoJ05YTPZlWjGNqV71qtRqmmlzTh2Fs OsTVulJAjAupOZvPtE3i0PBU49P5gtyJYOBPPzGzb0OZSMZDLjJbN/b4emNJ50uutT dm5DbX7tOdbAdljAVqQOOBSOF0H8dhfx7BoC4O1dPsN7mkS61zAoTqnULo5x/IZIe0 lUVdTqhAVS4VqhA5ooj1DxEtoOboXDwdiPpZC9vgbRarsov3pC0BttM+U3EnmIirfA r/lUxjl+IcVSg== Received: from nicolas-x1.lan (unknown [100.64.0.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nicolas) by bali.collaboradmins.com (Postfix) with ESMTPSA id 1660F17E1311; Mon, 30 Nov 2026 19:30:53 +0100 (CET) From: Nicolas Dufresne To: Neil Armstrong , linux-media@vger.kernel.org, John O'Callaghan Cc: Nicolas Dufresne , Mauro Carvalho Chehab , Greg Kroah-Hartman , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] media: meson: vdec: reset the VLD before H.264 decoding Date: Mon, 30 Nov 2026 13:29:41 -0500 Message-ID: <179606297698.348956.8963401318959501867.b4-ty@collabora.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261024174436.1835068-1-johnocallaghan@gmail.com> References: <20261024174436.1835068-1-johnocallaghan@gmail.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_103059_122913_901139A0 X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-6.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Sat, 24 Oct 2026 18:44:36 +0100, John O'Callaghan wrote: > The H.264 decoder outputs wrong luma until the second IDR picture of a > stream. Chroma is correct. The top-left macroblocks of the first IDR > picture hold garbage that is different on each run. Intra prediction > spreads the error over the picture, and inter prediction carries it to > the following pictures. > > vdec_1_start() resets the VDEC1 blocks with DOS_SW_RESET0 before it > powers on the VDEC memories with DOS_MEM_PD_VDEC. The VLD then starts > in an undefined state. The vendor driver resets the VLD, IQIDCT and MC > again in vh264_prot_init(), after the memories are on. This driver > does not. > > [...] Applied, thanks! [1/1] media: meson: vdec: reset the VLD before H.264 decoding commit: 5dd69896fe03765759439cc790874cd537385e1c Best regards, -- Nicolas Dufresne _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic