Re: [PATCH] video: s3c-fb: fix transparency length for pixel blending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/07/2011 06:03 AM, Jingoo Han wrote:
> Transparency length is fixed for pixel blending in order to support
> ARGB 8888 format.
> 
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

Applied this patch.


Thanks,

Florian Tobias Schandinat

> ---
>  drivers/video/s3c-fb.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
> index 0753b1c..12eaee0 100644
> --- a/drivers/video/s3c-fb.c
> +++ b/drivers/video/s3c-fb.c
> @@ -621,7 +621,8 @@ static int s3c_fb_set_par(struct fb_info *info)
>  		} else if (var->transp.length == 1)
>  			data |= WINCON1_BPPMODE_25BPP_A1888
>  				| WINCON1_BLD_PIX;
> -		else if (var->transp.length == 4)
> +		else if ((var->transp.length == 4) ||
> +			(var->transp.length == 8))
>  			data |= WINCON1_BPPMODE_28BPP_A4888
>  				| WINCON1_BLD_PIX | WINCON1_ALPHA_SEL;
>  		else

--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux