From patchwork Thu Jan 24 18:02:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10779793 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 091BF13BF for ; Thu, 24 Jan 2019 18:03:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F24403276C for ; Thu, 24 Jan 2019 18:03:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F0D1732830; Thu, 24 Jan 2019 18:03:14 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 902E632837 for ; Thu, 24 Jan 2019 18:03:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8026F6F201; Thu, 24 Jan 2019 18:03:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id A8ADA6F1FF for ; Thu, 24 Jan 2019 18:03:07 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id d15so4161085wmb.3 for ; Thu, 24 Jan 2019 10:03:07 -0800 (PST) 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:mime-version:content-transfer-encoding; bh=GOaJAoLDNDGFGgME5TwNws7SLx9pWmtcTffM/V8PulI=; b=qSyDRV2UqSHq4WUeU5lTl1DQ9j79iqUkwSAWFFmqSJDnRErPCRC7EPlDhkX2i6wsHb npcuv0Ju2HmVby6BGAmfDEgf438os8RV5ukzLgX+9PPZUWdozyGvNujhMEFT49PstavL NapiO6blmoo7YnaAp7CKAg0hyjkg/JJYm7srrm8l1DY9niOsFYj0Z5BQYhT8rO7dPARX 2QZ0EAOAuqfyW4N7Je4lL5ocTD8Pk7RkpPzM75HeUUdKhvLzwYu99DdHQOQuz67OrhIT xHNWSOS/dPq+fNDkZXlg2g+sZRdLYasc6RuJu/Od+MOi79xZyVQ2moQhFz8+bqUHOVYT pOWw== X-Gm-Message-State: AJcUukca1nXuR7RcCs/IjkP5x7n1uzeA01JGVFA2RzP8ENaFEru/0mHX JH/McodTSo75vCyDfVsHp1E= X-Google-Smtp-Source: ALg8bN7xZJAYZmuDqIurpeRkD+ixQIuHhFqPLFATlf4jlQ/KDJuhQhCEr4EuVddchea0NlV0HQ/bSQ== X-Received: by 2002:a7b:c399:: with SMTP id s25mr3795747wmj.90.1548352986127; Thu, 24 Jan 2019 10:03:06 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id x15sm138985401wrs.27.2019.01.24.10.03.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Jan 2019 10:03:05 -0800 (PST) From: Thierry Reding To: Thierry Reding Subject: [PATCH v2 06/13] gpu: host1x: Support 40-bit addressing on Tegra186 Date: Thu, 24 Jan 2019 19:02:47 +0100 Message-Id: <20190124180254.20080-7-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190124180254.20080-1-thierry.reding@gmail.com> References: <20190124180254.20080-1-thierry.reding@gmail.com> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-tegra@vger.kernel.org, Dmitry Osipenko , dri-devel@lists.freedesktop.org, Mikko Perttunen Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding The host1x and clients instantiated on Tegra186 support addressing 40 bits of memory. Signed-off-by: Thierry Reding --- drivers/gpu/host1x/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 544b67f2b3ff..ee3c7b81a29d 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -136,7 +136,7 @@ static const struct host1x_info host1x06_info = { .nb_bases = 16, .init = host1x06_init, .sync_offset = 0x0, - .dma_mask = DMA_BIT_MASK(34), + .dma_mask = DMA_BIT_MASK(40), .has_hypervisor = true, .num_sid_entries = ARRAY_SIZE(tegra186_sid_table), .sid_table = tegra186_sid_table,