All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattia Dongili <malattia@linux.it>
To: Zhang Rui <rui.zhang@intel.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>,
	Len Brown <lenb@kernel.org>,
	"Wang, Zhenyu Z" <zhenyu.z.wang@intel.com>,
	linux-acpi <linux-acpi@vger.kernel.org>
Subject: Re: The Garbled screen issue on Sony laptops with two graphics (Intel and Nvidia)
Date: Wed, 11 Mar 2009 22:08:47 +0900	[thread overview]
Message-ID: <20090311130847.GC13101@kamineko.org> (raw)
In-Reply-To: <1236756550.2820.218.camel@rzhang-dt>

On Wed, Mar 11, 2009 at 03:29:10PM +0800, Zhang Rui wrote:
> On Wed, 2009-03-11 at 10:46 +0800, Matthew Garrett wrote:
> > On Wed, Mar 11, 2009 at 10:45:27AM +0800, Zhang Rui wrote:
> > 
> > > The problem can be fixed by disabling Nvidia card via ACPI _DSM method.
> > > And it seems that there are some works already done for this issue.
> > > http://archive.netbsd.se/?ml=xorg&a=2009-02&t=9908058
> > 
> > This method is specific to Sony. What would be most helpful here would 
> > be for Intel to tell us how this is actually meant to work. 
> > 
> Well, the change in sony-laptop driver is a new feature rather than a
> bug fix.
> the new sony-laptop driver introduces a new sysfs I/F:
> /sys/devices/platform/sony-laptop/speed_stamina
> and users can echo {speed, stamina} to this file to switch between
> Intel and Nvidia graphics card.

and see their Xorg miserably die. ;)

Jokes aside, I have no big problem incorporating the differences in the
driver, just that:
- I can't test it
- some models have different magic numbers for the _DSM invocation, from
  the DSDT I have available:
	DSDT.sz.xxx.dsl (some uknown model)
	DSDT.sz61mn-forXP.dsl
	DSDT.tt11lnb.dsl
	DSDT.z11vn.dsl
	DSDT.z90s.dsl
	VGN-SZ4XWNC-R0111N0.dsl
  and for what I can see, z and tt have the same magic numbers while the
  sz has different ones. So the code that calls _DSM will need to have
  some DMI switch to make sure we are calling it with the right
  parameters (for now supporting z and tt might be enough)

I'll see what I can do (I accept patches in case someone feels like
doing it)
-- 
mattia
:wq!

  parent reply	other threads:[~2009-03-11 13:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11  2:45 The Garbled screen issue on Sony laptops with two graphics (Intel and Nvidia) Zhang Rui
2009-03-11  2:46 ` Matthew Garrett
2009-03-11  7:29   ` Zhang Rui
2009-03-11  7:30     ` Zhang Rui
2009-03-11 12:47       ` Matthew Garrett
2009-03-11 13:08     ` Mattia Dongili [this message]
2009-03-16  5:46       ` Zhang Rui
2009-03-16 10:24       ` Matthew Garrett
2009-03-16 11:28         ` Mattia Dongili
2009-03-16 11:33           ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090311130847.GC13101@kamineko.org \
    --to=malattia@linux.it \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=rui.zhang@intel.com \
    --cc=zhenyu.z.wang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.