From patchwork Mon Jul 27 17:05:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 65857 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1k06UV-00FTfD-P3; Mon, 27 Jul 2020 17:00:44 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729906AbgG0RFs (ORCPT + 1 other); Mon, 27 Jul 2020 13:05:48 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40196 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729902AbgG0RFs (ORCPT ); Mon, 27 Jul 2020 13:05:48 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 6D65C295CAB From: Ezequiel Garcia To: linux-media@vger.kernel.org Cc: Hans Verkuil , Philipp Zabel , Adrian Ratiu , Jonas Karlman , Ezequiel Garcia , kernel@collabora.com Subject: [PATCH v2 0/2] hantro: postproc related fixes Date: Mon, 27 Jul 2020 14:05:36 -0300 Message-Id: <20200727170538.32894-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.4 (--) X-LSpam-Report: No, score=-2.4 required=5.0 tests=BAYES_00=-1.9,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1,UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no Doing some more extended testing, we found a few issues when the post-processor is enabled (currently for color conversion). The two patches below should fix these issues. Changes from v1: * Undo the change to the comment about the MV and MC layout. As pointed out by Jonas, the layout is not generic, and depends on the version of the decoder core. For now, let's leave it as is. Ezequiel Garcia (2): hantro: h264: Get the correct fallback reference buffer hantro: postproc: Fix motion vector space allocation drivers/staging/media/hantro/hantro_h264.c | 2 +- drivers/staging/media/hantro/hantro_postproc.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)