Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp3625695imm; Mon, 2 Jul 2018 02:33:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJIlxrjuGQENsBL4RQNQOJtvUGceZv24OWbMNtfdqqfSDpwzGX9MLDS5/H4k0QHorBbo/UN X-Received: by 2002:a17:902:b48f:: with SMTP id y15-v6mr25290254plr.261.1530524037334; Mon, 02 Jul 2018 02:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530524037; cv=none; d=google.com; s=arc-20160816; b=x23O7A4ly62bawp36KH/mqXmKUhevUFd9PwwE7acvoSN+xR+uO1b2Atvk7W07wESX1 pxa6EILWSRApVv8htNYEwqd2X9ZSKlKsqs6I5txw9w86fZtafrU0shUOiDab+ZtD/FDE aKl+bR32i8vjJ2T+9b6tttPDrPtNpSjGJdqmHWvzWt4Q4zd7WsRoIW3i0SHgd8KDZBuV EpM722Bp6FNGozs7rHjd5+w4XQWZz44Ihj5VsC0vuJM4IlH0bVFopRaw/Awz8Bv8fefP 0/VwkMeE2ExGIiwr/3HNiKqI1IyeoXsKDyQWuYQBnJLSkKzDlK+yLwpk+FiX/Ki6IO17 /JGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=/MLqTGVMr81t/6rlNmBVApRztnXvLHWrIRmByS7RlnA=; b=PTmspmDnDgvci9IqMegPYBBbReD9VRGQwrkDs+oCXjM24oas773Uf+19nh4b4Tobq9 IpNu2QC4X7CLKzmKXcQQUUwWcvWmXxIlMEDdgE/4DLnLmBt7KM8QfwskH/159gRSSc4z WUyJxy/4A6x4qj76HqhZ/VmDdQZnbrHILDala1APx2hXZ/nUC1wI6OVjSr9GwEbnzbx2 ga960ZPy/m7wA06kV3fXRUUeH1mbkl0/hk6Q6lvRs7gMwBVN6ecyEwNYLlinGWU8fEFf tVLDvxpHqY43AuIQ4MmycWXjUqe3kHOJRccBQR3LZN/Im2T1dmZqcCJMr6+km3hw0RjC fqHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mHFKbZYC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e17-v6si13905681pgo.144.2018.07.02.02.33.42; Mon, 02 Jul 2018 02:33:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mHFKbZYC; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754172AbeGBIpn (ORCPT + 99 others); Mon, 2 Jul 2018 04:45:43 -0400 Received: from mail-io0-f195.google.com ([209.85.223.195]:46827 "EHLO mail-io0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753314AbeGBIpj (ORCPT ); Mon, 2 Jul 2018 04:45:39 -0400 Received: by mail-io0-f195.google.com with SMTP id p7-v6so1665615ioh.13 for ; Mon, 02 Jul 2018 01:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/MLqTGVMr81t/6rlNmBVApRztnXvLHWrIRmByS7RlnA=; b=mHFKbZYCi6mUqm9Juts9Csmny5N8OcAiVQIIv32SIRAxzm8atWX2G1pnyqcFAR+WNQ 5Sj1jckrkGMDWgGFKV0Wt8xTaRXEU7KWFHqdS5EpNFXGz9aASa2RMpCtfJlI7pGEGF5k TqR39e8Lr801zO52QFwjySU33juE4UkCAfeGQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/MLqTGVMr81t/6rlNmBVApRztnXvLHWrIRmByS7RlnA=; b=VaI8yln4aYSESCM28ajUedLz/L2U+kDaXTHVpADhluixzSe+utXGpwHRWZloOQoPNz PQN1FqyhKSOL3TKI+nmtWSem5l76hHO6K9v7Jz965XfagGpyFL/V9sxxYthCp5a6FwMZ hqKK8yCghhNOh0B7XLQ5HfYwpRBR8abGhqZMXOVcHZrDe94tZGwn/2r039KMKKY2dnx8 +dbPLyW6Vbz7VJlkGnoGe0TmTuU0NKE/Fw2HiZ29bcaiZulTsFI4Ah7V5t8rSdBE1SKa YXeBZwio6xcqey35bcQ4J7XPGgPFIXdaKCQ2TKnI4w4IgSBcIEOMgW26sLgtgmDDF2tP 74Kw== X-Gm-Message-State: APt69E1OYDLTbhdyCr8THPKKvxkvs4pPf1HmMwu0QFgqYQfft16+gtDw 6cxxMcBZrMspA7yiLV1cRMHNj1bdddY= X-Received: by 2002:a6b:b010:: with SMTP id z16-v6mr20000405ioe.206.1530521138554; Mon, 02 Jul 2018 01:45:38 -0700 (PDT) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com. [209.85.223.181]) by smtp.gmail.com with ESMTPSA id b4-v6sm1897824ioh.79.2018.07.02.01.45.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 01:45:35 -0700 (PDT) Received: by mail-io0-f181.google.com with SMTP id d185-v6so14045622ioe.0 for ; Mon, 02 Jul 2018 01:45:35 -0700 (PDT) X-Received: by 2002:a6b:3b87:: with SMTP id i129-v6mr12367079ioa.86.1530521135269; Mon, 02 Jul 2018 01:45:35 -0700 (PDT) MIME-Version: 1.0 References: <20180627152725.9783-1-stanimir.varbanov@linaro.org> In-Reply-To: <20180627152725.9783-1-stanimir.varbanov@linaro.org> From: Alexandre Courbot Date: Mon, 2 Jul 2018 17:45:24 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 00/27] Venus updates To: Stanimir Varbanov Cc: Mauro Carvalho Chehab , Hans Verkuil , Linux Media Mailing List , LKML , linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, Tomasz Figa Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stanimir, Thanks for this very well organized series and sorry for not giving feedback earlier. I have tested this version against the 4.14 Chrome OS kernel tree (+ a few extra changes to comply with the codec API) and it was working flawlessly. Therefore, Tested-by: Alexandre Courbot For the whole series. I have a few comments/questions on some patches, would be great if you could take a look. Also wondering what is your plan regarding codec API compliance? Do you plan to integrate it into the current series, or work on it after merging this initial work? Both ways would be ok as far as I am concerned. Cheers, Alex. On Thu, Jun 28, 2018 at 12:27 AM Stanimir Varbanov wrote: > > Hi, > > Here is v4 with following changes: > > - fixed kbuild test robot in 12/27. > - fixed destination of memcpy in fill_xxx functions. > > v3 can be found at https://lkml.org/lkml/2018/6/13/464 > > regards, > Stan > > Stanimir Varbanov (27): > venus: hfi_msgs: correct pointer increment > venus: hfi: preparation to support venus 4xx > venus: hfi: update sequence event to handle more properties > venus: hfi_cmds: add set_properties for 4xx version > venus: hfi: support session continue for 4xx version > venus: hfi: handle buffer output2 type as well > venus: hfi_venus: add halt AXI support for Venus 4xx > venus: hfi_venus: fix suspend function for venus 3xx versions > venus: hfi_venus: move set of default properties to core init > venus: hfi_venus: add suspend functionality for Venus 4xx > venus: core,helpers: add two more clocks found in Venus 4xx > venus: hfi_parser: add common capability parser > venus: helpers: rename a helper function and use buffer mode from caps > venus: helpers: add a helper function to set dynamic buffer mode > venus: helpers: add helper function to set actual buffer size > venus: core: delete not used buffer mode flags > venus: helpers: add buffer type argument to a helper > venus: helpers: add a new helper to set raw format > venus: helpers,vdec,venc: add helpers to set work mode and core usage > venus: helpers: extend set_num_bufs helper with one more argument > venus: helpers: add a helper to return opb buffer sizes > venus: vdec: get required input buffers as well > venus: vdec: a new function for output configuration > venus: helpers: move frame size calculations on common place > venus: implementing multi-stream support > venus: core: add sdm845 DT compatible and resource data > venus: add HEVC codec support > > .../devicetree/bindings/media/qcom,venus.txt | 1 + > drivers/media/platform/qcom/venus/Makefile | 3 +- > drivers/media/platform/qcom/venus/core.c | 107 ++++ > drivers/media/platform/qcom/venus/core.h | 100 ++-- > drivers/media/platform/qcom/venus/helpers.c | 555 +++++++++++++++++++-- > drivers/media/platform/qcom/venus/helpers.h | 23 +- > drivers/media/platform/qcom/venus/hfi.c | 12 +- > drivers/media/platform/qcom/venus/hfi.h | 10 + > drivers/media/platform/qcom/venus/hfi_cmds.c | 62 ++- > drivers/media/platform/qcom/venus/hfi_helper.h | 112 ++++- > drivers/media/platform/qcom/venus/hfi_msgs.c | 399 +++------------ > drivers/media/platform/qcom/venus/hfi_parser.c | 278 +++++++++++ > drivers/media/platform/qcom/venus/hfi_parser.h | 45 ++ > drivers/media/platform/qcom/venus/hfi_venus.c | 109 +++- > drivers/media/platform/qcom/venus/hfi_venus_io.h | 10 + > drivers/media/platform/qcom/venus/vdec.c | 326 +++++++----- > drivers/media/platform/qcom/venus/venc.c | 220 ++++---- > 17 files changed, 1694 insertions(+), 678 deletions(-) > create mode 100644 drivers/media/platform/qcom/venus/hfi_parser.c > create mode 100644 drivers/media/platform/qcom/venus/hfi_parser.h > > -- > 2.14.1 >