From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Henrik Rydberg" Subject: Re: [PATCH v2 1/2] apple-gmux: Fix index read functions Date: Sat, 25 Aug 2012 19:53:16 +0200 Message-ID: <20120825175316.GA4292@polaris.bitmath.org> References: <50388C45.6030707@gmail.com> <1345883449-2790-1-git-send-email-bfroemel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtprelay-b11.telenor.se ([62.127.194.20]:47050 "EHLO smtprelay-b11.telenor.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264Ab2HYRsH (ORCPT ); Sat, 25 Aug 2012 13:48:07 -0400 Content-Disposition: inline In-Reply-To: <1345883449-2790-1-git-send-email-bfroemel@gmail.com> Sender: platform-driver-x86-owner@vger.kernel.org List-ID: To: Bernhard Froemel Cc: Matthew Garrett , platform-driver-x86@vger.kernel.org, Seth Forshee , linux-kernel@vger.kernel.org, Bernhard Froemel On Sat, Aug 25, 2012 at 10:30:48AM +0200, Bernhard Froemel wrote: > From: Bernhard Froemel > > Study of Apple's binary driver revealed that the GMUX_READ_PORT should > be written between calls to gmux_index_wait_ready and > gmux_index_wait_complete (i.e., the new index protocol must be > followed). If this is not done correctly, the indexed > gmux device only partially accepts writes which lead to problems > concerning GPU switching. Special thanks to Seth Forshee who helped > greatly with identifying unnecessary changes. > > Signed-off-by: Bernhard Froemel > --- Hi Bernhard, thanks for your patch, this works splendidly; I can resume and select different screen resolutions using xrandr. Tested-by: Henrik Rydberg Henrik