From patchwork Wed Jan 23 10:39:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 156353 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp566910jaa; Wed, 23 Jan 2019 02:40:45 -0800 (PST) X-Google-Smtp-Source: ALg8bN4kJ4jiqbUBBJupcLqIRRrq2WyG65QSO+XSxCd1+2XwwLLVGWuYxJAm2NR2VstpTzcm6R0s X-Received: by 2002:a17:902:aa8c:: with SMTP id d12mr1733337plr.25.1548240045426; Wed, 23 Jan 2019 02:40:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548240045; cv=none; d=google.com; s=arc-20160816; b=h2zO1LMHSCtbjR6qVtYfQzmFSrAfPE3XE51XpDf0LsvZ/H6bsu7VC6NogTWaNbII6M UkmWSg620teT7aJCZ4wuxMGKusf8nNNtTSOU1pf3QLf+g30BqRu+GxlMmJhBM9aSfX+P AgFgabnuEbEeb5FSTC+ZRPCyeUO0/4sv2SctPf1I3wSFtS6rIKk3NWQz1K2ng6pcXUI+ KiKZPEd19p5F2fexym6RAGrb78beg788cHKBgHE2QcUUkTMp4uO0LvPOkKH2kFPq6SiJ SdMKtbVpBPIImZQPkGuNoYTHNUDq6jH5LwZdwRCIkBNG8x5HVu7BCQgXEiIrE93rB6x/ DQHg== 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=LEvH43xu7H3IGM1c03kDUGjc4dAlpCaDkOPzDBfsxYc=; b=Fm/+KPMqyhI4DvT/TwSiUHR1+XCWSDoX2B9COejs+6lH271Z2rrN7Liz8qZCvJIElQ Y/NeEPale83mptEXkV/qvA5DXwNE+YX9kjET4hZn6dARkE7TePH0+gq198ovJX33jYJg vmCKO7B38YXcsF6YNKnmGDyqwMmQeLAuPMPKOfMPm9DaogXGdVhsCehBY/GFPgw/CUul ZA2EOlBHF8RP9Nll0oY5oNSDPhZFoqiTGDO3EXKweUIZYx5KKw8yQLZKZIIUNLkjoa+s UDPl9ObBEYZQGUFqz0ExUUvVrc6/rcGIZVtFU24Z+MeOYbB2yWzhfNtQ6/D7q4zI/21E 9vSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=k2xCnkOg; 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 r8si17853073plo.203.2019.01.23.02.40.45; Wed, 23 Jan 2019 02:40: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=k2xCnkOg; 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 S1727233AbfAWKko (ORCPT + 15 others); Wed, 23 Jan 2019 05:40:44 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:32949 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727425AbfAWKk0 (ORCPT ); Wed, 23 Jan 2019 05:40:26 -0500 Received: by mail-wm1-f65.google.com with SMTP id r24so10637862wmh.0 for ; Wed, 23 Jan 2019 02:40:24 -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=LEvH43xu7H3IGM1c03kDUGjc4dAlpCaDkOPzDBfsxYc=; b=k2xCnkOgsNy4I95sYTzT7qLTncbBtKlqDx2NsIdTCosKO2OW6ni291XyQDUoEK6q6Q Chmal0crcMWyVnG+yV16hNll4MFKYl08bSwBE7x3iZ9Qc0qsLi6djhWld7iRO6mmZBzj xUnqmMhYViX0haKP0U8gUKvqYsIpPMRRnoXVQ= 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=LEvH43xu7H3IGM1c03kDUGjc4dAlpCaDkOPzDBfsxYc=; b=EpQVS3Tqz5bKW4ZplSz472LU3CIhKqNyoC5W38MZ7W3A3aGRodFhWoAJvQdclwFUYI bpnWI0B95urtDn/fy9k2tWSyCtRV4zuD/2Yo91bmAFWk2QPz6cCF83wt1B4853SBKbL6 86ILlfH2JCP0BlbE9oClIu7wkjYM+G2to13WhXu40bCJ8D4a4nvg58Jh1kzzwHgC9tpS 9u9zv69EWKacu6ez2wQxInebdgKCvWgLYOpgHYbT6xlDZ1BH/kCpM4TMb6GoJtMWqgI5 /SPHUJdlwW76LCCtIvtd/TJ2NgrYL/eqD46dN6+GvJ2trB05IUFwtZ2+YsdrZPNBQzDz AoEg== X-Gm-Message-State: AJcUukc8Vyy6zPvyXpI+oyiFDYaWyDXTOVQonTjPwbBrpjeVt4HyNtkJ dw5n8DW9JaRgCZ1DzaDwrFfhhQ== X-Received: by 2002:a1c:4c10:: with SMTP id z16mr2266123wmf.117.1548240023984; Wed, 23 Jan 2019 02:40:23 -0800 (PST) Received: from localhost.localdomain ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id b18sm84525211wrw.83.2019.01.23.02.40.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Jan 2019 02:40:23 -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 v2 2/4] venus: core: correct maximum hardware load for sdm845 Date: Wed, 23 Jan 2019 12:39:47 +0200 Message-Id: <20190123103949.13496-3-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190123103949.13496-1-stanimir.varbanov@linaro.org> References: <20190123103949.13496-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 correct maximum hardware load constant in per SoC resources for sdm845 aka Venus v4. Reviewed-by: Alexandre Courbot Tested-by: Alexandre Courbot 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,