]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/adreno: Enable 64 bit mode by default on a5xx and a6xx targets
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 7 May 2019 18:02:05 +0000 (12:02 -0600)
committerRob Clark <robdclark@chromium.org>
Tue, 18 Jun 2019 20:46:35 +0000 (13:46 -0700)
commit8587e4cc79b73c8aef3a7e84076bb50ab01694f4
tree20fbe147e0ae51cba11c151058651bfd85d68903
parent77b4ba77ff1f01e3bf9a618a90b863c16210e9ee
drm/msm/adreno: Enable 64 bit mode by default on a5xx and a6xx targets

A5XX and newer GPUs can be run in either 32 or 64 bit mode. The GPU
registers and the microcode use 64 bit virtual addressing in either
case but the upper 32 bits are ignored if the GPU is in 32 bit mode.
There is no performance disadvantage to remaining in 64 bit mode even
if we are only generating 32 bit addresses so switch over now to prepare
for using addresses above 4G on targets that support them.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a6xx_gpu.c