From: Alex Deucher Date: Wed, 17 Nov 2010 07:49:40 +0000 (-0500) Subject: drm/radeon/kms/atom: set sane defaults in atombios_get_encoder_mode() X-Git-Tag: v2.6.37-rc3~8^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7a71fc761551dc8be8543f14a90d08cda4e77f9;p=pandora-kernel.git drm/radeon/kms/atom: set sane defaults in atombios_get_encoder_mode() If there was no connector mapped to the encoder, atombios_get_encoder_mode() returned 0 which is the id for DP. Return something sane instead based on the encoder id. This avoids hitting the DP paths on non-DP encoders. Signed-off-by: Alex Deucher Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed