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)
commitadf151c246ec7e2799e2ed0de22c9d60221602dc
tree20fbe147e0ae51cba11c151058651bfd85d68903
parentc8bffdcb25ea548b03ccdfa00d19f471010919bc
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