Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 260069
b: refs/heads/master
c: c603685
h: refs/heads/master
i:
  260067: 85bbe14
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jul 15, 2011
1 parent 1d9e3f8 commit e6eaaf9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 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: 3a970ac1b14cf1a49076d69369aa75a23d4ad2db
refs/heads/master: c603685443208fa6c52d5080637b36bf7092ac69
6 changes: 6 additions & 0 deletions trunk/drivers/staging/gma500/mdfld_dsi_dbi.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ struct mdfld_dsi_dbi_output {
bool dbi_panel_on;
bool first_boot;
struct panel_funcs *p_funcs;

/* DPU */
u32 *dbi_cb_addr;
u32 dbi_cb_phy;
spinlock_t cb_lock;
u32 cb_write;
};

#define MDFLD_DSI_DBI_OUTPUT(dsi_encoder) \
Expand Down
10 changes: 5 additions & 5 deletions trunk/drivers/staging/gma500/mdfld_dsi_dbi_dpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static int mdfld_dpu_update_pipe(struct mdfld_dsi_dbi_output *dbi_output,
* added it so that text console could boot smoothly
*/
/* Clean pending flags on this pipe */
if (!ret && dev_priv->b_dsr_enable) {
if (!ret && dev_priv->dsr_enable) {
dpu_info->pending &= ~plane_mask;
/* Reset overlay pipe damage rect */
mdfld_dpu_init_damage(dpu_info, pipe);
Expand Down Expand Up @@ -527,7 +527,7 @@ static int __mdfld_dbi_exit_dsr(struct mdfld_dsi_dbi_output *dbi_output,
if (!dbi_output)
return 0;

/*if mode setting on-going, back off*/
/* If mode setting on-going, back off */
if ((dbi_output->mode_flags & MODE_SETTING_ON_GOING) ||
(psb_crtc && psb_crtc->mode_flags & MODE_SETTING_ON_GOING))
return -EAGAIN;
Expand All @@ -542,7 +542,7 @@ static int __mdfld_dbi_exit_dsr(struct mdfld_dsi_dbi_output *dbi_output,
reg_offset = MIPIC_REG_OFFSET;
}

if (!ospm_power_using_hw_begin(OSPM_DISPLAY_ISLAND, true))
if (!gma_power_begin(dev, true))
return -EAGAIN;

/* Enable DPLL */
Expand Down Expand Up @@ -585,9 +585,9 @@ static int __mdfld_dbi_exit_dsr(struct mdfld_dsi_dbi_output *dbi_output,
udelay(500);
}

ospm_power_using_hw_end(OSPM_DISPLAY_ISLAND);
gma_power_end(dev);

/*clean IN_DSR flag*/
/* Clean IN_DSR flag */
dbi_output->mode_flags &= ~MODE_SETTING_IN_DSR;

return 0;
Expand Down

0 comments on commit e6eaaf9

Please sign in to comment.