S5PV210: added parameters for CPU interface to plat-samsung/fb.h
Subsystems (3)
PATCH 2/3 S5PV210: added parameters for CPU interface to plat-samsung/fb.h
S5PV210: added parameters for CPU interface to plat-samsung/fb.h
MIPI-DSI driver would use s3c-fb driver so I added some parameters because MIPI-DSI driver supports CPU interface also.
--- arch/arm/plat-samsung/include/plat/fb.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)
arch/arm/plat-samsung/include/plat/fb.h +10 -1
@@ -22,14 +22,21 @@*/ #define S3C_FB_MAX_WIN (5) +enum { +FIMD_VIDEO_MODE =0 , +FIMD_CPU_MODE +}; +/** * struct s3c_fb_pd_win - per window setup data -* @win_mode: The display parameters to initialise (not for window 0) +* @win_mode: The display parameters to RGB interface +* @cpu_mode: The display parameters to CPU interface * @virtual_x: The virtual X size. * @virtual_y: The virtual Y size. */ struct s3c_fb_pd_win {struct fb_videomode win_mode; +struct fb_cpumode cpu_mode;unsigned short default_bpp;unsigned short max_bpp;
@@ -43,6 +50,7 @@ struct s3c_fb_pd_win {* the data from the display system to the connected display * device. * @default_win: default window layer number to be used for UI layer. +* @interface_mode: cpu mode or rgb mode. * @vidcon0: The base vidcon0 values to control the panel data format. * @vidcon1: The base vidcon1 values to control the panel data output. * @win: The setup data for each hardware window, or NULL for unused.
@@ -59,6 +67,7 @@ struct s3c_fb_platdata {struct s3c_fb_pd_win *win[S3C_FB_MAX_WIN ]; +u32 interface_mode;u32 default_win;u32 vidcon0;
Signature · 1 line
1.5.4.3
PATCH 2/3 S5PV210: added parameters for CPU interface to plat-samsung/fb.h
Quoted 12 lines · Inki Dae
S5PV210: added parameters for CPU interface to
plat-samsung/fb.hMIPI-DSI driver would use s3c-fb driver so I added some parameters because MIPI-DSI driver supports CPU interface also.
Signed-off-by Inki Dae <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- arch/arm/plat-samsung/include/plat/fb.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)
Please add Ben and my e-mail in Cc next time.
Ben and me are
Quoted 6 lines
arch/arm/plat- renamed from arch/arm/plat-samsung/include/plat/fb.h +0
-0
samsung/include/plat/fb.h
index cb3ca3a..1ba0ae0 100644
arch/arm/plat-samsung/include/plat/fb.h line 29
Quoted 8 lines
arch/arm/plat-samsung/include/plat/fb.h +5
-0@@ -22,14 +22,21 @@*/ #define S3C_FB_MAX_WIN (5) +enum { +FIMD_VIDEO_MODE =0 , +FIMD_CPU_MODE +}; +
Could you please explain about above modes?
arch/arm/plat-samsung/include/plat/fb.h line 40
Quoted 12 lines
arch/arm/plat-samsung/include/plat/fb.h +3
-1/** * struct s3c_fb_pd_win - per window setup data -* @win_mode: The display parameters to initialise (not for window 0) +* @win_mode: The display parameters to RGB interface +* @cpu_mode: The display parameters to CPU interface * @virtual_x: The virtual X size. * @virtual_y: The virtual Y size. */ struct s3c_fb_pd_win {struct fb_videomode win_mode; +struct fb_cpumode cpu_mode;
What's difference between win_mode and cpu_mode?
Quoted 11 lines
arch/arm/plat-samsung/include/plat/fb.h +1
-0unsigned short default_bpp;unsigned short max_bpp;@@ -43,6 +50,7 @@ struct s3c_fb_pd_win {* the data from the display system to the connected display * device. * @default_win: default window layer number to be used for UI layer. +* @interface_mode: cpu mode or rgb mode. * @vidcon0: The base vidcon0 values to control the panel data format. * @vidcon1: The base vidcon1 values to control the panel data output. * @win: The setup data for each hardware window, or NULL for unused.
arch/arm/plat-samsung/include/plat/fb.h struct s3c_fb_platdata { · line 70
Quoted 4 lines
arch/arm/plat-samsung/include/plat/fb.h +1
-0@@ -59,6 +67,7 @@ struct s3c_fb_platdata {struct s3c_fb_pd_win *win[S3C_FB_MAX_WIN ]; +u32 interface_mode;
Hmm...mode, mode, mode...:-(
Quoted 6 lines
arch/arm/plat-samsung/include/plat/fb.h +0
-1u32 default_win;u32 vidcon0; --1.5.4.3
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
PATCH 2/3 S5PV210: added parameters for CPU interface to plat-samsung/fb.h
Quoted 37 lines
-----Original Message-----
From: Kukjin Kim [mailto:kgene.kim at samsung.com]
Sent: Monday, November 22, 2010 10:29 AM
To: 'Inki Dae'; linux-fbdev at vger.kernel.org; linux-arm- kernel at lists.infradead.org
Cc: kyungmin.park at samsung.com; lethal at linux-sh.org; akpm at linux- foundation.org; ben-linux at fluff.org
Subject: RE: [PATCH 2/3] S5PV210: added parameters for CPU interface toplat-samsung/fb.hQuoted 12 lines · Inki Dae
S5PV210: added parameters for CPU interface to
plat-samsung/fb.hMIPI-DSI driver would use s3c-fb driver so I added some parameters because MIPI-DSI driver supports CPU interface also.
Signed-off-by Inki Dae <[email protected]>Signed-off-by Kyungmin Park <[email protected]>--- arch/arm/plat-samsung/include/plat/fb.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-)Please add Ben and my e-mail in Cc next time.
Ben and me areQuoted 9 lines
arch/arm/plat- renamed from arch/arm/plat-samsung/include/plat/fb.h +0
-0
samsung/include/plat/fb.h
index cb3ca3a..1ba0ae0 100644arch/arm/plat-samsung/include/plat/fb.h +0
-0@@ -22,14 +22,21 @@*/ #define S3C_FB_MAX_WIN (5)
Quoted 8 lines
arch/arm/plat-samsung/include/plat/fb.h line 29
Quoted 5 lines
arch/arm/plat-samsung/include/plat/fb.h +5
-0+enum { +FIMD_VIDEO_MODE =0 , +FIMD_CPU_MODE +}; +Could you please explain about above modes?
The way of transferring vido data consists of VIDEO(RGB) and CPU(I80 or COMMAND) mode.
VIDEO mode transfers automatically video data(framebuffer) to LCD Panel through RGB Interface in 60fps.
On the other hand, in case of CPU mode, video data are transferred by ARM processor or
any hardware supporting CPU mode emulation such as FIMD hardware for S5PC110, S5PC210 and so on.
A difference between VIDEO and CPU mode is that CPU mode needs trigger signal.
(video data isn't transferred automatically)
MIPI-DSI driver uses s3c-fb driver so this driver should consider CPU mode also.
Now, s3c-fb driver is just considering only RGB interface.
Thank you.
Quoted 47 lines
arch/arm/plat-samsung/include/plat/fb.h line 40
Quoted 12 lines
arch/arm/plat-samsung/include/plat/fb.h +3
-1/** * struct s3c_fb_pd_win - per window setup data -* @win_mode: The display parameters to initialise (not for window 0) +* @win_mode: The display parameters to RGB interface +* @cpu_mode: The display parameters to CPU interface * @virtual_x: The virtual X size. * @virtual_y: The virtual Y size. */ struct s3c_fb_pd_win {struct fb_videomode win_mode; +struct fb_cpumode cpu_mode;What's difference between
win_modeandcpu_mode?Quoted 11 lines
arch/arm/plat-samsung/include/plat/fb.h +1
-0unsigned short default_bpp;unsigned short max_bpp;@@ -43,6 +50,7 @@ struct s3c_fb_pd_win {* the data from the display system to the connected display * device. * @default_win: default window layer number to be used for UI layer. +* @interface_mode: cpu mode or rgb mode. * @vidcon0: The base vidcon0 values to control the panel data format. * @vidcon1: The base vidcon1 values to control the panel data output. * @win: The setup data for each hardware window, or NULL for unused. arch/arm/plat-samsung/include/plat/fb.h struct s3c_fb_platdata { · line 70
Quoted 4 lines
arch/arm/plat-samsung/include/plat/fb.h +1
-0@@ -59,6 +67,7 @@ struct s3c_fb_platdata {struct s3c_fb_pd_win *win[S3C_FB_MAX_WIN ]; +u32 interface_mode;Hmm...mode, mode, mode...:-(
Quoted 6 lines
arch/arm/plat-samsung/include/plat/fb.h +0
-1u32 default_win;u32 vidcon0; --1.5.4.3
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.