diff options
author | Y.C. Chen <yc_chen@aspeedtech.com> | 2017-01-26 02:45:40 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-01-27 01:40:03 +0100 |
commit | 6c971c09f38704513c426ba6515f22fb3d6c87d5 (patch) | |
tree | ad8e2f34c3c20ec7f915872a91d744789729d3ee /drivers/gpu/drm/ast/ast_drv.h | |
parent | Merge tag 'drm-vc4-fixes-2017-01-23' of https://github.com/anholt/linux into ... (diff) | |
download | linux-6c971c09f38704513c426ba6515f22fb3d6c87d5.tar.xz linux-6c971c09f38704513c426ba6515f22fb3d6c87d5.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/ast/ast_drv.h')
-rw-r--r-- | drivers/gpu/drm/ast/ast_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h index 908011d2c8f5..7abda94fc2cf 100644 --- a/drivers/gpu/drm/ast/ast_drv.h +++ b/drivers/gpu/drm/ast/ast_drv.h @@ -113,6 +113,7 @@ struct ast_private { struct ttm_bo_kmap_obj cache_kmap; int next_cursor; bool support_wide_screen; + bool DisableP2A; enum ast_tx_chip tx_chip_type; u8 dp501_maxclk; |