[PATCH v2 0/1] media: video: s5p-g2d: Add support for FIMG2D v41 H/W logic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patches are created against "media-for-next" branch of kmpark's tree at:
git://git.infradead.org/users/kmpark/linux-2.6-samsung

The existing G2D driver supports only FIMG2D v3 style H/W.
This Patch modifies the existing G2D driver to support FIMG2D v41 style H/W.
FIMG2D v41 is present in Exynos4x12 and Exynos52x0 boards.

Patchset 1: http://patchwork.linuxtv.org/patch/10330/

Changes from Patchset1:
	-- Define 2 device_type ids(TYPE_G2D_3X and TYPE_G2D_41X) instead of 3
	-- Replace scale_factor_to_fixed16 function by g2d_calc_scale_factor
	-- Rename g2d_cmd_stretch function as g2d_set_v41_stretch
	-- Define and use CMD_V3_ENABLE_STRETCH instead of using (1 << 4)

Hi Mr.Kyungmin Park,
I have defined only 2 type ids as per spec - TYPE_G2D_3X and TYPE_G2D_41X.
Also, this patch works with dummy clock scheme for sclk_fimg2d on Exynos5.

Hi Mr.Kamil,
I have made changes as per your comments.
Patch is tested for stretching, ROP and flip features on Exynos5.

To Kamil:
	media: video: s5p-g2d: Add support for FIMG2D v41 H/W logic

 drivers/media/video/s5p-g2d/g2d-hw.c   |   39 ++++++++++++++++++++++++++++---
 drivers/media/video/s5p-g2d/g2d-regs.h |    6 +++++
 drivers/media/video/s5p-g2d/g2d.c      |   23 +++++++++++++++++-
 drivers/media/video/s5p-g2d/g2d.h      |    9 ++++++-
 4 files changed, 70 insertions(+), 7 deletions(-)

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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux