From patchwork Wed Jan 9 08:46:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 155056 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp458198jaa; Wed, 9 Jan 2019 00:46:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Gw2SkoHnBpnZ/j2/1WV8uDe9xIQMG0TxwH/PjgfGB7hwwgBY3BnFJ3BxBBOPyQc0DEnoK X-Received: by 2002:a63:5f89:: with SMTP id t131mr4685856pgb.26.1547023605429; Wed, 09 Jan 2019 00:46:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547023605; cv=none; d=google.com; s=arc-20160816; b=oOPY/MhDUE68QNacJM9SCzyfK7N6XlCRIGIMNibLDZPP/2mGyrb+NjBpGiyyyDsPkj ZzBmCKJe/R6oTwTJqItuoQCsXKwxBCsjB1uNPgyfYk4gTjlU0GFX35MaWDJ7tJJBK1SN 4XETYyOR/rT8Y3Q9ace4KCb+PLc0tTei1REtokiS7TMhne4Jb3fZtjBurIeXauZOBQQ8 58O9NrGGPK8H2LMQpHH2+E6NAkN1KUSVSfNiBCQq96eBi66eN4WmkP9nstIx/OoC3r9J DNoxg7nNpKqm5bY/06KfwvDN7uzkOjkZkbfN1vSjDHKlx/JIju4YgtbNTme+EMiROaf3 Upyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=k4RL04dCWBEEiRneWm+s6fPFvXmhyEUAvF7ZZsTQAKI=; b=0bNkRTqsiF8aS+jm0GG9x5cSQeGL0OhSPcVJkRjTtKaxIdIv/4EnK0J41N50aAiYSG b1LEBtcAqTFIU5WHykEkNOF4VmKSvOm1M15p4sM18abJMEuJ/YjS+dO7pTy4R38spnpD CkQve/6VcKKKSMqkkanRR/Pm/SzcQcPc4XXnEE2EBek8Y8QATGm3rr1Cqs9n1ky5mysf XmouzOxbchf+d02xbmaSv2KCWM7brALJoLj7cZV0zSX2iA6J7mKIca577vki0XprrKVj sW2bkmAKgt3gGAsJm7KS/7gNKMjrQK60+9S7XBbjV3/Fr133CUnf8xjt9cE9v3esHDCg t5Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=E2Ze6TIf; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 go15si22245162plb.219.2019.01.09.00.46.44; Wed, 09 Jan 2019 00:46:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=E2Ze6TIf; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730007AbfAIIqn (ORCPT + 15 others); Wed, 9 Jan 2019 03:46:43 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35078 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729942AbfAIIqm (ORCPT ); Wed, 9 Jan 2019 03:46:42 -0500 Received: by mail-wm1-f68.google.com with SMTP id t200so7267022wmt.0 for ; Wed, 09 Jan 2019 00:46:41 -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:in-reply-to:references; bh=k4RL04dCWBEEiRneWm+s6fPFvXmhyEUAvF7ZZsTQAKI=; b=E2Ze6TIfo+LPyuH/G0b3V4EeUGV5UuYUgXTsoeZm8TvnFXgxyTeptTjCc3KBQ/2LqZ 2EAVEQu8R8zishLal8B0Tbg7rzvra2CaRYpGEpEP3bDTdYPaRowC8VYj6AgnaJnlk0z3 s7ZrrP5fNutXS9bgAcxfovIqBa/Dpsl6vPnAc= 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:in-reply-to :references; bh=k4RL04dCWBEEiRneWm+s6fPFvXmhyEUAvF7ZZsTQAKI=; b=Z+Z/QBhIyG0/jFcqiZqiAF0lo7lcvVU9ibaBypFLbt9A2GVxidoQsU3TZEfkVjPJWS y92DYqIpKo3iZmds0V9JlhMUCbnEaGKEp+DM19CX3cQLPHPSS6EmHGNNL47cl4YNmKIJ q4qdegdDA5lVXb1DsGuy1eU8z8m2WRjpkn0cnGFy3CcyE+ieFa5UqGJLCyW9bquLjo/P Y87+iqRNJRgmUSwNby+fOTt3starQZ1RvNWw62/aloe+Tw8SYxrJxkEY2Tr4ZVT/+c/+ e1e5ON9z5S4mCEaS273+FzfmPY9c03VRyH9xvM43kaoUn4mN8ijKxk6t1swS4XHWmjlK y0gQ== X-Gm-Message-State: AJcUukcyYCkT6qCdR0aWgU7bBiaN2JzoD/W4YJDZ+xljxjX5dDy52oNR Be2wRi45Zg4LLFuMy+2F1IHsRg== X-Received: by 2002:a1c:4046:: with SMTP id n67mr4387280wma.123.1547023601122; Wed, 09 Jan 2019 00:46:41 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id n82sm12776455wma.42.2019.01.09.00.46.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jan 2019 00:46:40 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam , Stanimir Varbanov Subject: [PATCH 2/4] venus: core: corect maximum hardware load for sdm845 Date: Wed, 9 Jan 2019 10:46:14 +0200 Message-Id: <20190109084616.17162-3-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190109084616.17162-1-stanimir.varbanov@linaro.org> References: <20190109084616.17162-1-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This corects maximum hardware load constant in per SoC resources for sdm845 aka Venus v4. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index cb411eb85ee4..d95185ea32c3 100644 --- a/drivers/media/platform/qcom/venus/core.c +++ b/drivers/media/platform/qcom/venus/core.c @@ -455,7 +455,7 @@ static const struct venus_resources msm8996_res = { .reg_tbl_size = ARRAY_SIZE(msm8996_reg_preset), .clks = {"core", "iface", "bus", "mbus" }, .clks_num = 4, - .max_load = 2563200, + .max_load = 3110400, /* 4096x2160@90 */ .hfi_version = HFI_VERSION_3XX, .vmem_id = VIDC_RESOURCE_NONE, .vmem_size = 0, From patchwork Wed Jan 9 08:46:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 155057 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp458212jaa; Wed, 9 Jan 2019 00:46:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN5SdyHwQ9OD3ylIzYJ9fO7A0f2FEui7/bADPBu8nfVzFbbEv2c/l/VOY2ydnhKEf+SxGpDn X-Received: by 2002:a63:8c6:: with SMTP id 189mr4605557pgi.322.1547023607128; Wed, 09 Jan 2019 00:46:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547023607; cv=none; d=google.com; s=arc-20160816; b=UMy3FqbCT0a1Qj1FOSyzrzQoRmKE8tNAAU3KczdI7WXI0KXpYPBY0n+eon4KcbQBwp mWi3Ff60CtWm70gyoF3ngnr5GgqjRsf0FwByw9+IYDPxlDjpri2kKsoCt6KbIoKs5DpS KjvJKh8hxnr+M2zvr0RV7VQ1ahiNAsuzJ/YoOAhMiQbUOqLwLDhlhgASHnhQBfKz62vG vGEPHTgv/25QWRWlc482Ar4KhrCfi0CDT7NOgFzugkXV+ZVbINqP7YeHJmgErkRrYRxK fdBUz8fnvb3kV2Pb8yKEnK2aP2QcKuTJIxd4GeXMyVdhNuIP5LgF5X5uYLiw4FguhKt/ jCMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=JVy9rLJK1wH8GJo67NVVXAN3d7xcFte20Fp4Qnn85fo=; b=DKvI4tm0gDct/QdEYl5sMYScpnWDoVxm6PqHtBzAghrxadf35F163WFxQMtEJp3n2O oz/5AbR1Lqj+bjga+v9mebD3N8BQOWzX0r6wLgZTahzGaidFLFHpq9TFkjGnX24CTA1t 1tRBpcMaKOeMca/+TEG7if2GQ15DPZPAh09z+MVYKCJ8VcLY9pch53iJYSmCw7Bg3Ixy 0jSJINKeeoS98FlEaY91LOPY2eXynNTERAdN842gTrfHit426kid4c1j7iFFZLbbC3Cx sn2AD0s7LTJwNdV37pPgTWpsH6q8IlCzpn4VXyznjjn3zGZ/9EWcxWdBbIZcV5dmCfcH rmMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MPiWS2MB; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 go15si22245162plb.219.2019.01.09.00.46.46; Wed, 09 Jan 2019 00:46:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=MPiWS2MB; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729962AbfAIIqq (ORCPT + 15 others); Wed, 9 Jan 2019 03:46:46 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:38194 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729994AbfAIIqp (ORCPT ); Wed, 9 Jan 2019 03:46:45 -0500 Received: by mail-wm1-f67.google.com with SMTP id m22so7249712wml.3 for ; Wed, 09 Jan 2019 00:46:43 -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:in-reply-to:references; bh=JVy9rLJK1wH8GJo67NVVXAN3d7xcFte20Fp4Qnn85fo=; b=MPiWS2MBeHIODDV+uJsBa3wrD2tUVziY2qsazfgicITBD9HIAvvn1jfwHgpM92yl2R 5Kvm66vuGRNm03lPXXvs1U7f+pqt0T9SG0w7QSX5XrkKt/fi5zCo2hZRs7O8R04V38TB cJhMqeulyFiRL4QuPfy7aC2T3Q6P2IvEcXKq0= 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:in-reply-to :references; bh=JVy9rLJK1wH8GJo67NVVXAN3d7xcFte20Fp4Qnn85fo=; b=fASsN9j9AObjRyiVv2bNwjoqLfCsk7/yQgT4fTEpzoerj9mL7+gn4hB5yEtOAmm95x eB0L6PfUvTm+51M+Pureo6WdkV6O0Y6wcA28XeTMWH1xA68IvXvEp7a48SvUrx5LqfFF 1PCj/eOc0Uj05rIaGkQ4XJZEdKjriCVX45TaoYIey3FrthROnhuepUZZ/2wkAYrp3671 PnbAE5xMzd0CjwKQAyXZPiv6JH9BQroFKHITxMOEe1AwH+USoHDL4HVYRwfR1gPZcVUE zt7QsZBHbaPafXacLuaMzI8gs2queIMg9hKt4AWS4SRSGiFtELKnBZK2ZXA4OLvnLu4+ /mAw== X-Gm-Message-State: AJcUukdkpcXs07JrUaTyizZrvH0Teg8en3PxMyEQmkSmGbgDdEafAH76 KztXJpBWibbmsxpYlyd/mLQv/A== X-Received: by 2002:a1c:8c13:: with SMTP id o19mr4432885wmd.56.1547023602995; Wed, 09 Jan 2019 00:46:42 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id n82sm12776455wma.42.2019.01.09.00.46.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jan 2019 00:46:42 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam , Stanimir Varbanov Subject: [PATCH 3/4] venus: core: correct frequency table for sdm845 Date: Wed, 9 Jan 2019 10:46:15 +0200 Message-Id: <20190109084616.17162-4-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190109084616.17162-1-stanimir.varbanov@linaro.org> References: <20190109084616.17162-1-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This corrects clock frequency table rates to be in sync with video clock controller frequency table. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/core.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) -- 2.17.1 diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c index d95185ea32c3..739366744e0f 100644 --- a/drivers/media/platform/qcom/venus/core.c +++ b/drivers/media/platform/qcom/venus/core.c @@ -465,10 +465,12 @@ static const struct venus_resources msm8996_res = { }; static const struct freq_tbl sdm845_freq_table[] = { - { 1944000, 380000000 }, /* 4k UHD @ 60 */ - { 972000, 320000000 }, /* 4k UHD @ 30 */ - { 489600, 200000000 }, /* 1080p @ 60 */ - { 244800, 100000000 }, /* 1080p @ 30 */ + { 3110400, 533000000 }, /* 4096x2160@90 */ + { 2073600, 444000000 }, /* 4096x2160@60 */ + { 1944000, 404000000 }, /* 3840x2160@60 */ + { 972000, 330000000 }, /* 3840x2160@30 */ + { 489600, 200000000 }, /* 1920x1080@60 */ + { 244800, 100000000 }, /* 1920x1080@30 */ }; static const struct venus_resources sdm845_res = { From patchwork Wed Jan 9 08:46:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 155058 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp458243jaa; Wed, 9 Jan 2019 00:46:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN6JAiEXKrB6N/W0E3Z5Jz4YIUM+VOTVBfv7UMK+Fz36MVSAoPEdQSeE8UG4lcQmrIJQ4V1O X-Received: by 2002:a63:a30a:: with SMTP id s10mr4280007pge.234.1547023610484; Wed, 09 Jan 2019 00:46:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547023610; cv=none; d=google.com; s=arc-20160816; b=SiAmyS4kfN1pqhMvj4CnpMd7zNPvvJnIU6KMEoJIUGXTPVJ2f7c77MAUhAh1itNUph UNZ/1zPjpz16xX0tJpNIj22K+s8bnPqwISxVVxxDbMtF7jOaFDtJm/bcZFtvsgnZNKK5 lNuEjPlw+ab73ZdcuwCBMnHohkdl1rIVWAKxIxBAvHpVdm1sh3Rdj4P737O014mvrJpj axUvbZinwQyvhpWj4qW6Rq9v4om7VO8f2c7+sKCaelA388GhoiQqp438LFiUYMZOPkul K2lcaa85NDtg3rDkAWj/OiFNeWxVx/xi9NfTQRJSp6qFeOVjpXOm0VDwK3/n30SLr9aG WXjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=QI2SOf2ExQ9WFR856cHOpJD86zIpzbhdZStSz5f1zHXOfyRrU+588wzQ90oQmAAlA0 PpCxuQrikDBQ8qgkqzONk2DSmsZI7lcVFW0ZT9KnwYrrsMKw9Kzy+EY9odqamO/VS5+9 rbj795cmpzHbPtGSDGVmKrmgQTv6gXrpVeLtcbtpjvcYxSP67sztblZzFyIsM1j1JgHt AGTOUhc7m8NLCocy8CEqA3xYCxibWqiGEndYCw1pRTDQdoqfVgSUBHKCz10Lbo6LQZ88 IWaBEWHaRk3iYm7RaQvWBI5HVCN2t1nC3ueICuvtfEDyHXR/NMCJEePoYr8zdUPVGioR h/Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KzLn6sB5; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 go15si22245162plb.219.2019.01.09.00.46.50; Wed, 09 Jan 2019 00:46:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=KzLn6sB5; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1730082AbfAIIqs (ORCPT + 15 others); Wed, 9 Jan 2019 03:46:48 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36287 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730055AbfAIIqr (ORCPT ); Wed, 9 Jan 2019 03:46:47 -0500 Received: by mail-wr1-f68.google.com with SMTP id u4so6773770wrp.3 for ; Wed, 09 Jan 2019 00:46:46 -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:in-reply-to:references; bh=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=KzLn6sB5gXyDiESLuXVHb8RSBZdS3Z+JGMfZ7rjtrCXazereVFyE6KzxRKqp1ReyF0 bOOkU6dJSOmE0O5YjnDybR816ROyzy4/FPr9ildnJSUuCVJllCDVQuk0r36XlptvTelG Ql9ffvZBNu3zkyIIxajgs4XqFK+JHE16rdbq8= 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:in-reply-to :references; bh=QhVYgwj7yl7MmrsTxcuTj32eYDDbC109TInYY9lJ7N0=; b=MrazUAI+9Qi2Zei1JimyIWZFgNDi4/HvC9Fwj5Oyf8rP/rfWPs3+r7oj96vAwSTcHf MoQf0oWsnqcvWilgqyBlJi3S2NZI1qcmdNTub94i4Q1RrSiTzuRVHfw9+i0H7yiZLWuS dFyZc+1lDremRLQUCGdisFcODsm6jZK5cI5ExdKaex0CCC8llC3IgnP4nB5ZPrijb/2Y pdUTSvqMmzgINgI/2fW8DFvbX/ZXPkK/q+D1g4q55lgf/Vdod+f7jkhw49ZyVEi9Ol+3 XIRngaix082scV5i9QdEPVztCHU+PfsAJM4GEoDuozioLkqhGC7MPFI/cCbGkqbcMC9r ZmiA== X-Gm-Message-State: AJcUukcYzFoJ2j2rV0/XHhxxUUaC4SbQumgCcwPTnSb//hSPEbaAXSAb mCrDQYgDeMgkKajGY74LuORCog== X-Received: by 2002:adf:c452:: with SMTP id a18mr4262717wrg.145.1547023605976; Wed, 09 Jan 2019 00:46:45 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id n82sm12776455wma.42.2019.01.09.00.46.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jan 2019 00:46:45 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Alexandre Courbot , Malathi Gottam , Stanimir Varbanov Subject: [PATCH 4/4] venus: helpers: drop setting of timestap invalid flag Date: Wed, 9 Jan 2019 10:46:16 +0200 Message-Id: <20190109084616.17162-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190109084616.17162-1-stanimir.varbanov@linaro.org> References: <20190109084616.17162-1-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The zero timestap is really a valid so not sure why I discarded it. Fix that mistake by drop the code which checks for zero timestamp. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/helpers.c | 3 --- 1 file changed, 3 deletions(-) -- 2.17.1 diff --git a/drivers/media/platform/qcom/venus/helpers.c b/drivers/media/platform/qcom/venus/helpers.c index e436385bc5ab..5cad601d4c57 100644 --- a/drivers/media/platform/qcom/venus/helpers.c +++ b/drivers/media/platform/qcom/venus/helpers.c @@ -439,9 +439,6 @@ session_process_buf(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) fdata.flags = 0; fdata.clnt_data = vbuf->vb2_buf.index; - if (!fdata.timestamp) - fdata.flags |= HFI_BUFFERFLAG_TIMESTAMPINVALID; - if (type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE) { fdata.buffer_type = HFI_BUFFER_INPUT; fdata.filled_len = vb2_get_plane_payload(vb, 0);