commit | d1b985572a3cf88e99a71fe7b8f294ad9f78f007 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Sep 04 17:50:11 2014 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Mon Sep 15 11:37:44 2014 +1000 |
tree | e78133fd737c7ed848576c6dcc1584adbc0354d2 | |
parent | 0dd68309b9c516eac76549b71f68f01f57bb0c71 [diff] |
drm/ast: POST chip at probe time if VGA not enabled We need to do it on machines without a BIOS such as POWER8. Also for detection to work without triggering PCIe errors, we need to enable VGA early on, inside ast_detect_chip(). While touching those files, replace a few hard coded register numbers with the corresponding symbolic constant. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Dave Airlie <airlied@redhat.com>