From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Marius_Gr=F6ger?= Subject: Re: [PATCH 2/2] drm/radeon/kms: enable underscan option for digital connectors Date: Sun, 08 Aug 2010 14:16:53 +0200 Message-ID: <4C5EA035.9010703@googlemail.com> References: <1280879960-2065-1-git-send-email-alexdeucher@gmail.com> <4C595C9C.60503@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-ew0-f49.google.com (mail-ew0-f49.google.com [209.85.215.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F2879E80D for ; Sun, 8 Aug 2010 05:16:55 -0700 (PDT) Received: by ewy9 with SMTP id 9so3749424ewy.36 for ; Sun, 08 Aug 2010 05:16:55 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Alex Deucher Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Am 04.08.2010 16:35, schrieb Alex Deucher: > 2010/8/4 Marius Gr=F6ger: >> Am 04.08.2010 01:59, schrieb Alex Deucher: >>> >>> This connector attribute allows you to enable or disable underscan >>> on a digital output to compensate for panels that automatically >>> overscan (e.g., many HDMI TVs). Valid values for the attribute are: >>> >>> off - forces underscan off >>> on - forces underscan on >>> auto - enables underscan if an HDMI TV is connected, off otherwise >>> >>> default value is auto. >> >> Terrific! Two questions: >> >> - inevitably, on my TV Set (SONY KDL 3000) this now doing too much >> underscan. In pixels: without your patch, I used a custom modeline to >> map 1280x720p to 1220x680p, so I'm 40 pixels down in each dimension. How= to >> fix that? > > Adjust radeon_crtc->v_border and radeon_crtc->h_border in the patch to > whatever size you want. Thanks. It turns out that I need different values to fit the screen = (probably due to native 1366/768 !=3D 1280/720). This is of course at the = cost of slightly changing the rendered ratio, but that's fine with me. Any plans to make those values tunables? Also, I kind of was hoping that once I could use 1280x720 for both the = console and the X screen, it would would allow me to switch between the = two transparently. Instead, the TV takes notice of the switch and needs = some extra syncing time. Is this expected behaviour? Thanks Marius