driver: video: skip unsupported mode based on lanes
authorAlvin Park <apark@nvidia.com>
Mon, 1 Jun 2015 01:50:21 +0000 (10:50 +0900)
committerMitch Luban <mluban@nvidia.com>
Thu, 4 Jun 2015 06:18:39 +0000 (23:18 -0700)
commit664074b959689bb5ac681bfd358d43c942e36120
tree7a3cf0b7b1528ae8789b0406492fbfc15d03e4f1
parentec9abe9e8651a9ac8778bdb27340e2ca86498f53
driver: video: skip unsupported mode based on lanes

Do not add unsupported mode based number of lanes on video driver
so that hwcomposer could not know unsupported mode.

For example, if number of lanes is 2, could not support 4K 60fps
Then kernel driver will not pass 4K 60fps to hwcomposer.

Bug 200106509

Change-Id: Ie8dbc434b5d6301d2c13241622a74783b053b0e6
Signed-off-by: Alvin Park <apark@nvidia.com>
Reviewed-on: http://git-master/r/749271
(cherry picked from commit 60b8c1aeaed587e35cee293cfbec5c7852d1e19e)
Reviewed-on: http://git-master/r/751150
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Documentation/devicetree/bindings/video/nvidia,tegra210-dp.txt
arch/arm/mach-tegra/include/mach/dc.h
drivers/video/tegra/dc/dp.c
drivers/video/tegra/dc/of_dc.c