From: Egbert Eich Subject: Re: [PATCH v2] drm/ast: Improve mode matching Date: Wed, 27 Aug 2014 14:28:26 +0200 Message-ID: <21501.52970.104639.832209@linux-qknr.fritz.box> References: <1408676418-29890-2-git-send-email-yc_chen@aspeedtech.com> <1409102993-1265-1-git-send-email-yc_chen@aspeedtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTP id 571396E279 for ; Wed, 27 Aug 2014 05:29:15 -0700 (PDT) In-Reply-To: yc_chen@aspeedtech.com wrote on Wednesday, 27 August 2014 at 09:29:53 +0800 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: "Y.C. Chen" Cc: airlied@redhat.com, dri-devel@lists.freedesktop.org, eich@suse.com List-Id: dri-devel@lists.freedesktop.org Hi YC, you should probably be a bit more verbose in your changelog entry. As subject something like: Add reduced blanking modes for wide screen mode As text: Add reduced blanking modes, improve mode matching to identify these modes by their sync polarities. Y.C. Chen writes: > From: "Y.C. Chen" > > Signed-off-by: Egbert Eich > Signed-off-by: Y.C. Chen > > v2: Add two pass mode selection, first try to match sync polarities and refresh > if this fails, try matching refresh only. Suggested by: Egbert Eich > @@ -99,6 +104,8 @@ static struct ast_vbios_dclk_info dclk_table[] = { > {0x25, 0x65, 0x80}, /* 16: VCLK88.75 */ > {0x77, 0x58, 0x80}, /* 17: VCLK119 */ > {0x32, 0x67, 0x80}, /* 18: VCLK85_5 */ > + {0x6a, 0x6d, 0x80}, /* 19: VCLK97_75 */ Weren't you going to put this line into a separate patch - as it fixes a 'run off the end of the list' bug? > + {0x3b, 0x2c, 0x81}, /* 1A: VCLK118_25 */ > }; > > static struct ast_vbios_stdtable vbios_stdtable[] = { > @@ -245,8 +252,10 @@ static struct ast_vbios_enhtable res_1360x768[] = { I've tested your patches, so with the above changes: Tested-by: Egbert Eich Cheers, Egbert.