File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -522,13 +522,15 @@ static int radeon_audio_set_avi_packet(struct drm_encoder *encoder,
522522 return err ;
523523 }
524524
525- if (drm_rgb_quant_range_selectable (radeon_connector_edid (connector ))) {
526- if (radeon_encoder -> output_csc == RADEON_OUTPUT_CSC_TVRGB )
527- frame .quantization_range = HDMI_QUANTIZATION_RANGE_LIMITED ;
528- else
529- frame .quantization_range = HDMI_QUANTIZATION_RANGE_FULL ;
530- } else {
531- frame .quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT ;
525+ if (radeon_encoder -> output_csc != RADEON_OUTPUT_CSC_BYPASS ) {
526+ if (drm_rgb_quant_range_selectable (radeon_connector_edid (connector ))) {
527+ if (radeon_encoder -> output_csc == RADEON_OUTPUT_CSC_TVRGB )
528+ frame .quantization_range = HDMI_QUANTIZATION_RANGE_LIMITED ;
529+ else
530+ frame .quantization_range = HDMI_QUANTIZATION_RANGE_FULL ;
531+ } else {
532+ frame .quantization_range = HDMI_QUANTIZATION_RANGE_DEFAULT ;
533+ }
532534 }
533535
534536 err = hdmi_avi_infoframe_pack (& frame , buffer , sizeof (buffer ));
You can’t perform that action at this time.
0 commit comments