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)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Feb 2017 03:08:51 +0000 (13:08 +1000)
commit3856081eede297b617560b85e948cfb00bb395ec
tree2a78ef6f1d43f35799c495fcde0f0b3bd637fd3a
parent45554b2357d5782497e59f09146cc3636d6ad551
drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_post.c