]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/a6xx: Fix PDC register overlap
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 8 Aug 2018 22:39:38 +0000 (16:39 -0600)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:54 +0000 (20:24 -0400)
commit5ab2b51cf6758539911ae9ed1e9511730de32965
tree8207b0eeac33c8a885ad3ea15802de4a7e980cec
parent6a0cf6106f8728badf8512b2c3fe9f8f74d6a896
drm/msm/a6xx: Fix PDC register overlap

The current design greedily takes a big chunk of the PDC
register space instead of just the GPU specific sections
which conflicts with other drivers and generally makes
a mess of things.

Furthermore we only need to map the GPU PDC sections
just once during init so map the memory inside the function
that uses it and adjust the pointers and register offsets
accordingly.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a6xx.xml.h
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/a6xx_gmu.h