[media] s5p-g2d: Add support for G2D H/W Rev.4.1
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 17 Jan 2013 03:07:18 +0000 (00:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 19:30:14 +0000 (17:30 -0200)
commit62ce272d87f09f34f70a9b3f783783af6c1a09d8
tree7948ec1c0b9daaaae985b92aefaf362a74007d83
parent0e5d61d87b3a1ad5591e0dfbe4c548f862e9f5a6
[media] s5p-g2d: Add support for G2D H/W Rev.4.1

Modified the G2D driver (which initially supported only H/W Rev.3)
to support H/W Rev.4.1 present on Exynos4x12 and Exynos52x0 SOCs.
- Set the SRC and DST type to 'memory' instead of using reset values.
- FIMG2D v4.1 H/W uses different logic for stretching(scaling).
- Use CACHECTL_REG only with FIMG2D v3.
[s.nawrocki: removed empty line at end of file]]

Signed-off-by: Ajay Kumar <ajaykumar.rs@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-g2d/g2d-hw.c
drivers/media/platform/s5p-g2d/g2d-regs.h
drivers/media/platform/s5p-g2d/g2d.c
drivers/media/platform/s5p-g2d/g2d.h