From patchwork Fri Nov 20 00:10:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 69161 Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1kfu1E-00202w-Hd; Fri, 20 Nov 2020 00:11:17 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725843AbgKTAKx (ORCPT + 1 other); Thu, 19 Nov 2020 19:10:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726118AbgKTAKw (ORCPT ); Thu, 19 Nov 2020 19:10:52 -0500 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37736C061A04 for ; Thu, 19 Nov 2020 16:10:52 -0800 (PST) Received: by mail-ej1-x641.google.com with SMTP id gj5so10446985ejb.8 for ; Thu, 19 Nov 2020 16:10:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7dG0dg4E3NLlKUFNDbFJJFxzbQvFvgfvzbTLirmjNk4=; b=i8GUgZ5XXzaDNy811FBeq9/DdfF5OWAgeDJDJmcZiq9KhFIo1tNWkdVosgQ1BkN/Dq yzxWnA2w2+bGqyIJ3dzGPf8T9uiFHq1pjKgRqb/jgMH5ZJtut++ejYtayHvfclowlhZR DDNsq0PCzHC14EfgviGiflnDaQdHcuTcMJWkqiWG2ePa1OTYbi7j348s5eIEfCaczNkR EZrzeIFGBoRyCKMOaTCBypxl3lq5wGSD0rGPtrkAGs4lcoKnupnB0EnpQr9kMpEnYsqH tQXQj/kUZ1kNTsG15pZEbUxMiMd32weR2WJ5eKB4RCuSlhR5pjz2bGGw6Zda5yHL7WCk xl7Q== 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=7dG0dg4E3NLlKUFNDbFJJFxzbQvFvgfvzbTLirmjNk4=; b=gyuCAMXKX8gH1gIOWES8Paa/welDPyyv3wlI+M30Hn0SSekP+CVzbiFknxRo+Gn/x1 DxT9dw/r+T+VwHt9him2q5fxIXsl9Y9je1BGcouwr9+wEwzZzTbLRCMom1FUNUek8lDt gzVm1z/bd1qRGhB9Veet+tX0o/ty5IxB374zGiEzOHeWCKDeMEQi5z/2kR7HpW+QIAGf 7Io9yMvq+ixj0t3r6JNtNCP1xw/Qy0VmkxMVul+MvWcU5Pd73/0cFNPkcpItr8js1hzf dWO2IEZAM82l7Dt+f9eMluR6b63Zznq+7/6RQOl19R8HDTVpmD5UOMh4utJc28ZIiXV1 tonQ== X-Gm-Message-State: AOAM5326SnZQTuqu8ea+vJ52N++q0zia81tGXLKTPVo6n51eKGCyCfAS AVW1QPvWnny1P9P6VLGgT5IbkwAgw/RN7PoE X-Google-Smtp-Source: ABdhPJz4wSwCpoWSimdFX3rb6VO9QZZLwOIpG3VZbypdf2mZjHX3BdpMPferAgvq2Ep9LxytE0gq7A== X-Received: by 2002:a17:906:5841:: with SMTP id h1mr29897557ejs.342.1605831050673; Thu, 19 Nov 2020 16:10:50 -0800 (PST) Received: from localhost.localdomain (hst-221-4.medicom.bg. [84.238.221.4]) by smtp.gmail.com with ESMTPSA id k23sm383556edv.97.2020.11.19.16.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 16:10:50 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Vikash Garodia , Mansur Alisha Shaik , Dikshita Agarwal , Stanimir Varbanov Subject: [PATCH 0/3] Venus encoder improvements Date: Fri, 20 Nov 2020 02:10:34 +0200 Message-Id: <20201120001037.10032-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no Hello, Here is a series which aims to improve encoder staility. * 1/3 makes encoder init session to be issued only once. * 2/3 refuse to open the encoders/decoders session beyond the limit * 3/3 forces firmware to raise soft interrupt when acknowledge a synchronous command Comments are welcome! regards, Stan Stanimir Varbanov (2): venus: venc: Init the session only once in queue_setup venus: Limit HFI sessions to the maximum supported Vikash Garodia (1): media: hfi_venus: Request interrupt for sync cmds drivers/media/platform/qcom/venus/core.h | 1 + drivers/media/platform/qcom/venus/hfi.c | 19 +++- .../media/platform/qcom/venus/hfi_parser.c | 3 + drivers/media/platform/qcom/venus/hfi_venus.c | 74 +++++++------- drivers/media/platform/qcom/venus/venc.c | 98 ++++++++++++++----- 5 files changed, 133 insertions(+), 62 deletions(-)