Re: omapdrm with n900

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Peter Ujfalusi <peter.ujfalusi@xxxxxx> [170127 06:09]:
> On 01/27/2017 03:56 PM, Peter Ujfalusi wrote:
> >> That extra blank/unblank cycle seems a bit user unfriendly?
> > 
> > most likely this will help:
> > 
> > diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> > index 5ab39e0060f2..d5a21a96ea82 100644
> > --- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> > +++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c
> > @@ -839,7 +839,7 @@ static int acx565akm_probe(struct spi_device *spi)
> >  	bldev->props.max_brightness = max_brightness;
> >  	bldev->props.brightness = brightness;
> >  
> > -	acx565akm_bl_update_status(bldev);
> > +	backlight_update_status(bldev);
> 
> No, it will not. At the end they are going to do the same thing.
> what does /sys/class/backlight/acx565akm/bl_power and brightness shows
> right after the modprobes?

OK, they are just 0:

# modprobe tsc2005
# modprobe panel_sony_acx565akm
...
# cat /sys/class/backlight/acx565akm/brightness
0
# cat /sys/class/backlight/acx565akm/bl_power
0
# modeprobe omapdrm
...
# cat /sys/class/backlight/acx565akm/brightness
0
# cat /sys/class/backlight/acx565akm/bl_power
0

Then not related to n900, but trying to rmmod omapdrm produces:

# rmmod omapdrm
rmmod: can't unload 'omapdrm': Resource temporarily unavailable

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux