From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH] drm/edid: request HDMI underscan by default Date: Thu, 27 Feb 2014 17:42:36 +0200 Message-ID: <20140227154236.GL3852@intel.com> References: <1393514370-27548-1-git-send-email-drake@endlessm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 47F38FB74C for ; Thu, 27 Feb 2014 07:42:41 -0800 (PST) Content-Disposition: inline In-Reply-To: <1393514370-27548-1-git-send-email-drake@endlessm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Daniel Drake Cc: mjg59@srcf.ucam.org, dri-devel@lists.freedesktop.org, treding@nvidia.com List-Id: dri-devel@lists.freedesktop.org On Thu, Feb 27, 2014 at 09:19:30AM -0600, Daniel Drake wrote: > Working with HDMI TVs is a real pain as they tend to overscan by > default, meaning that the pixels around the edge of the framebuffer > are not displayed. This is well explained here: > http://mjg59.dreamwidth.org/8705.html > = > There is a bit in the HDMI info frame that can request that the > remote display shows the full pixel data ("underscan"). For the > remote display, the HDMI spec states that this is optional - it > doesn't have to listen. That means that most TVs will probably ignore > this. > = > But, maybe there are a handful of TVs for which this would help > the situation. As we live in a digital world, ask the remote > display not to overscan by default. > = > Signed-off-by: Daniel Drake Reviewed-by: Ville Syrj=E4l=E4 > --- > drivers/gpu/drm/drm_edid.c | 1 + > 1 file changed, 1 insertion(+) > = > Replaces the patch titled "video: hdmi: request underscan by default" > This version moves the change to the DRM layer, as requested by > Ville Syrj=E4l=E4. > = > diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c > index b924306..f8d8a1d 100644 > --- a/drivers/gpu/drm/drm_edid.c > +++ b/drivers/gpu/drm/drm_edid.c > @@ -3599,6 +3599,7 @@ drm_hdmi_avi_infoframe_from_display_mode(struct hdm= i_avi_infoframe *frame, > = > frame->picture_aspect =3D HDMI_PICTURE_ASPECT_NONE; > frame->active_aspect =3D HDMI_ACTIVE_ASPECT_PICTURE; > + frame->scan_mode =3D HDMI_SCAN_MODE_UNDERSCAN; > = > return 0; > } > -- = > 1.8.3.2 -- = Ville Syrj=E4l=E4 Intel OTC