RE: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Kukjin Kim
Leela Krishna Amudala wrote:
 
 Hello Kgene,
 
 On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim kgene@samsung.com wrote:
  Leela Krishna Amudala wrote:
 
  The FIMD register headers are moved to include/video/
  hence, deleting these files from platform side
 
  Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com
  ---
   arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -
   arch/arm/plat-samsung/include/plat/regs-fb.h|  403
  ---
  
   2 files changed, 0 insertions(+), 562 deletions(-)
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb.h
 
  No. This should be squashed into first patch on this series. See below.
 
   arch/arm/plat-samsung/include/plat/regs-fb-v4.h|  159
  
   .../plat/regs-fb.h = include/video/samsung_fimd.h |  145
  --
   2 files changed, 134 insertions(+), 170 deletions(-)
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
   rename arch/arm/plat-samsung/include/plat/regs-fb.h =
  include/video/samsung_fimd.h (74%)
 
 
 If I squash it with the first patch and if somebody set that as a head
 commit, it will break the build. Hence, splitted it up from the first
 patch.
 
NACK. your changes are not adding just moving. So should be squashed. If
required, you could create just one patch for moving them, probably, 1st,
3rd, 4th and 5th patches into one patch.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim kgene@samsung.com, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

 Thank you Sylwester for suggesting this split up change.
 
 Regards,
 Leela Krishna

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


Re: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Sylwester Nawrocki
Hi,

On 08/01/2012 11:39 AM, Kukjin Kim wrote:
 Leela Krishna Amudala wrote:
 On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim kgene@samsung.com wrote:
 Leela Krishna Amudala wrote:

 The FIMD register headers are moved to include/video/
 hence, deleting these files from platform side

 Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com
 ---
  arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -
  arch/arm/plat-samsung/include/plat/regs-fb.h|  403
 ---
 
  2 files changed, 0 insertions(+), 562 deletions(-)
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb.h

 No. This should be squashed into first patch on this series. See below.

  arch/arm/plat-samsung/include/plat/regs-fb-v4.h|  159
 
  .../plat/regs-fb.h = include/video/samsung_fimd.h |  145
 --
  2 files changed, 134 insertions(+), 170 deletions(-)
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
  rename arch/arm/plat-samsung/include/plat/regs-fb.h =
 include/video/samsung_fimd.h (74%)


 If I squash it with the first patch and if somebody set that as a head
 commit, it will break the build. Hence, splitted it up from the first
 patch.

 NACK. your changes are not adding just moving. So should be squashed. If
 required, you could create just one patch for moving them, probably, 1st,
 3rd, 4th and 5th patches into one patch.

Yes, this patch series is mainly moving files around. But to avoid git
bisect breakage, it should be split as it is done now, or the whole
series should be squashed into one patch. The latter might be even easier
to handle, but having a single patch touching arch/arm/ and drivers/
might not be a good idea. If you're fine handling that, then we just
need to squash this series into single patch.
It just need to be ensured, IMO, there is no bisection breakage.

--

Regards,
Sylwester
--
To unsubscribe from this list: send the line unsubscribe linux-samsung-soc in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-08-01 Thread Kukjin Kim
Sylwester Nawrocki wrote:
 
 Hi,
 
 On 08/01/2012 11:39 AM, Kukjin Kim wrote:
  Leela Krishna Amudala wrote:
  On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim kgene@samsung.com
 wrote:
  Leela Krishna Amudala wrote:
 
  The FIMD register headers are moved to include/video/
  hence, deleting these files from platform side
 
  Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com
  ---
   arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -
   arch/arm/plat-samsung/include/plat/regs-fb.h|  403
  ---
  
   2 files changed, 0 insertions(+), 562 deletions(-)
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb.h
 
  No. This should be squashed into first patch on this series. See
below.
 
   arch/arm/plat-samsung/include/plat/regs-fb-v4.h|  159
  
   .../plat/regs-fb.h = include/video/samsung_fimd.h |  145
  --
   2 files changed, 134 insertions(+), 170 deletions(-)
   delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
   rename arch/arm/plat-samsung/include/plat/regs-fb.h =
  include/video/samsung_fimd.h (74%)
 
 
  If I squash it with the first patch and if somebody set that as a head
  commit, it will break the build. Hence, splitted it up from the first
  patch.
 
  NACK. your changes are not adding just moving. So should be squashed. If
  required, you could create just one patch for moving them, probably,
1st,
  3rd, 4th and 5th patches into one patch.
 
 Yes, this patch series is mainly moving files around. But to avoid git
 bisect breakage, it should be split as it is done now, or the whole
 series should be squashed into one patch. The latter might be even easier
 to handle, but having a single patch touching arch/arm/ and drivers/
 might not be a good idea. If you're fine handling that, then we just
 need to squash this series into single patch.
 It just need to be ensured, IMO, there is no bisection breakage.
 
I know you meant. But we don't need to keep the changes 'adding and
removing' for just moving on this.

I commented on 0/5 patch in this series before, if this is ready, I will
create topic branch so that it could be merged into both mine and Florian's.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim kgene@samsung.com, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

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


[PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-07-31 Thread Leela Krishna Amudala
The FIMD register headers are moved to include/video/
hence, deleting these files from platform side

Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com
---
 arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -
 arch/arm/plat-samsung/include/plat/regs-fb.h|  403 ---
 2 files changed, 0 insertions(+), 562 deletions(-)
 delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
 delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb.h

diff --git a/arch/arm/plat-samsung/include/plat/regs-fb-v4.h 
b/arch/arm/plat-samsung/include/plat/regs-fb-v4.h
deleted file mode 100644
index 4c3647f..000
--- a/arch/arm/plat-samsung/include/plat/regs-fb-v4.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/* arch/arm/plat-samsung/include/plat/regs-fb-v4.h
- *
- * Copyright 2008 Openmoko, Inc.
- * Copyright 2008 Simtec Electronics
- *  http://armlinux.simtec.co.uk/
- *  Ben Dooks b...@simtec.co.uk
- *
- * S3C64XX - new-style framebuffer register definitions
- *
- * This is the register set for the new style framebuffer interface
- * found from the S3C2443 onwards and specifically the S3C64XX series
- * S3C6400 and S3C6410.
- *
- * The file contains the cpu specific items which change between whichever
- * architecture is selected. See plat/regs-fb.h for the core definitions
- * that are the same.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-/* include the core definitions here, in case we really do need to
- * override them at a later date.
-*/
-
-#include plat/regs-fb.h
-
-#define S3C_FB_MAX_WIN (5)  /* number of hardware windows available. */
-#define VIDCON1_FSTATUS_EVEN   (1  15)
-
-/* Video timing controls */
-#define VIDTCON0   (0x10)
-#define VIDTCON1   (0x14)
-#define VIDTCON2   (0x18)
-
-/* Window position controls */
-
-#define WINCON(_win)   (0x20 + ((_win) * 4))
-
-/* OSD1 and OSD4 do not have register D */
-
-#define VIDOSD_BASE(0x40)
-
-#define VIDINTCON0 (0x130)
-
-/* WINCONx */
-
-#define WINCONx_CSCWIDTH_MASK  (0x3  26)
-#define WINCONx_CSCWIDTH_SHIFT (26)
-#define WINCONx_CSCWIDTH_WIDE  (0x0  26)
-#define WINCONx_CSCWIDTH_NARROW(0x3  26)
-
-#define WINCONx_ENLOCAL(1  22)
-#define WINCONx_BUFSTATUS  (1  21)
-#define WINCONx_BUFSEL (1  20)
-#define WINCONx_BUFAUTOEN  (1  19)
-#define WINCONx_YCbCr  (1  13)
-
-#define WINCON1_LOCALSEL_CAMIF (1  23)
-
-#define WINCON2_LOCALSEL_CAMIF (1  23)
-#define WINCON2_BLD_PIX(1  6)
-
-#define WINCON2_ALPHA_SEL  (1  1)
-#define WINCON2_BPPMODE_MASK   (0xf  2)
-#define WINCON2_BPPMODE_SHIFT  (2)
-#define WINCON2_BPPMODE_1BPP   (0x0  2)
-#define WINCON2_BPPMODE_2BPP   (0x1  2)
-#define WINCON2_BPPMODE_4BPP   (0x2  2)
-#define WINCON2_BPPMODE_8BPP_1232  (0x4  2)
-#define WINCON2_BPPMODE_16BPP_565  (0x5  2)
-#define WINCON2_BPPMODE_16BPP_A1555(0x6  2)
-#define WINCON2_BPPMODE_16BPP_I1555(0x7  2)
-#define WINCON2_BPPMODE_18BPP_666  (0x8  2)
-#define WINCON2_BPPMODE_18BPP_A1665(0x9  2)
-#define WINCON2_BPPMODE_19BPP_A1666(0xa  2)
-#define WINCON2_BPPMODE_24BPP_888  (0xb  2)
-#define WINCON2_BPPMODE_24BPP_A1887(0xc  2)
-#define WINCON2_BPPMODE_25BPP_A1888(0xd  2)
-#define WINCON2_BPPMODE_28BPP_A4888(0xd  2)
-
-#define WINCON3_BLD_PIX(1  6)
-
-#define WINCON3_ALPHA_SEL  (1  1)
-#define WINCON3_BPPMODE_MASK   (0xf  2)
-#define WINCON3_BPPMODE_SHIFT  (2)
-#define WINCON3_BPPMODE_1BPP   (0x0  2)
-#define WINCON3_BPPMODE_2BPP   (0x1  2)
-#define WINCON3_BPPMODE_4BPP   (0x2  2)
-#define WINCON3_BPPMODE_16BPP_565  (0x5  2)
-#define WINCON3_BPPMODE_16BPP_A1555(0x6  2)
-#define WINCON3_BPPMODE_16BPP_I1555(0x7  2)
-#define WINCON3_BPPMODE_18BPP_666  (0x8  2)
-#define WINCON3_BPPMODE_18BPP_A1665(0x9  2)
-#define WINCON3_BPPMODE_19BPP_A1666(0xa  2)
-#define WINCON3_BPPMODE_24BPP_888  (0xb  2)
-#define WINCON3_BPPMODE_24BPP_A1887(0xc  2)
-#define WINCON3_BPPMODE_25BPP_A1888(0xd  2)
-#define WINCON3_BPPMODE_28BPP_A4888(0xd  2)
-
-#define VIDINTCON0_FIFIOSEL_WINDOW2(0x10  5)
-#define 

Re: [PATCH V2 5/5] arm: samsung: delete frame buffer header files from platform

2012-07-31 Thread Leela Krishna Amudala
Hello Kgene,

On Wed, Aug 1, 2012 at 7:34 AM, Kukjin Kim kgene@samsung.com wrote:
 Leela Krishna Amudala wrote:

 The FIMD register headers are moved to include/video/
 hence, deleting these files from platform side

 Signed-off-by: Leela Krishna Amudala l.kris...@samsung.com
 ---
  arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -
  arch/arm/plat-samsung/include/plat/regs-fb.h|  403
 ---
 
  2 files changed, 0 insertions(+), 562 deletions(-)
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb.h

 No. This should be squashed into first patch on this series. See below.

  arch/arm/plat-samsung/include/plat/regs-fb-v4.h|  159
 
  .../plat/regs-fb.h = include/video/samsung_fimd.h |  145
 --
  2 files changed, 134 insertions(+), 170 deletions(-)
  delete mode 100644 arch/arm/plat-samsung/include/plat/regs-fb-v4.h
  rename arch/arm/plat-samsung/include/plat/regs-fb.h =
 include/video/samsung_fimd.h (74%)


If I squash it with the first patch and if somebody set that as a head
commit, it will break the build. Hence, splitted it up from the first
patch.

Thank you Sylwester for suggesting this split up change.

Regards,
Leela Krishna

 Thanks.

 Best regards,
 Kgene.
 --
 Kukjin Kim kgene@samsung.com, Senior Engineer,
 SW Solution Development Team, Samsung Electronics Co., Ltd.

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