Re: [PATCH] video imx-ipu-fb: add clear screen

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

 



On 13:46 Fri 07 Sep     , Alex Gershgorin wrote:
> This patch clear screen before usage
> 
> Signed-off-by: Alex Gershgorin <alexg@xxxxxxxxxxxxxx>
> ---
>  drivers/video/imx-ipu-fb.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/video/imx-ipu-fb.c b/drivers/video/imx-ipu-fb.c
> index 8039de0..d46cced 100644
> --- a/drivers/video/imx-ipu-fb.c
> +++ b/drivers/video/imx-ipu-fb.c
> @@ -1012,6 +1012,10 @@ static int imxfb_probe(struct device_d *dev)
>  					       (info->bits_per_pixel >> 3));
>  		if (!fbi->info.screen_base)
>  			return -ENOMEM;
> +
> +		/* Clear the screen */
> +		memset((char *)fbi->info.screen_base, 0,
> +		info->xres * info->yres * (info->bits_per_pixel >> 3));
no do not so
wait a few and use the splash command ot specify a background

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux