From patchwork Wed Apr 8 21:33:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 210248 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2780CC2D0F4 for ; Wed, 8 Apr 2020 21:33:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C2241206C0 for ; Wed, 8 Apr 2020 21:33:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fdCK9KNP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730680AbgDHVd6 (ORCPT ); Wed, 8 Apr 2020 17:33:58 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:43705 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729222AbgDHVd6 (ORCPT ); Wed, 8 Apr 2020 17:33:58 -0400 Received: by mail-lj1-f196.google.com with SMTP id g27so9251532ljn.10 for ; Wed, 08 Apr 2020 14:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=FfmcLu7OaNG5my17Bb1bWpc03LxeJJ91Gr/SWFxHfKY=; b=fdCK9KNPorKg20SE98S/pwHuRJ45w86pgp/d1PdPGgjyxPDJU7n4PxSO1AzW1ZFOzS BjDGZ4JZ34OVZJSxHZOFbXkF7CVk8LsCm1YOVv+uP9mlzH1kCxiRFkt5TzxVTkVTweZ4 aQP+5QpWjj7WCBwvx/iEC7GWoizXMpwJB1jyDtEq8ix3+ZFxqWMI8k1LEcDQ4OIPQqgA VK19UmeLEl+ui7w5ZF3EYOaKgSS0I/zF2yM5DRk4p52vRAA/726/XTeLIUlxnakaHd0U VaSW4heO3tTeAipqaby7ZT1G3DtLWbkZdgL0skMnJSdYStSSxPRwVdKyUNlWr2FZjJd8 D95A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=FfmcLu7OaNG5my17Bb1bWpc03LxeJJ91Gr/SWFxHfKY=; b=SyQmnyfA6OjORjIv0DxTBv8LbxsIhh+ssd1HO40xzfb8mYyZ3Xqnn+rlLwHv/oRxRK ohTcdZOdFxx+FoRsLFDl944Arum6BZEEcCkgRVAeernMlaKmHBiClGY990SipuRXqVaw fmkeedHJeJquDb9Djxo11SDGa+Qlxo4WWQzah7vkpDiDScZbJeCeeMo9b3+p7p2h3P0/ XEdS3kmHe9aykg9pPjcup1lO9wjbKIGvLuV4ilcxQVWSRgJwOvotz9VJHOT7lHZekQor m3pt1fWpQszyxzEdoN9mOERHLMWrk8uGZQGR/fLZBz5UOSDCfs6gbQiKOoBapguudPqX XVAQ== X-Gm-Message-State: AGi0Pub18X2kWQ5aLfK2kJkjp5Rwq0X8E3D+FpT8P0qJCRlCd4SsF1Ps f1mWRWPBzwssCevbXgkqpXGVsqzl6ho= X-Google-Smtp-Source: APiQypIpB2e2ViIL0CCnYA4oVkvhs/yNpUwKFGColwjFzRfm4QOmlrGRqt9fD3677H7kyMyuPa9D0A== X-Received: by 2002:a2e:b8c1:: with SMTP id s1mr6507942ljp.0.1586381636370; Wed, 08 Apr 2020 14:33:56 -0700 (PDT) Received: from localhost.localdomain (212-5-158-138.ip.btc-net.bg. [212.5.158.138]) by smtp.gmail.com with ESMTPSA id t6sm15746688lfb.55.2020.04.08.14.33.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2020 14:33:55 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vikash Garodia , Stanimir Varbanov Subject: [PATCH 0/7] Venus Codec API addition and few fixes Date: Thu, 9 Apr 2020 00:33:23 +0300 Message-Id: <20200408213330.27665-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, Here are few fixes found during testing and one new addition related to decoder dynamic-resolution-change Codec API requirement. Please comment. Stanimir Varbanov (7): venus: core: Add missing mutex destroy venus: core: Fix mutex destroy in remove venus: core: Constify codec frequency data array venus: helpers: Done buffers per queue type venus: vdec: Mark flushed buffers with error state venus: vdec: Init registered list unconditionally venus: Mark last capture buffer drivers/media/platform/qcom/venus/core.c | 6 +- drivers/media/platform/qcom/venus/core.h | 5 +- drivers/media/platform/qcom/venus/helpers.c | 18 ++++-- drivers/media/platform/qcom/venus/helpers.h | 2 +- drivers/media/platform/qcom/venus/hfi.c | 10 ++-- drivers/media/platform/qcom/venus/hfi.h | 3 +- drivers/media/platform/qcom/venus/hfi_msgs.c | 2 + drivers/media/platform/qcom/venus/vdec.c | 58 ++++++++++++++++---- drivers/media/platform/qcom/venus/venc.c | 2 +- 9 files changed, 80 insertions(+), 26 deletions(-)