Skip to content

Commit d95618e

Browse files
ozbenhairlied
authored andcommitted
drm/ast: Rename ast_init_dram_2300 to ast_post_chip_2300
The function does more than initializing the DRAM and in turns calls other functions to do the actual init. This will keeping things more consistent with the upcoming AST2500 POST code. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Joel Stanley <joel@jms.id.au> Tested-by: Y.C. Chen <yc_chen@aspeedtech.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent b368e53 commit d95618e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/gpu/drm/ast/ast_post.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
#include "ast_dram_tables.h"
3333

34-
static void ast_init_dram_2300(struct drm_device *dev);
34+
static void ast_post_chip_2300(struct drm_device *dev);
3535

3636
void ast_enable_vga(struct drm_device *dev)
3737
{
@@ -381,7 +381,7 @@ void ast_post_gpu(struct drm_device *dev)
381381

382382
if (ast->config_mode == ast_use_p2a) {
383383
if (ast->chip == AST2300 || ast->chip == AST2400)
384-
ast_init_dram_2300(dev);
384+
ast_post_chip_2300(dev);
385385
else
386386
ast_init_dram_reg(dev);
387387

@@ -1589,7 +1589,7 @@ static void ddr2_init(struct ast_private *ast, struct ast2300_dram_param *param)
15891589

15901590
}
15911591

1592-
static void ast_init_dram_2300(struct drm_device *dev)
1592+
static void ast_post_chip_2300(struct drm_device *dev)
15931593
{
15941594
struct ast_private *ast = dev->dev_private;
15951595
struct ast2300_dram_param param;

0 commit comments

Comments
 (0)