linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: s3c-fb: set missing bitmask of enabled hardware window
@ 2011-12-02 10:07 Jingoo Han
  2011-12-19 23:10 ` [PATCH] video: s3c-fb: set missing bitmask of enabled hardware Florian Tobias Schandinat
  0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2011-12-02 10:07 UTC (permalink / raw)
  To: linux-fbdev

This patch set missing bitmask of enabled hardware window which
should be checked whenever the hardware window is enabled.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/video/s3c-fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index 12eaee0..fc3df1d 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -574,6 +574,7 @@ static int s3c_fb_set_par(struct fb_info *info)
 	}
 
 	data = WINCONx_ENWIN;
+	sfb->enabled |= (1 << win->index);
 
 	/* note, since we have to round up the bits-per-pixel, we end up
 	 * relying on the bitfield information for r/g/b/a to work out
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] video: s3c-fb: set missing bitmask of enabled hardware
  2011-12-02 10:07 [PATCH] video: s3c-fb: set missing bitmask of enabled hardware window Jingoo Han
@ 2011-12-19 23:10 ` Florian Tobias Schandinat
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Tobias Schandinat @ 2011-12-19 23:10 UTC (permalink / raw)
  To: linux-fbdev

On 12/02/2011 10:07 AM, Jingoo Han wrote:
> This patch set missing bitmask of enabled hardware window which
> should be checked whenever the hardware window is enabled.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>

Applied.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/s3c-fb.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
> index 12eaee0..fc3df1d 100644
> --- a/drivers/video/s3c-fb.c
> +++ b/drivers/video/s3c-fb.c
> @@ -574,6 +574,7 @@ static int s3c_fb_set_par(struct fb_info *info)
>  	}
>  
>  	data = WINCONx_ENWIN;
> +	sfb->enabled |= (1 << win->index);
>  
>  	/* note, since we have to round up the bits-per-pixel, we end up
>  	 * relying on the bitfield information for r/g/b/a to work out


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-19 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 10:07 [PATCH] video: s3c-fb: set missing bitmask of enabled hardware window Jingoo Han
2011-12-19 23:10 ` [PATCH] video: s3c-fb: set missing bitmask of enabled hardware Florian Tobias Schandinat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).