Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756040AbbLDJy5 (ORCPT ); Fri, 4 Dec 2015 04:54:57 -0500 Received: from mail-bn1on0091.outbound.protection.outlook.com ([157.56.110.91]:16464 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752123AbbLDJyv (ORCPT ); Fri, 4 Dec 2015 04:54:51 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; Subject: Re: [PATCH v2] drm/radeon: Retry DDC probing on DVI on failure if we got an HPD interrupt To: Boszormenyi Zoltan , , Alex Deucher , David Airlie , , References: <1449185167-6886-1-git-send-email-cpaul@redhat.com> <566154A0.5050205@amd.com> <56616029.1010007@pr.hu> CC: Jerome Glisse , Benjamin Tissoires From: =?UTF-8?Q?Christian_K=c3=b6nig?= Message-ID: <566162DA.40107@amd.com> Date: Fri, 4 Dec 2015 10:54:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <56616029.1010007@pr.hu> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [2a02:908:f678:3641:99a8:73e6:8d03:9bcb] X-ClientProxiedBy: AM3PR07CA0020.eurprd07.prod.outlook.com (10.141.45.148) To BY2PR12MB0130.namprd12.prod.outlook.com (25.162.82.156) X-Microsoft-Exchange-Diagnostics: 1;BY2PR12MB0130;2:E9V7FjOdDl1ckUIc+Hdhuyjw9y/89b2gGUgwwmoK0IOYYW/W1LqY3qDx9qG9FBTL7TGENUPllorAHbiKt0kT//XjRIyKDaBLJBrSbdXZApZiEXji9QpSsMUuUxWAkL6AJoeOtG5Ly9Q5vbcs5UgvpQ==;3:89breoSGPakTuqGUoux3eBDssQQ15KqqqwZQzkp/kSDUMPdNB1koIfCgOlbLVR8mk4/hyTIF768F/RufD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3eWEUiBaOqN8QOQX8XrVp5DRo7pQ4zwHSXTV1dL2tOZTuNsBeUJYnf0Z9F5nzkeKKgvwDSucvx5e9fzHFWOYcCH+hV82sTge7EnHXULPJjupuq8HPlq3YyiZ3wMynCnJpeWAsW0C07SrdtXm8W/x1PFJvGjF2eOERu+u0cdwxPOFL/ZHjzttJf2Fz+hD3527bM41ZYWCEiwJUEpVPZEPvmRlnqLqSar+2N9jiypqmNYrkeNU3r77lUhf3Pg+fVjHowNCyjkXb7ZoMo1NDQk+rE5WAtjCs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001);SRVR:BY2PR12MB0130;BCL:0;PCL:0;RULEID:;SRVR:BY2PR12MB0130; X-Forefront-PRVS: 07807C55DC X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(199003)(51874003)(189002)(377424004)(24454002)(87976001)(6116002)(5008740100001)(2201001)(586003)(2950100001)(40100003)(64126003)(101416001)(65956001)(65806001)(42186005)(54356999)(77096005)(122386002)(47776003)(33656002)(65816999)(83506001)(23676002)(93886004)(50986999)(19580405001)(106356001)(105586002)(1096002)(97736004)(19580395003)(1706002)(76176999)(36756003)(5004730100002)(86362001)(5001960100002)(189998001)(81156007)(4001350100001)(50466002)(5001770100001)(92566002)(3826002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR12MB0130;H:[IPv6:2a02:908:f678:3641:99a8:73e6:8d03:9bcb];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCWTJQUjEyTUIwMTMwOzIzOllmNSt3b0YvOE45OVJnb3F6TkZCRXU0dXY2?= =?utf-8?B?ZFQzWXE0bU0wODR0cC9DRVI0VDcyQ2FValhWV1Q0UEtHRlJ2MEVwanB4eFBa?= =?utf-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LBt1kNEK4M/l2dabLmY6kvDaMdLKPk=;20:8cWlXnxoyPM1nW87H3VC66beNmuhsW8ozb952B/6gnbxlBpsR1T5bQmbYYb3QQ07hVqrNcpZmDMfR0rMbvOpxeGPeh7oV3+oJanx3X2T08VjAjgVC2OP/TyRt1WTA/r2edgXmveW+Hn/3f7knaFDjU8asSGwJzP5QCiUv1ohWY2xJ5mKhKW3iwoqfqJ/EweyAA0G7oOqkAMPkEhqYlAuPCrni9563qpT9aZYBXaneyDQpFZggbr25ynQt3zxrg9A X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2015 09:54:46.7214 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0130 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1931 Lines: 46 On 04.12.2015 10:43, Boszormenyi Zoltan wrote: > 2015-12-04 09:53 keltezéssel, Christian König írta: >> On 04.12.2015 00:26, cpaul@redhat.com wrote: >>> From: Lyude >>> >>> HPD signals on DVI ports can be fired off before the pins required for >>> DDC probing actually make contact, due to the pins for HPD making >>> contact first. This results in a HPD signal being asserted but DDC >>> probing failing, resulting in hotplugging occasionally failing. >>> >>> This is somewhat rare on most cards (depending on what angle you plug >>> the DVI connector in), but on some cards it happens constantly. The >>> Radeon R5 on the machine used for testing this patch for instance, runs >>> into this issue just about every time I try to hotplug a DVI monitor and >>> as a result hotplugging almost never works. >>> >>> Rescheduling the hotplug work for a second when we run into an HPD >>> signal with a failing DDC probe usually gives enough time for the rest >>> of the connector's pins to make contact, and fixes this issue. >>> >>> Signed-off-by: Lyude >> I find a second a bit long, but if it works so what? >> >> Looks sane enough to me, patch is Reviewed-by: Christian König > Does this patch help in case of the Radeon chip only has HDMI and DP outputs > exposed (Zotac ZBOXNANO-AQ01) but used with DVI or VGA monitors with > converter cables? We have some problems with such scenarios that sounds > eerily similar to this description. No, at least active converter cables are a completely different case. Regards, Christian. > > Inquiry-by: Zoltán Böszörményi > ;-) > > Thanks in advance. > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/