]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2bb53c916698ee763d79d715373adc3bca436bc
treeffd7edeaf6ad1f329c7133642d01f20298ee9c1e
parent49f9baec8098ad2481c47f0d418408ef6ab54987
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