Skip to content

Commit a6ebd53

Browse files
committed
drm/i915/sdvo: Fix debug print
Correctly indicate which outputs we support in the debug print. Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jani Nikula <[email protected]>
1 parent 79708d1 commit a6ebd53

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

drivers/gpu/drm/i915/display/intel_sdvo.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3412,9 +3412,12 @@ bool intel_sdvo_init(struct drm_i915_private *dev_priv,
34123412
(intel_sdvo->caps.sdvo_inputs_mask & 0x2) ? 'Y' : 'N',
34133413
/* check currently supported outputs */
34143414
intel_sdvo->caps.output_flags &
3415-
(SDVO_OUTPUT_TMDS0 | SDVO_OUTPUT_RGB0) ? 'Y' : 'N',
3415+
(SDVO_OUTPUT_TMDS0 | SDVO_OUTPUT_RGB0 |
3416+
SDVO_OUTPUT_LVDS0 | SDVO_OUTPUT_SVID0 |
3417+
SDVO_OUTPUT_CVBS0 | SDVO_OUTPUT_YPRPB0) ? 'Y' : 'N',
34163418
intel_sdvo->caps.output_flags &
3417-
(SDVO_OUTPUT_TMDS1 | SDVO_OUTPUT_RGB1) ? 'Y' : 'N');
3419+
(SDVO_OUTPUT_TMDS1 | SDVO_OUTPUT_RGB1 |
3420+
SDVO_OUTPUT_LVDS1) ? 'Y' : 'N');
34183421
return true;
34193422

34203423
err_output:

0 commit comments

Comments
 (0)