Thread (20 messages) 20 messages, 6 authors, 2012-08-01
STALE5050d
Revisions (13)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v1 [diff vs current]
  6. v1 [diff vs current]
  7. v1 [diff vs current]
  8. v1 [diff vs current]
  9. v1 [diff vs current]
  10. v2 [diff vs current]
  11. v1 current
  12. v2 [diff vs current]
  13. v3 [diff vs current]

RE: [PATCH 1/3] Move FIMD register headers to include/video/

From: Kukjin Kim <hidden>
Date: 2012-08-01 01:46:31
Also in: dri-devel, linux-arm-kernel, linux-samsung-soc

Leela Krishna Amudala wrote:
Moved the contents of regs-fb-v4.h and regs-fb.h from arch side
to include/video/samsung_fimd.h

Signed-off-by: Leela Krishna Amudala <redacted>
---
 arch/arm/plat-samsung/include/plat/regs-fb-v4.h |  159 -------
 arch/arm/plat-samsung/include/plat/regs-fb.h    |  403 -----------------
 include/video/samsung_fimd.h                    |  533
+++++++++++++++++++++++
 3 files changed, 533 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
 create mode 100644 include/video/samsung_fimd.h
+ I have some comments on this.

[...]
+/* VIDCON0 */
I don't think above comment is needed because everybody knows that from the
name of VIDCON0_.
+
+#define VIDCON0					(0x00)
+#define VIDCON0_INTERLACE			(1 << 29)
+#define VIDCON0_VIDOUT_MASK			(0x3 << 26)
+#define VIDCON0_VIDOUT_SHIFT			(26)
I think, you can use either of the following.

+#define VIDCON0_VIDOUT_SHIFT			(26)
+#define VIDCON0_VIDOUT_MASK			(0x3 <<
VIDCON0_VIDOUT_SHIFT)

Or just without XXX_SHIFT if the XXX_SHIFT is not used somewhere else,

+#define VIDCON0_VIDOUT_MASK			(0x3 << 26)

[...]

Thanks.

Best regards,
Kgene.
--
Kukjin Kim [off-list ref], Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help