video: tegra: dc: add advanced cursor support
authorKevin Huang <kevinh@nvidia.com>
Fri, 25 Jan 2013 19:31:17 +0000 (11:31 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:00:24 +0000 (13:00 -0700)
commit734193988a64ddc3bc233519bc908973866255b8
treedebd9022d93cb03b67ffe181045b62aba4c529eb
parentfcde04fd31e2d18a7e1762ea73dc66bba74fcf85
video: tegra: dc: add advanced cursor support

Support advanced display cursor for t11x and t14x.

For t14x, window H is set to window mode by default in the sense that
cursor is not necessary for most phones. It can be switched to cursor
mode as below.
echo 0 > /sys/class/graphics/fb0/device/win_h

To switch cursor between normal and legacy mode, user can set flag of
tegra_dc_ext_cursor through the ioctl TEGRA_DC_EXT_SET_CURSOR.

Change-Id: If5ef50401b8a2b2fd22500636d07506983aee0b5
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/194210
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
drivers/video/tegra/Kconfig
drivers/video/tegra/dc/dc.c
drivers/video/tegra/dc/dc_reg.h
drivers/video/tegra/dc/dc_sysfs.c
drivers/video/tegra/dc/ext/cursor.c
include/video/tegra_dc_ext.h