# Re: \[PATCH 3/8\] pxa: fix offset setting at initialization

- From: Jun Nie \<hidden\>
- Date: 2009-11-12 02:17:21 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2009/11/8539119
- Thread: https://ratatoskr.run/linux-arm-kernel/2009/11/8539013/t.md

```text
2009/11/10 Jun Nie [ref]:
> From c4f8923a0d532a1f1b5defed639ef818a0d7a270 Mon Sep 17 00:00:00 2001
> From: Jun Nie <redacted>
> Date: Tue, 10 Nov 2009 09:33:49 +0800
> Subject: [PATCH] pxa: fix offset setting at initialization
>
> Signed-off-by: Jun Nie <redacted>
> ---
>  drivers/video/pxa168fb.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c
> index 50f72e9..55c69a1 100644
> --- a/drivers/video/pxa168fb.c
> +++ b/drivers/video/pxa168fb.c
> @@ -765,6 +765,7 @@ static int __init pxa168fb_probe(struct
> platform_device *pdev)
>        }
>
>        info->fix.smem_start = (unsigned long)fbi->fb_start_dma;
> +       set_graphics_start(info, 0, 0);
>
>        /*
>         * Set video mode according to platform data.
> --
> 1.5.4.3
>
patch attached.
```

## Attachments

- [0003-pxa-fix-offset-setting-at-initialization.patch](https://ratatoskr.run/linux-fbdev/2009/11/8539119/attachment/0) (text/x-diff, 741 bytes)
