Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5095138pxb; Mon, 15 Feb 2021 09:19:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzx25ATMhNx3ndLzc+R4nUAlIpA7qZanWozim1yNBOpONa6DEVNiZMJENMyIQq8wuP6AShS X-Received: by 2002:aa7:de82:: with SMTP id j2mr16720521edv.313.1613409558532; Mon, 15 Feb 2021 09:19:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613409558; cv=none; d=google.com; s=arc-20160816; b=TECtY2B68BAQFNTHgNmexwOKWbeYleKWdXgsIGh44/vQ/PWM49KSr4fKb0mVyVt0hu sbeMJwk/A7gyyt3yT5UhlLZ5BgxMfMa/bO13CIDO8JdhGLmf0ryasUvNw2JZ2KuRUzPL yCwN1e4BEpjFj6Edyxg9ZNqBKrmeKBAhjlAWVtGdNlghwYBuEEW03oP4kV6tL9FFYTmY Vuq/rbTkSJ9RrALUvTffSYTAMyMk6o0l0obI8nvQesHPrGJPDhxUjNvYzV8AvuaIq8Yq tWgBFuOmMAH9QN+3xMb+DbMKoeF+4q3oYdYGcdoAWrB8Z0REois9VloAI9Hl9iM8U1Br YM/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=1+kGOMGd1d/MBVnCA0MIE1Pn6M/9wTI1CUdsAWwlpuA=; b=pYoY645jxc9exXIL2mxrYf5S73wEatDXG8IHJTyT6cFkHJuJVnxtEkQSrql1o/6pUY XyLJRptYyO11Z4evzlHdAuKpU8v/UX8BwHZWWiUgVKViPp8SpiY+ARvN1xw5JNiuQGhB t0v6gtryDrF8miVQiDJ7VYqI47AlAWnjeXVwn5O4oAmoHe5FgyDTg7BEsI+KCADJNnjN 0q+PDFxxX+ZgCSvdRThFDOgBv4jkBYOQNooCbLL4EsPmzGm8ErX7prbKJ4xAQCe9xwet iPykiGvR/M1pvLAQF0Fi4q3w2ilYQ7xg+G1vzMD0tji/OeM7vPCGKU85kY/gWZagGgKH +2Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si12521828ejd.156.2021.02.15.09.18.54; Mon, 15 Feb 2021 09:19:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232002AbhBORQL (ORCPT + 99 others); Mon, 15 Feb 2021 12:16:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbhBOQLd (ORCPT ); Mon, 15 Feb 2021 11:11:33 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F74FC061786 for ; Mon, 15 Feb 2021 08:10:49 -0800 (PST) Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=[IPv6:::1]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lBgSS-0001lW-J3; Mon, 15 Feb 2021 17:10:44 +0100 Message-ID: <21810344a6b3659e2084727a9e7950133bf294ac.camel@pengutronix.de> Subject: Re: [BUG REPORT] media: coda: mpeg4 decode corruption on i.MX6qp only From: Lucas Stach To: Sven Van Asbroeck Cc: Philipp Zabel , Nicolas Dufresne , Mauro Carvalho Chehab , Adrian Ratiu , Fabio Estevam , linux-media , Linux Kernel Mailing List Date: Mon, 15 Feb 2021 17:10:43 +0100 In-Reply-To: References: <20210203163348.30686-1-TheSven73@gmail.com> <804285cff81878a2c188d1b823182114f891ca38.camel@ndufresne.ca> <20210211143233.GA1360@pengutronix.de> <10bfc6f5aaa02ad5858186ccee1894424fc0dd39.camel@pengutronix.de> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3 (3.38.3-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Montag, dem 15.02.2021 um 10:54 -0500 schrieb Sven Van Asbroeck: > Hi Lucas, > > On Mon, Feb 15, 2021 at 5:15 AM Lucas Stach wrote: > > > > The straight forward way to fix this would be to just disable the PRE > > when the stride is getting too large, which might not work well with > > all userspace requirements, as it effectively disables the ability to > > scan GPU tiled surfaces when the stride is getting too large. > > Thank you for your very knowledgeable input, really appreciate it. > > I am wondering why I am the first to notice this particular corner > case. Is this perhaps because X+armada plugin allocate a huge bitmap > that fits all displays, and other software frameworks do not? Are > people on i.MX6 mostly using X or Wayland? If Wayland allocates a > separate bitmap for each display, this PRE bug will of course never > show up... Yep, I really doubt that there are a lot i.MX6QP, multi-display, X.Org based devices out there. While it's not anywhere in a protocol or similar fixed API, Wayland compositors mostly opted to have a separate surface per display. The weston reference compositor started out this way (as it makes surface repaint easier) and other followed the lead, so Wayland based stacks won't hit this case. Regards, Lucas