From ad2a9ce0d95b2dfd9d54bf623b7056ce59e791b2 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Wed, 27 Nov 2013 18:15:05 +0000 Subject: [PATCH] drm: Always ask the HDMI sink to underscan We really only produce underscanned fbs. While we may want to add a mechanism to describe overscan borders in the future, this will ensure that sinks don't overscan when using a CE video format. Signed-off-by: Damien Lespiau --- drivers/gpu/drm/drm_edid.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index fb7cf0e..c698372 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -3526,6 +3526,7 @@ drm_hdmi_avi_infoframe_from_display_mode(struct hdmi_avi_infoframe *frame, frame->video_code = drm_match_cea_mode(mode); + frame->scan_mode = HDMI_SCAN_MODE_UNDERSCAN; frame->picture_aspect = HDMI_PICTURE_ASPECT_NONE; frame->active_aspect = HDMI_ACTIVE_ASPECT_PICTURE; -- 1.8.3.1