]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dc: Fix HDMI cert compliance
authorAly Hirani <ahirani@nvidia.com>
Thu, 10 Sep 2015 05:07:39 +0000 (22:07 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 29 Sep 2015 03:39:14 +0000 (20:39 -0700)
commit31cf7047568e67f696a1c8cfb8689f651c88f0d8
tree5a6107bb5fcfc1e3c011bd1b002b351a18da8e93
parent6725dcabb71f3407785c03ef35d98c119e6f5fb1
video: tegra: dc: Fix HDMI cert compliance

This change fixes the HDMI cert compliance for the 23.976 Hz mode. In
that mode, we were not setting the extended_vic correctly (it was being
set as 0). This was because the 23.976's fb_videomode didn't match
exactly to the 24 Hz one specified in the hardcoded list.

This is only a short-term WAR to remove the VMODE and fix the pclk
before comparing the fb_videomodes. It also removes the comparison on
the fb_videomode's refresh field (which unfortunately is not accurate at
all due to all the rounding that we've had to do because of 23.976 Hz
modes).

As a temporary WAR, this change replaces the fb_mode_is_equal() call
with an expanded if check. This probably needs be redone before
integration to other branches, but should fix the associated cert
failure.

Bug 200137448

Change-Id: Ica8bfd6c2292acd7911f33fe317dad107ae571c7
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/796834
(cherry picked from commit e16a46f307d9195d0fe84755fc983cc6e92c7d9b)
Reviewed-on: http://git-master/r/805078
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/video/tegra/dc/hdmi2.0.c