|
@@ -518,6 +518,9 @@ int ast_driver_load(struct drm_device *dev, unsigned long flags)
|
|
|
|
|
|
ast_detect_chip(dev, &need_post);
|
|
|
|
|
|
+ if (need_post)
|
|
|
+ ast_post_gpu(dev);
|
|
|
+
|
|
|
if (ast->chip != AST1180) {
|
|
|
ret = ast_get_dram_info(dev);
|
|
|
if (ret)
|
|
@@ -528,9 +531,6 @@ int ast_driver_load(struct drm_device *dev, unsigned long flags)
|
|
|
ast->dram_bus_width, ast->vram_size);
|
|
|
}
|
|
|
|
|
|
- if (need_post)
|
|
|
- ast_post_gpu(dev);
|
|
|
-
|
|
|
ret = ast_mm_init(ast);
|
|
|
if (ret)
|
|
|
goto out_free;
|