Skip to content

Commit a6e78b3

Browse files
contactshashanksharmadanvet
authored andcommitted
video: Add new aspect ratios for HDMI 2.0
HDMI 2.0/CEA-861-F introduces two new aspect ratios: - 64:27 - 256:135 This patch adds enumeration for the new aspect ratios in the existing aspect ratio list. V2: rebase V3: rebase V4: Added r-b from Jose, Ack by Tomi Signed-off-by: Shashank Sharma <[email protected]> Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Jose Abreu <[email protected]> Acked-by: Tomi Valkeinen <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Emil Velikov <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 6dffd43 commit a6e78b3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

drivers/video/hdmi.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@ hdmi_picture_aspect_get_name(enum hdmi_picture_aspect picture_aspect)
533533
return "4:3";
534534
case HDMI_PICTURE_ASPECT_16_9:
535535
return "16:9";
536+
case HDMI_PICTURE_ASPECT_64_27:
537+
return "64:27";
538+
case HDMI_PICTURE_ASPECT_256_135:
539+
return "256:135";
536540
case HDMI_PICTURE_ASPECT_RESERVED:
537541
return "Reserved";
538542
}

include/linux/hdmi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ enum hdmi_picture_aspect {
7878
HDMI_PICTURE_ASPECT_NONE,
7979
HDMI_PICTURE_ASPECT_4_3,
8080
HDMI_PICTURE_ASPECT_16_9,
81+
HDMI_PICTURE_ASPECT_64_27,
82+
HDMI_PICTURE_ASPECT_256_135,
8183
HDMI_PICTURE_ASPECT_RESERVED,
8284
};
8385

0 commit comments

Comments
 (0)