drm/ast: Fixed system hanged if disable P2A
authorY.C. Chen <yc_chen@aspeedtech.com>
Thu, 26 Jan 2017 01:45:40 +0000 (09:45 +0800)
committerDave Airlie <airlied@redhat.com>
Fri, 27 Jan 2017 00:40:03 +0000 (10:40 +1000)
commit6c971c09f38704513c426ba6515f22fb3d6c87d5
treead8e2f34c3c20ec7f915872a91d744789729d3ee
parente996598b282d2ebafe705d297d3fee9044286dc6
drm/ast: Fixed system hanged if disable P2A

The original ast driver will access some BMC configuration through P2A bridge
that can be disabled since AST2300 and after.
It will cause system hanged if P2A bridge is disabled.
Here is the update to fix it.

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_post.c