]> git.baikalelectronics.ru Git - 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)
commite251a433b0135c8b97b77e0358b24a789300ecf5
tree18e893b94ae9a49c85e513d2414426ed2e01766f
parent660e8e51c7f5138bbbf5005ade0afb6719de3ef9
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