All of lore.kernel.org
 help / color / mirror / Atom feed
* psb_gfx removal
@ 2012-06-05 12:51 Jan Engelhardt
  2012-06-05 16:29 ` Alan Cox
       [not found] ` <alpine.LNX.2.01.1206051500220.9399@frira.zrqbmnf.qr>
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Engelhardt @ 2012-06-05 12:51 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: dri-devel, Alan Cox

Hi,


I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like 
device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), 
loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0,
where this crash does not occur thankfully.

According to your commit b7cdd9e6323af368e26121c5b791eddc78e79fea, 
GMA500 is now available through the DRM tree. I take it you mean 
kernel/drivers/gpu/drm/gma500/gma500_gfx.ko by that. However, 
gma500_gfx.ko does not provide support for 8086:4102, i.e. modinfo does 
not show the alias.

So, am I correct in the assumption that the 4102 code never really 
worked, and deletion of psb_gfx was therefore ok without having 4102 
support in gma500_gfx?


thanks,
Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: psb_gfx removal
  2012-06-05 12:51 psb_gfx removal Jan Engelhardt
@ 2012-06-05 16:29 ` Alan Cox
  2012-06-07 13:53   ` Jan Engelhardt
       [not found] ` <alpine.LNX.2.01.1206051500220.9399@frira.zrqbmnf.qr>
  1 sibling, 1 reply; 5+ messages in thread
From: Alan Cox @ 2012-06-05 16:29 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Greg Kroah-Hartman, dri-devel, Alan Cox

On Tue, 5 Jun 2012 14:51:54 +0200 (CEST)
Jan Engelhardt <jengelh@inai.de> wrote:

> Hi,
> 
> 
> I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like 
> device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), 
> loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0,
> where this crash does not occur thankfully.
> 
> According to your commit b7cdd9e6323af368e26121c5b791eddc78e79fea, 
> GMA500 is now available through the DRM tree. I take it you mean 
> kernel/drivers/gpu/drm/gma500/gma500_gfx.ko by that. However, 
> gma500_gfx.ko does not provide support for 8086:4102, i.e. modinfo does 
> not show the alias.
> 
> So, am I correct in the assumption that the 4102 code never really 
> worked, and deletion of psb_gfx was therefore ok without having 4102 
> support in gma500_gfx?

0x4102 is an Oaktrail device (GMA600). The driver supports it providing
you have the GMA600 option set.

Alan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: psb_gfx removal
       [not found] ` <alpine.LNX.2.01.1206051500220.9399@frira.zrqbmnf.qr>
@ 2012-06-06  5:12   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2012-06-06  5:12 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: tm, dri-devel, Alan Cox

On Tue, Jun 05, 2012 at 03:01:06PM +0200, Jan Engelhardt wrote:
> [fixed up gregkh's address]
> 
> Hi,
> 
> 
> I have here a "Wortmann AG terra Pad 1051", which has a GMA500-like 
> device (PCI ID 8086:4102). Using Linux 3.1.x (openSUSE 12.1's default), 
> loading psb_gfx.ko crashed the machine. I therefore tried Linux 3.4.0,
> where this crash does not occur thankfully.
> 
> According to your commit b7cdd9e6323af368e26121c5b791eddc78e79fea, 
> GMA500 is now available through the DRM tree. I take it you mean 
> kernel/drivers/gpu/drm/gma500/gma500_gfx.ko by that. However, 
> gma500_gfx.ko does not provide support for 8086:4102, i.e. modinfo does 
> not show the alias.
> 
> So, am I correct in the assumption that the 4102 code never really 
> worked, and deletion of psb_gfx was therefore ok without having 4102 
> support in gma500_gfx?

I have no idea at all, that would be up to Alan to answer, not me.

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: psb_gfx removal
  2012-06-05 16:29 ` Alan Cox
@ 2012-06-07 13:53   ` Jan Engelhardt
  2012-06-07 15:18     ` Alan Cox
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Engelhardt @ 2012-06-07 13:53 UTC (permalink / raw)
  To: Alan Cox; +Cc: dri-devel, Alan Cox

On Tuesday 2012-06-05 18:29, Alan Cox wrote:
>> 
>> [Wortmann AG's terra Pad 1051, with a 8086:4102 display chip]
>
>0x4102 is an Oaktrail device (GMA600). The driver supports it providing
>you have the GMA600 option set.

Thanks for the info. Setting GMA600=y works, as in, it results
in graphical mode on tty1.

However, the gma600 driver seems to default to a backlight value of
"0" in Linux 3.4.1; getting a dark screen after loading gma500_gfx.ko 
is rather unexpected.

Furthermore, there are four entries in sysfs, and the one required to
change the panel brightness is acpi_video2 (and this one alone).
Changing any others, e.g. acpi_video0/brightness, does not have any
visible effect.

linux-kisn:/sys/class/backlight # ls -l
total 0
lrwxrwxrwx 1 root root 0 Jun  7 17:31 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
lrwxrwxrwx 1 root root 0 Jun  7 17:31 acpi_video1 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video1
lrwxrwxrwx 1 root root 0 Jun  7 17:31 acpi_video2 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video2
lrwxrwxrwx 1 root root 0 Jun  7 17:31 oaktrail-bl -> ../../devices/virtual/backlight/oaktrail-bl

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: psb_gfx removal
  2012-06-07 13:53   ` Jan Engelhardt
@ 2012-06-07 15:18     ` Alan Cox
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2012-06-07 15:18 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: dri-devel

On Thu, 7 Jun 2012 15:53:43 +0200 (CEST)
Jan Engelhardt <jengelh@inai.de> wrote:

> On Tuesday 2012-06-05 18:29, Alan Cox wrote:
> >> 
> >> [Wortmann AG's terra Pad 1051, with a 8086:4102 display chip]
> >
> >0x4102 is an Oaktrail device (GMA600). The driver supports it
> >providing you have the GMA600 option set.
> 
> Thanks for the info. Setting GMA600=y works, as in, it results
> in graphical mode on tty1.
> 
> However, the gma600 driver seems to default to a backlight value of
> "0" in Linux 3.4.1; getting a dark screen after loading gma500_gfx.ko 
> is rather unexpected.

The ACPI and GMA code fall out over the backlight somewhat. I had hoped
to fix it in 3.5-rc but Linus threw out all the ACPI tree changes.

Disable ACPI video in your configuration and see if it behaves
properly. If not then it will need chasing down in more detail.

Alan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-06-07 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 12:51 psb_gfx removal Jan Engelhardt
2012-06-05 16:29 ` Alan Cox
2012-06-07 13:53   ` Jan Engelhardt
2012-06-07 15:18     ` Alan Cox
     [not found] ` <alpine.LNX.2.01.1206051500220.9399@frira.zrqbmnf.qr>
2012-06-06  5:12   ` Greg KH

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.