]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/ast: Properly initialize P2A base before using it in ast_init_3rdtx()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 4 Sep 2014 07:50:17 +0000 (17:50 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 15 Sep 2014 01:37:45 +0000 (11:37 +1000)
commit261a3ad42605f5824072d1410d3c5f7b93f7cad8
tree18e893b94ae9a49c85e513d2414426ed2e01766f
parentd1b985572a3cf88e99a71fe7b8f294ad9f78f007
drm/ast: Properly initialize P2A base before using it in ast_init_3rdtx()

If the P2A has been used to target other SOC registers before that
call, we're going to hit the wrong place so make sure we set the
base address up properly before using it.

(P2A stands for PCIe to AHB bridge and is the bride that allows
accessing the AST's internal AHB bus using a relocatable 64k
window in the second half of the PCIe MMIO BAR)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_dp501.c