diff options
| author | Thomas Zimmermann <[email protected]> | 2025-01-17 10:29:07 +0000 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2025-01-22 12:52:48 +0000 |
| commit | be1c00b180f1c580c93e585058e64df51fcfd4c2 (patch) | |
| tree | 93cc70eeb00a5456701816521661a9090a351449 /drivers/gpu/drm/ast/ast_main.c | |
| parent | drm/ast: Detect wide-screen support before creating modeset pipeline (diff) | |
| download | kernel-be1c00b180f1c580c93e585058e64df51fcfd4c2.tar.gz kernel-be1c00b180f1c580c93e585058e64df51fcfd4c2.zip | |
drm/ast: Detect DRAM before TX-chip
Move DRAM detection before TX-chip detection. Both steps are independent
from each other. Detection of the TX-chip is now next to posting those
chips, which can be done in a single step.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Jocelyn Falempe <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/ast/ast_main.c')
| -rw-r--r-- | drivers/gpu/drm/ast/ast_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ast/ast_main.c b/drivers/gpu/drm/ast/ast_main.c index 037d389ab630..456230bef273 100644 --- a/drivers/gpu/drm/ast/ast_main.c +++ b/drivers/gpu/drm/ast/ast_main.c @@ -290,15 +290,13 @@ struct drm_device *ast_device_create(struct pci_dev *pdev, ast->regs = regs; ast->ioregs = ioregs; - ast_detect_tx_chip(ast, need_post); - ret = ast_get_dram_info(ast); if (ret) return ERR_PTR(ret); - drm_info(dev, "dram MCLK=%u Mhz type=%d bus_width=%d\n", ast->mclk, ast->dram_type, ast->dram_bus_width); + ast_detect_tx_chip(ast, need_post); if (need_post) ast_post_gpu(ast); |
