Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344649
b: refs/heads/master
c: 264236f
h: refs/heads/master
i:
  344647: 2c6ef84
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Nov 20, 2012
1 parent 85b2516 commit 67eae80
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33b89928f5a70eb8c97027765167a7cfcf405d0a
refs/heads/master: 264236f82ea4ee5ee418f3e57c33d9d3fc37008f
19 changes: 18 additions & 1 deletion trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4146,6 +4146,23 @@ static const struct dispc_features omap44xx_dispc_feats __initconst = {
.gfx_fifo_workaround = true,
};

static const struct dispc_features omap54xx_dispc_feats __initconst = {
.sw_start = 7,
.fp_start = 19,
.bp_start = 31,
.sw_max = 256,
.vp_max = 4095,
.hp_max = 4096,
.mgr_width_start = 11,
.mgr_height_start = 27,
.mgr_width_max = 4096,
.mgr_height_max = 4096,
.calc_scaling = dispc_ovl_calc_scaling_44xx,
.calc_core_clk = calc_core_clk_44xx,
.num_fifos = 5,
.gfx_fifo_workaround = true,
};

static int __init dispc_init_features(struct platform_device *pdev)
{
const struct dispc_features *src;
Expand Down Expand Up @@ -4179,7 +4196,7 @@ static int __init dispc_init_features(struct platform_device *pdev)
break;

case OMAPDSS_VER_OMAP5:
src = &omap44xx_dispc_feats;
src = &omap54xx_dispc_feats;
break;

default:
Expand Down

0 comments on commit 67eae80

Please sign in to comment.