]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/disp: activate dual link TMDS links only when possible
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 4 Nov 2015 02:00:10 +0000 (21:00 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:17:40 +0000 (11:17 +1000)
commitc064c3135946d84a914320ffad2b63042a0fb696
tree6038481aec26e431e3b78b940563a431a36e3850
parent81ca67169a25a6f415dbf10ebe671cea0fa47f32
drm/nouveau/disp: activate dual link TMDS links only when possible

Without this patch a pixel clock rate above 165 MHz on a TMDS link is
assumed to be dual link. This is true for DVI, but not for HDMI. HDMI
supports no dual link, but it supports pixel clock rates above 165 MHz.
Only activate Dual Link mode when it is actually possible and requested.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
[imirkin: check for hdmi monitor for computing proto, use sor ctrl to
 enable extra config bit]
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c