]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Account for sink max TMDS clock when checking the port clock
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Sep 2016 13:51:43 +0000 (16:51 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Oct 2016 06:23:13 +0000 (08:23 +0200)
commit870a1fe68b27e6f27c52122a1be396be7466780c
tree5075ebd87238b1d0eb90f7cd502ceacfe99d6095
parent8947b0b70ac1f1cef37b37fdba54faaa36a798d3
drm/i915: Account for sink max TMDS clock when checking the port clock

It's perfectly legal for the sink to support 12bpc only for
some lower resolution modes, while the higher resolution modes
can only be used with 8bpc. So let's take the sink's max TMDS clock
into account before we go and decide that a particular mode can
be used with 12bpc.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-11-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_hdmi.c