]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dc: tag vrr modes using vmode
authorDaniel Solomon <daniels@nvidia.com>
Sat, 14 Nov 2015 04:40:37 +0000 (20:40 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 4 Mar 2016 02:24:21 +0000 (18:24 -0800)
commit0dfabbdd9ba299e77730228f9c3077b542041b58
tree36612f946396d1254588e236826c93a65bf1cf61
parenteb62f6f4d5a1b3695fd4d3bb29d3225ec9397162
video: tegra: dc: tag vrr modes using vmode

HDMI VRR is supported only for some resolutions, and the kernel
driver is aware of these restrictions. For VRR monitors, the kernel
driver now duplicates and tags all compatible modes with the
FB_VMODE_VRR flag in the duplicate mode's fb_videomode vmode field.

The same behavior has been added to DSI as well for consistency.

The compatible modes are duplicated before being tagged so as to
not interfere with userspace configurations that do not support
the FB_VMODE_VRR flag.

Bug 1637861

Change-Id: I7acd1f9aa52096b0158ee40a1492bda59eef2bea
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/833037
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
arch/arm/mach-tegra/include/mach/fb.h
drivers/video/tegra/dc/dc_priv_defs.h
drivers/video/tegra/dc/dsi.c
drivers/video/tegra/dc/hdmi2.0.c
drivers/video/tegra/dc/hdmi2.0.h
drivers/video/tegra/dc/hdmi_state_machine.c
drivers/video/tegra/dc/hdmivrr.c
drivers/video/tegra/dc/hdmivrr.h
drivers/video/tegra/dc/hpd.c
drivers/video/tegra/fb.c
include/uapi/linux/fb.h