From: Jon Hunter Subject: Re: [PATCH 2/2] gpu: host1x: Use SMMU on Tegra124 and Tegra210 Date: Wed, 25 Mar 2020 20:48:29 +0000 Message-ID: References: <20200325201604.833898-1-thierry.reding@gmail.com> <20200325201604.833898-2-thierry.reding@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20200325201604.833898-2-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Content-Language: en-US Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding Cc: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-tegra@vger.kernel.org On 25/03/2020 20:16, Thierry Reding wrote: > From: Thierry Reding > > Tegra124 and Tegra210 support addressing more than 32 bits of physical > memory. However, since their host1x does not support the wide GATHER > opcode, they should use the SMMU if at all possible to ensure that all > the system memory can be used for command buffers, irrespective of > whether or not the host1x firewall is enabled. > > Signed-off-by: Thierry Reding > --- > drivers/gpu/host1x/dev.c | 46 ++++++++++++++++++++++++++++++++++++---- > 1 file changed, 42 insertions(+), 4 deletions(-) Tested-by: Jon Hunter Cheers Jon -- nvpublic