video: tegra: dc: add set_cursor_position()
authorAndy Ritger <aritger@nvidia.com>
Fri, 19 Jul 2013 07:26:50 +0000 (00:26 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:33:05 +0000 (13:33 -0700)
commitec225adb81c175ff85fbfc0677e8e63f147cd53c
treec5ec7b3af419a4241d1184c3d942352701234a82
parentbc205f42ea3ed77f2e7c6d98e9c41ab88bc12b99
video: tegra: dc: add set_cursor_position()

Move programming of DC_DISP_CURSOR_POSITION, and the CURSOR_UPDATE write
to DC_CMD_STATE_CONTROL, to set_cursor_position().

The return value from set_cursor_position() indicates whether it requires
a GENERAL_UPDATE.

Change-Id: Ib836f764caf08a1ec631b0c6fa6a1c77ece5c90d
Signed-off-by: Andy Ritger <aritger@nvidia.com>
Reviewed-on: http://git-master/r/251265
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/ext/cursor.c