Skip to content

Commit

Permalink
drm/ast: Rename ast_init_dram_2300 to ast_post_chip_2300
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ozbenh authored and airlied committed Feb 28, 2017
1 parent b368e53 commit d95618e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/gpu/drm/ast/ast_post.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#include "ast_dram_tables.h"

static void ast_init_dram_2300(struct drm_device *dev);
static void ast_post_chip_2300(struct drm_device *dev);

void ast_enable_vga(struct drm_device *dev)
{
Expand Down Expand Up @@ -381,7 +381,7 @@ void ast_post_gpu(struct drm_device *dev)

if (ast->config_mode == ast_use_p2a) {
if (ast->chip == AST2300 || ast->chip == AST2400)
ast_init_dram_2300(dev);
ast_post_chip_2300(dev);
else
ast_init_dram_reg(dev);

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

}

static void ast_init_dram_2300(struct drm_device *dev)
static void ast_post_chip_2300(struct drm_device *dev)
{
struct ast_private *ast = dev->dev_private;
struct ast2300_dram_param param;
Expand Down

0 comments on commit d95618e

Please sign in to comment.