]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit146fba3cdeaf35f8c3d9f751805a0a73d3976f2f
treead8e2f34c3c20ec7f915872a91d744789729d3ee
parent3779cee1a39cf465e6b845709b2716847ea63fe5
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