Message ID | 1402323059-7682-1-git-send-email-a.hajda@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Gently ping. Regards Andrzej On 06/09/2014 04:10 PM, Andrzej Hajda wrote: > The patch disables non-enabled HW windows on applying > configuration, it will allow to clear windows enabled > by bootloader. > > Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> > --- > drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c > index bb45ab2..33161ad 100644 > --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c > +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c > @@ -741,6 +741,8 @@ static void fimd_apply(struct exynos_drm_manager *mgr) > win_data = &ctx->win_data[i]; > if (win_data->enabled) > fimd_win_commit(mgr, i); > + else > + fimd_win_disable(mgr, i); > } > > fimd_commit(mgr);
On 2014? 06? 23? 21:12, Andrzej Hajda wrote: > Gently ping. Oops, sorry. Applied. Thanks, Inki Dae > > Regards > Andrzej > > On 06/09/2014 04:10 PM, Andrzej Hajda wrote: >> The patch disables non-enabled HW windows on applying >> configuration, it will allow to clear windows enabled >> by bootloader. >> >> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> >> --- >> drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c >> index bb45ab2..33161ad 100644 >> --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c >> +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c >> @@ -741,6 +741,8 @@ static void fimd_apply(struct exynos_drm_manager *mgr) >> win_data = &ctx->win_data[i]; >> if (win_data->enabled) >> fimd_win_commit(mgr, i); >> + else >> + fimd_win_disable(mgr, i); >> } >> >> fimd_commit(mgr); > >
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index bb45ab2..33161ad 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fimd.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fimd.c @@ -741,6 +741,8 @@ static void fimd_apply(struct exynos_drm_manager *mgr) win_data = &ctx->win_data[i]; if (win_data->enabled) fimd_win_commit(mgr, i); + else + fimd_win_disable(mgr, i); } fimd_commit(mgr);
The patch disables non-enabled HW windows on applying configuration, it will allow to clear windows enabled by bootloader. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 2 ++ 1 file changed, 2 insertions(+)