commit | c7a71fc761551dc8be8543f14a90d08cda4e77f9 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Wed Nov 17 02:49:40 2010 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Thu Nov 18 14:56:19 2010 +1000 |
tree | 2df711f43dc1375ccf67698c2bfad10ae4be8349 | |
parent | ba251bde9ab8bdce8fbd3f60dbb71b36cc4c9adf [diff] |
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 <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>