diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-17 02:49:40 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-18 14:56:19 +1000 |
commit | c7a71fc761551dc8be8543f14a90d08cda4e77f9 (patch) | |
tree | 2df711f43dc1375ccf67698c2bfad10ae4be8349 /drivers/pci/vpd.c | |
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>
Diffstat (limited to 'drivers/pci/vpd.c')
0 files changed, 0 insertions, 0 deletions