Skip to content

Commit 1583c8d

Browse files
committed
drivers/gpu/drm/amd/display/dc/hpo/dcn30/dcn30_hpo_hdmi_stream_encoder.c: fix pixel encoding
1 parent e8bb73d commit 1583c8d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

drivers/gpu/drm/amd/display/dc/hpo/dcn30/dcn30_hpo_hdmi_stream_encoder.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,10 @@ static void dcn30_hpo_hdmi_stream_enc_setup_stream_attribute(
298298
case PIXEL_ENCODING_YCBCR422:
299299
pixel_encoding = 1;
300300
break;
301-
case PIXEL_ENCODING_YCBCR444:
302-
pixel_encoding = 2;
303-
break;
304301
case PIXEL_ENCODING_YCBCR420:
305-
pixel_encoding = 3;
302+
pixel_encoding = 2;
306303
break;
304+
case PIXEL_ENCODING_YCBCR444:
307305
default: /* RGB */
308306
pixel_encoding = 0;
309307
break;

0 commit comments

Comments
 (0)