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: 11480941 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 26E60112C 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 03A9F2078E for ; Wed, 8 Apr 2020 21:33:59 +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(-)