Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp274049imm; Tue, 15 May 2018 01:15:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrDR1qtb7rXwIWu2G6F9OzRjsuc7Oxmr9wd3M+VB8nw0wJNw83Zk/9iQDG0bWto2Qij/62F X-Received: by 2002:a65:5a4a:: with SMTP id z10-v6mr6972063pgs.243.1526372149618; Tue, 15 May 2018 01:15:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526372149; cv=none; d=google.com; s=arc-20160816; b=CCLNhQsZdroZB9es/qV95uDW38ChU9DXe2ka7VUbVr1vsD9j3/4SE10+OWJLXH1BXX n63QzF2rHvf4Joiv8FwQFy8l9Pc7jOsm6HLnkPqiGwlyE88blhuSWS7M1mXvkDPD0t2C l6vLStsupE9SEr+K282avJMSEu3gAVjneJPwzZ/YnEIr1nLU7VDJ1zI1CFz9D2u9DUhx 4hu0tKgNDP03H5cjo/irEBefx67Tf8i3+VJw1Z63pozPi8bUfTidyMoZHnhrxylRATJa dXG5Dl6UpHb89OYXpd/FV3DVDiB4I3YTEJfvm4oquLiFtiHmzD1w12VfhvQQKqCxAub6 P1uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=v5Bq0U57mMmcfOVUDG5SbkJQdL1kLLXbTkPGQj1M4hs=; b=IQGHLh2W/ILkw1zGILk+scdEG2GdVlFI/a1r5JXzJw0823zqDy5UaVQ9D51Om1l5CB nZ8HC+DzVadQC9NxoMWs24R9RfBYzn5kFazvcaqH0tEn4T3JNtDWYpdybNxqgb0Q1cSO ASma5T00AhVXfFcyz2AoCt/o0jzZC1dDVuEKl/i7gcpE7Y2g7uy7Zul/syePvl1oQ7ej bigemB6Kdkww2svJHjoqcy8k1koVOfgfVD5rc3b92RK6whbBAuYwg1CZNMFsSmNmfiVf sJZoT2/GKtb7wrS6oPwLshyoSlUF4aQokX/EDx7aCAEBn3M1pHTHS5Pv4QejhKubR2s7 TIrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=epKvyUMu; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k64-v6si9037242pge.448.2018.05.15.01.15.35; Tue, 15 May 2018 01:15:49 -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=@linaro.org header.s=google header.b=epKvyUMu; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752357AbeEOH7b (ORCPT + 99 others); Tue, 15 May 2018 03:59:31 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:41918 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752097AbeEOH72 (ORCPT ); Tue, 15 May 2018 03:59:28 -0400 Received: by mail-wr0-f195.google.com with SMTP id g21-v6so14878742wrb.8 for ; Tue, 15 May 2018 00:59:28 -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=v5Bq0U57mMmcfOVUDG5SbkJQdL1kLLXbTkPGQj1M4hs=; b=epKvyUMubQOE98+QVx6R2ZMrd+cqmQi38fsL1qc0ysRSsCXNE0bOukSrrG0ue5DJHW ELpbpTxZxL7TgraVqhcHYscN/SMGMSuMCvnRIWz/RXNMBO2nzL/mO4lk6Wx32yBFRpsJ vr594wUVy7OYeGkztpUA/7BvSQehP75jKY8TQ= 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=v5Bq0U57mMmcfOVUDG5SbkJQdL1kLLXbTkPGQj1M4hs=; b=qrzei3kYs3vTsTLmQg74tC5w5Os2OHbwZyNuo6vYLugC5LGU73thDDUsHNf/Pdsiif /g3ucWLzG+OsUF+94tjTgPXcJDgndooYYsq/23w3Xxi9d5zm60fgpx4dPX3Tv1kOOyzn +amr68TY0EhFF27eigP1V6d8PB1DP9qxoxMN3mAasg/GVjLFcBn7mlvlbk4Vm8qLSGQl EQE8WIiuR/OiE5GGQTAOjeDXoaUUaTdvMqAA/GdA+nMsrg6UKJvwzMDaAavJRAeLnsLG rdTeQxUVAY83HWQVUh24QMOg95vlsF45/frUEkqWm44Xa9jv1U/Uec4KfFH+Q33xSKKy 0upw== X-Gm-Message-State: ALKqPwelvke8VYs9N+B331y5a7ex6sqGqj+Ue0JHTS1oWYYDEzhtnQGm 5Ua7mBAkkE5EK8OsMHCmJxAH8g== X-Received: by 2002:adf:93e5:: with SMTP id 92-v6mr9514841wrp.230.1526371167464; Tue, 15 May 2018 00:59:27 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id 4-v6sm10918510wmg.40.2018.05.15.00.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 May 2018 00:59:26 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Stanimir Varbanov Subject: [PATCH v2 00/29] Venus updates Date: Tue, 15 May 2018 10:58:30 +0300 Message-Id: <20180515075859.17217-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Here is v2 with following comments addressed: * reworked venus suspend 3xx and reuse it for 4xx. * drop 10/28 patch from v1, i.e. call of session_continue when buffer requirements are not sufficient. * fixed kbuild test robot warning in 11/28 by allocating instance variable from heap. * spelling typo in 15/28. * added Reviewed-by for DT changes. * extended 28/28 HEVC support for encoder, now the profile and level are selected properly. Comments are welcome! regards, Stan Stanimir Varbanov (29): 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: venc,vdec: adds clocks needed for venus 4xx venus: add common capability parser venus: helpers: make a commmon function for power_enable venus: core: delete not used flag for buffer mode venus: helpers: rename a helper function and use buffer mode from caps venus: add a helper function to set dynamic buffer mode venus: add helper function to set actual buffer size venus: delete no longer used bufmode flag from instance 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: new function for output configuration venus: move frame size calculations in common place venus: implementing multi-stream support venus: add sdm845 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 | 93 ++-- drivers/media/platform/qcom/venus/helpers.c | 558 +++++++++++++++++++-- drivers/media/platform/qcom/venus/helpers.h | 23 +- drivers/media/platform/qcom/venus/hfi.c | 12 +- drivers/media/platform/qcom/venus/hfi.h | 9 + drivers/media/platform/qcom/venus/hfi_cmds.c | 64 ++- drivers/media/platform/qcom/venus/hfi_helper.h | 112 ++++- drivers/media/platform/qcom/venus/hfi_msgs.c | 401 +++------------ drivers/media/platform/qcom/venus/hfi_parser.c | 291 +++++++++++ drivers/media/platform/qcom/venus/hfi_parser.h | 45 ++ drivers/media/platform/qcom/venus/hfi_venus.c | 95 +++- drivers/media/platform/qcom/venus/hfi_venus_io.h | 25 + drivers/media/platform/qcom/venus/vdec.c | 316 +++++++----- drivers/media/platform/qcom/venus/venc.c | 211 ++++---- 17 files changed, 1689 insertions(+), 677 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