From: Dave Airlie Date: Thu, 28 Jan 2010 07:15:25 +0000 (+1000) Subject: drm/kms/radeon: pick digitial encoders smarter. (v3) X-Git-Tag: v2.6.33-rc7~46^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f28cf33945cc112f8ee835512b7440905dc29ad2;p=pandora-kernel.git drm/kms/radeon: pick digitial encoders smarter. (v3) booting a Lenovo W500 with LVDS + DP outputs showed up a TODO we had on our list, to pick a correct digital encoder block. The LVTMA encoder requires the second digital encoder, all others can use any encoder at all. This fixes the digital encoder selection logic to enable LVDS/DP combos to work okay. V2: fix silly addition of connector dig_block and cleanup the other places in the code that pick the encoder. V3: rename to dig_encoder and clean up further - also fix the picking algorithm. tested on Lenovo W500 + desktop 3650 cards. Signed-off-by: Dave Airlie --- Reading git-diff-tree failed