From patchwork Fri Feb 1 13:28:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10792763 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 EB634922 for ; Fri, 1 Feb 2019 13:28:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D80D82CDD8 for ; Fri, 1 Feb 2019 13:28:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA8E92AEEE; Fri, 1 Feb 2019 13:28:57 +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 4CBEC3147D for ; Fri, 1 Feb 2019 13:28:57 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 56A596EE48; Fri, 1 Feb 2019 13:28:54 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4BB066EE46 for ; Fri, 1 Feb 2019 13:28:53 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id x10so7085871wrs.8 for ; Fri, 01 Feb 2019 05:28:53 -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=VaGcVIN7hSAkokV6KpJ6d1WAw8L1wRnWa1SfdHmMdho1CaWsml+4/+7EJ3Tb56t4ki KaUtDVx8KZRXZ8TqoMEQu6IJWNgiHKaM8yNtDqX++j0rUQB2EvTF4Kc/FLamSEUet4s3 DTxUVLEsotkUL0mnkqiuwZ5o0Fw+x05jHg2DjW55WvmGXdOfn8+XmpTg254/f7K80viM 07NJFxjj2/7Muxfamgv8MWK25Z3T7Wtkennpobly4EhGhpV39E6ZWR69OfGSdg0OX5Ol T39hSMEX+xaXaaIpgDWbM8Z3wRSrG7KyvicCQxE01/DyAna18u+lxei0tFblwc73qvrU sUzg== X-Gm-Message-State: AJcUukcVIeo3HMLWrYiFBhAFE/yKiioL4GJuwnseqTuOI8xXHE0Z0n8U kzNt3q5YgUF5mynhFMe+khE= X-Google-Smtp-Source: ALg8bN6L2wiVHRZmVWzuU9LPF2XFSwIOn7C6RjynjEKfZxTdL4DIr3zCel/M0/BGgFjjyV2IiV56og== X-Received: by 2002:a5d:4b01:: with SMTP id v1mr37066870wrq.5.1549027730361; Fri, 01 Feb 2019 05:28:50 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id y13sm4774531wrn.73.2019.02.01.05.28.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Feb 2019 05:28:49 -0800 (PST) From: Thierry Reding To: Thierry Reding Subject: [PATCH v3 07/16] gpu: host1x: Support 40-bit addressing on Tegra186 Date: Fri, 1 Feb 2019 14:28:28 +0100 Message-Id: <20190201132837.12327-8-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190201132837.12327-1-thierry.reding@gmail.com> References: <20190201132837.12327-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,