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: 10753635 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D07513B4 for ; Wed, 9 Jan 2019 08:46:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1F5628FBA for ; Wed, 9 Jan 2019 08:46:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E564D28FC3; Wed, 9 Jan 2019 08:46:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A526D28FBA for ; Wed, 9 Jan 2019 08:46:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730011AbfAIIqo (ORCPT ); Wed, 9 Jan 2019 03:46:44 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:35990 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729965AbfAIIqn (ORCPT ); Wed, 9 Jan 2019 03:46:43 -0500 Received: by mail-wm1-f66.google.com with SMTP id p6so7205765wmc.1 for ; Wed, 09 Jan 2019 00:46:42 -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=TxU0pi+3gO4/qFwTFhqXoUTmG9ZtG1fDlKWFgIDIRPPXfRa1PG7d52ca0ye07EILuJ hJpU29fvdDxTNmlvNuVMiC/wIL1oDGQnK7Fzx7D5zTQOfeLwMEQFDzlSltpUEIMVtVC6 gAo6kFZifIfPl0EClQCYnL9A/qeB5Nnyegc2dVe+Ro20yFVrHwH23FUdqD/ofxhf0bVh 7KXiukWFlaTM6VZ5MROl1yZg8nmo/AapdUnMKW+4HumdteybJ5FgmrppIHDKadJ7nQ8g 2WKjm+uyU04N8Q9xKYc1E2o86GKbschj8s42OzYUQ97cQWc+20kBmCqfg7+2+AjrPD6z kVrw== X-Gm-Message-State: AJcUukeUUzGUs0ZtcByx5eYwN3AFjaSseOHYThgj7bWxsGthdzBH6C6w AY/Deajuy0ia8lWyIm2x4CUd2Cp9OlY= X-Google-Smtp-Source: ALg8bN7jwiJwbPyAYcxqnoLwTzP+P5GY6RlYE4niBN5d5Yd13yjCudvy7f9Ab1EaUTd7vN5pAQ2oCA== 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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,