Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271394
b: refs/heads/master
c: 7e951ee
h: refs/heads/master
v: v3
  • Loading branch information
Archit Taneja authored and Tomi Valkeinen committed Sep 30, 2011
1 parent f4c1047 commit 0d9891f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 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: d604914484ccaaf33361558c9eb2abb441cf9d25
refs/heads/master: 7e951ee9955f3df0c41e523a199cc3b9372cdb9f
7 changes: 4 additions & 3 deletions trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -4123,9 +4123,10 @@ int dsi_init_display(struct omap_dss_device *dssdev)

DSSDBG("DSI init\n");

/* XXX these should be figured out dynamically */
dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
OMAP_DSS_DISPLAY_CAP_TEAR_ELIM;
if (dssdev->panel.dsi_mode == OMAP_DSS_DSI_CMD_MODE) {
dssdev->caps = OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE |
OMAP_DSS_DISPLAY_CAP_TEAR_ELIM;
}

if (dsi->vdds_dsi_reg == NULL) {
struct regulator *vdds_dsi;
Expand Down
7 changes: 7 additions & 0 deletions trunk/include/video/omapdss.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@ enum omap_dss_venc_type {
OMAP_DSS_VENC_TYPE_SVIDEO,
};

enum omap_dss_dsi_mode {
OMAP_DSS_DSI_CMD_MODE = 0,
OMAP_DSS_DSI_VIDEO_MODE,
};

enum omap_display_caps {
OMAP_DSS_DISPLAY_CAP_MANUAL_UPDATE = 1 << 0,
OMAP_DSS_DISPLAY_CAP_TEAR_ELIM = 1 << 1,
Expand Down Expand Up @@ -480,6 +485,8 @@ struct omap_dss_device {
int acb; /* ac-bias pin frequency */

enum omap_panel_config config;

enum omap_dss_dsi_mode dsi_mode;
} panel;

struct {
Expand Down

0 comments on commit 0d9891f

Please sign in to comment.