drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS
authorY.C. Chen <yc_chen@aspeedtech.com>
Thu, 23 Feb 2017 07:52:33 +0000 (15:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Mar 2017 01:57:14 +0000 (09:57 +0800)
commitb9cfd5517b309513e50d80b89eaae98a82a2c3b1
tree9d6333dadab9f7f4bc97a856de296f3fb5e2f816
parent93eab4f5259485e9cad0339a298b6da1dd2e6e40
drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS

commit 3856081eede297b617560b85e948cfb00bb395ec upstream.

The current POST code for the AST2300/2400 family doesn't work properly
if the chip hasn't been initialized previously by either the BMC own FW
or the VBIOS. This fixes it.

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/ast/ast_post.c