]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/msm: Handle register offset differences between a3xx and a4xx
authorAravind Ganesan <aravindg@codeaurora.org>
Mon, 8 Sep 2014 16:57:28 +0000 (10:57 -0600)
committerRob Clark <robdclark@gmail.com>
Sun, 16 Nov 2014 19:27:39 +0000 (14:27 -0500)
commit91b74e9761d785f41156383ad5ec7c437dfb2960
treebb344f63d25279f548137ba634a3afe621fbc854
parent257d06f7043a432774a315223053730f8b170b0e
drm/msm: Handle register offset differences between a3xx and a4xx

Register offsets have changed between a3xx and a4xx GPUs.
To be able access these registers in common code, we create
a lookup table, and set of read-write APIs to access the
register through the lookup table.

Signed-off-by: Aravind Ganesan <aravindg@codeaurora.org>
[robclark: remove REG_ADRENO_UNDEFINED, just use zero, and minor
tweaks for latest generated headers]
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h