diff options
Diffstat (limited to 'drivers/video/omap2/dss/dss_features.c')
-rw-r--r-- | drivers/video/omap2/dss/dss_features.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss_features.c b/drivers/video/omap2/dss/dss_features.c index b402699168a5..afcb59301c37 100644 --- a/drivers/video/omap2/dss/dss_features.c +++ b/drivers/video/omap2/dss/dss_features.c | |||
@@ -304,6 +304,11 @@ static const struct dss_param_range omap2_dss_param_range[] = { | |||
304 | [FEAT_PARAM_DSIPLL_FINT] = { 0, 0 }, | 304 | [FEAT_PARAM_DSIPLL_FINT] = { 0, 0 }, |
305 | [FEAT_PARAM_DSIPLL_LPDIV] = { 0, 0 }, | 305 | [FEAT_PARAM_DSIPLL_LPDIV] = { 0, 0 }, |
306 | [FEAT_PARAM_DOWNSCALE] = { 1, 2 }, | 306 | [FEAT_PARAM_DOWNSCALE] = { 1, 2 }, |
307 | /* | ||
308 | * Assuming the line width buffer to be 768 pixels as OMAP2 DISPC | ||
309 | * scaler cannot scale a image with width more than 768. | ||
310 | */ | ||
311 | [FEAT_PARAM_LINEWIDTH] = { 1, 768 }, | ||
307 | }; | 312 | }; |
308 | 313 | ||
309 | static const struct dss_param_range omap3_dss_param_range[] = { | 314 | static const struct dss_param_range omap3_dss_param_range[] = { |
@@ -316,6 +321,7 @@ static const struct dss_param_range omap3_dss_param_range[] = { | |||
316 | [FEAT_PARAM_DSIPLL_FINT] = { 750000, 2100000 }, | 321 | [FEAT_PARAM_DSIPLL_FINT] = { 750000, 2100000 }, |
317 | [FEAT_PARAM_DSIPLL_LPDIV] = { 1, (1 << 13) - 1}, | 322 | [FEAT_PARAM_DSIPLL_LPDIV] = { 1, (1 << 13) - 1}, |
318 | [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, | 323 | [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, |
324 | [FEAT_PARAM_LINEWIDTH] = { 1, 1024 }, | ||
319 | }; | 325 | }; |
320 | 326 | ||
321 | static const struct dss_param_range omap4_dss_param_range[] = { | 327 | static const struct dss_param_range omap4_dss_param_range[] = { |
@@ -328,6 +334,7 @@ static const struct dss_param_range omap4_dss_param_range[] = { | |||
328 | [FEAT_PARAM_DSIPLL_FINT] = { 500000, 2500000 }, | 334 | [FEAT_PARAM_DSIPLL_FINT] = { 500000, 2500000 }, |
329 | [FEAT_PARAM_DSIPLL_LPDIV] = { 0, (1 << 13) - 1 }, | 335 | [FEAT_PARAM_DSIPLL_LPDIV] = { 0, (1 << 13) - 1 }, |
330 | [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, | 336 | [FEAT_PARAM_DOWNSCALE] = { 1, 4 }, |
337 | [FEAT_PARAM_LINEWIDTH] = { 1, 2048 }, | ||
331 | }; | 338 | }; |
332 | 339 | ||
333 | /* OMAP2 DSS Features */ | 340 | /* OMAP2 DSS Features */ |
@@ -465,6 +472,10 @@ static const struct ti_hdmi_ip_ops omap4_hdmi_functions = { | |||
465 | .dump_core = ti_hdmi_4xxx_core_dump, | 472 | .dump_core = ti_hdmi_4xxx_core_dump, |
466 | .dump_pll = ti_hdmi_4xxx_pll_dump, | 473 | .dump_pll = ti_hdmi_4xxx_pll_dump, |
467 | .dump_phy = ti_hdmi_4xxx_phy_dump, | 474 | .dump_phy = ti_hdmi_4xxx_phy_dump, |
475 | #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \ | ||
476 | defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE) | ||
477 | .audio_enable = ti_hdmi_4xxx_wp_audio_enable, | ||
478 | #endif | ||
468 | 479 | ||
469 | }; | 480 | }; |
470 | 481 | ||