aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-11-17 02:49:40 -0500
committerDave Airlie <[email protected]>2010-11-18 14:56:19 +1000
commitc7a71fc761551dc8be8543f14a90d08cda4e77f9 (patch)
tree2df711f43dc1375ccf67698c2bfad10ae4be8349 /scripts/basic/docproc.c
parentba251bde9ab8bdce8fbd3f60dbb71b36cc4c9adf (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 <[email protected]> Cc: [email protected] Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions