mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
drm/radeon: fix typo in atombios_get_encoder_mode
comparing the encoder mode to the encoder id for DVO. Signed-off-by: Alex Deucher <[email protected]>
This commit is contained in:
parent
e729586e33
commit
a59fbb8e18
1 changed files with 2 additions and 1 deletions
|
|
@ -662,7 +662,8 @@ atombios_get_encoder_mode(struct drm_encoder *encoder)
|
|||
return ATOM_ENCODER_MODE_DP;
|
||||
|
||||
/* DVO is always DVO */
|
||||
if (radeon_encoder->encoder_id == ATOM_ENCODER_MODE_DVO)
|
||||
if ((radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_DVO1) ||
|
||||
(radeon_encoder->encoder_id == ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DVO1))
|
||||
return ATOM_ENCODER_MODE_DVO;
|
||||
|
||||
connector = radeon_get_connector_for_encoder(encoder);
|
||||
|
|
|
|||
Loading…
Reference in a new issue