diff mbox

drm/exynos: disable unused windows on apply

Message ID 1402323059-7682-1-git-send-email-a.hajda@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrzej Hajda June 9, 2014, 2:10 p.m. UTC
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(+)

Comments

Andrzej Hajda June 23, 2014, 12:12 p.m. UTC | #1
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);
Inki Dae June 23, 2014, 12:43 p.m. UTC | #2
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 mbox

Patch

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);