projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0f482
)
drm/exynos: soft reset mixer before reconfigure after power-on
author
Rahul Sharma
<rahul.sharma@samsung.com>
Mon, 23 Jun 2014 05:32:24 +0000
(11:02 +0530)
committer
Inki Dae
<daeinki@gmail.com>
Tue, 24 Jun 2014 14:44:49 +0000
(23:44 +0900)
Mixer soft reset is a recommended step before reconfiguring
the mixer after power on. Mixer looses the previous state of
DMAs if soft reset. This is the recommendation from the
hardware team.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_mixer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/exynos/exynos_mixer.c
b/drivers/gpu/drm/exynos/exynos_mixer.c
index 6773b03fd9210867ed92a293ba3cca542e386ee2..6f1858187e28e018768ee2772ccafebf000eed67 100644
(file)
--- a/
drivers/gpu/drm/exynos/exynos_mixer.c
+++ b/
drivers/gpu/drm/exynos/exynos_mixer.c
@@
-1085,6
+1085,8
@@
static void mixer_poweron(struct exynos_drm_manager *mgr)
ctx->powered = true;
mutex_unlock(&ctx->mixer_mutex);
+ mixer_reg_writemask(res, MXR_STATUS, ~0, MXR_STATUS_SOFT_RESET);
+
mixer_reg_write(res, MXR_INT_EN, ctx->int_en);
mixer_win_reset(ctx);