drm/msm/adreno: Allow larger address space size
authorRob Clark <robdclark@chromium.org>
Sun, 29 May 2022 18:04:23 +0000 (11:04 -0700)
committerRob Clark <robdclark@chromium.org>
Wed, 6 Jul 2022 15:42:57 +0000 (08:42 -0700)
commit36bbfdb8bcb62752966211de1c0b9ee5fd972305
treeffd7edeaf6ad1f329c7133642d01f20298ee9c1e
parent9bec4399af223edba58ccb66c406b10878ef45b3
drm/msm/adreno: Allow larger address space size

The restriction to 4G was strictly to work around 64b math bug in some
versions of SQE firmware.  This appears to be fixed in a650+ SQE fw, so
allow a larger address space size on these devices.

Also, add a modparam override for debugging and igt.

v2: Send the right version of the patch (ie. the one that actually
    compiles)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/487601/
Link: https://lore.kernel.org/r/20220529180428.2577832-1-robdclark@gmail.com
drivers/gpu/drm/msm/adreno/a6xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h