summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/mdfld_tpo_cmd.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-07-15 17:35:49 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-15 19:05:08 +0200
commit3a970ac1b14cf1a49076d69369aa75a23d4ad2db (patch)
tree3127d9283a87f2f5d8cda61522de225b96b31e72 /drivers/staging/gma500/mdfld_tpo_cmd.c
parent3caa89e933646263cb4efedd5660dba00a107b51 (diff)
downloadop-kernel-dev-3a970ac1b14cf1a49076d69369aa75a23d4ad2db.zip
op-kernel-dev-3a970ac1b14cf1a49076d69369aa75a23d4ad2db.tar.gz
gma500: Clean up the DPU config and make it runtime
We really don't want this all done by ifdeffery - and this isn't any need as it's fairly easy to sort out. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/gma500/mdfld_tpo_cmd.c')
-rw-r--r--drivers/staging/gma500/mdfld_tpo_cmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/gma500/mdfld_tpo_cmd.c b/drivers/staging/gma500/mdfld_tpo_cmd.c
index 4cf7647..c7f7c9c 100644
--- a/drivers/staging/gma500/mdfld_tpo_cmd.c
+++ b/drivers/staging/gma500/mdfld_tpo_cmd.c
@@ -29,7 +29,7 @@
#include "mdfld_dsi_dpi.h"
#include "mdfld_dsi_output.h"
#include "mdfld_output.h"
-
+#include "mdfld_dsi_dbi_dpu.h"
#include "mdfld_dsi_pkg_sender.h"
#include "displays/tpo_cmd.h"
@@ -359,15 +359,11 @@ static void mdfld_dsi_dbi_commit(struct drm_encoder *encoder)
if (dbi_output->channel_num == 1) {
dev_priv->dsr_fb_update |= MDFLD_DSR_2D_3D_2;
-#ifdef CONFIG_MDFLD_DSI_DPU
/*if dpu enabled report a fullscreen damage*/
mdfld_dbi_dpu_report_damage(dev, MDFLD_PLANEC, &rect);
-#endif
} else {
dev_priv->dsr_fb_update |= MDFLD_DSR_2D_3D_0;
-#ifdef CONFIG_MDFLD_DSI_DPU
mdfld_dbi_dpu_report_damage(dev, MDFLD_PLANEA, &rect);
-#endif
}
dbi_output->mode_flags |= MODE_SETTING_ENCODER_DONE;
}
OpenPOWER on IntegriCloud