From patchwork Thu Jun 25 16:35:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 11625707 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9EC93138C for ; Thu, 25 Jun 2020 16:36:24 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6EB3C206C3 for ; Thu, 25 Jun 2020 16:36:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="us/Ni7yj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6EB3C206C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=IOL+40indu017s/z2ZpAxt0QEVy4eej4Odxs2i8cC3k=; b=us/Ni7yjH1W7UDWksmQdkst+8E GbRMPl1ADgD1bm30TPhXyUOu37yJzjeePm2MAD9T2BZij7VhegU5zPMmAu54NhTFNb5aKoL3jdTpI f4C2l/TGHapLm9gAF6EirPRWH14jr1kdeFmAWInEkuItkT9OEHI8PwjYCLOzIA8xDzFmU7rJR7C4H MkrNTy0UGjlG686TU1E+FLKFCrSIygFRGgqwcNlur/F/tiLRz5nuhnkiVidfhoACz49KJq49FohTC 5UhBrQzJfyf1etY0qX8ZGwaW19K/PaigCcQnpy8lmWvEMlrIjxUIZTOz8HJUSp2O9RtcetVoprANU aq8g9spA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joUrK-00063z-DK; Thu, 25 Jun 2020 16:36:18 +0000 Received: from bhuna.collabora.co.uk ([46.235.227.227]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1joUrI-00063D-PZ for linux-rockchip@lists.infradead.org; Thu, 25 Jun 2020 16:36:17 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 6C0BE2A572E From: Ezequiel Garcia To: linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] Hantro low-hanging cleanups Date: Thu, 25 Jun 2020 13:35:19 -0300 Message-Id: <20200625163525.5119-1-ezequiel@collabora.com> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [46.235.227.227 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hans Verkuil , kernel@collabora.com, Ezequiel Garcia , Philipp Zabel Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Tackle some low hanging items. There's not much to say here, see the patches for details. We'll be soon posting more interesting changes :) Thanks, Ezequiel Ezequiel Garcia (6): hantro: h264: Remove unused macro definition hantro: h264: Rename scaling list handling function hantro: Rework how encoder and decoder are identified hantro: Move hantro_enc_buf_finish to JPEG codec_ops.done hantro: Remove unused bytesused argument hantro: Make sure we don't use post-processor on an encoder drivers/staging/media/hantro/hantro.h | 9 +-- drivers/staging/media/hantro/hantro_drv.c | 60 ++++++------------- .../staging/media/hantro/hantro_h1_jpeg_enc.c | 17 ++++++ drivers/staging/media/hantro/hantro_h264.c | 6 +- drivers/staging/media/hantro/hantro_hw.h | 5 +- drivers/staging/media/hantro/imx8m_vpu_hw.c | 2 +- drivers/staging/media/hantro/rk3288_vpu_hw.c | 8 +-- drivers/staging/media/hantro/rk3399_vpu_hw.c | 7 +-- 8 files changed, 49 insertions(+), 65 deletions(-)