Re: [PATCH] drm/gma500: Check power status before accessing lid data in opregion

2024-04-12 Thread Thomas Zimmermann
Hi Am 12.04.24 um 10:16 schrieb Patrik Jakobsson: On Fri, Apr 12, 2024 at 10:02 AM Thomas Zimmermann wrote: Hi, the issue of hanging during boot is still resent. Thanks for testing. Then it cannot be that psb_lid_timer_func runs before initialization. The BUG from Enrico hints that the

Re: [PATCH] drm/gma500: Check power status before accessing lid data in opregion

2024-04-12 Thread Patrik Jakobsson
On Fri, Apr 12, 2024 at 10:02 AM Thomas Zimmermann wrote: > > Hi, > > the issue of hanging during boot is still resent. Thanks for testing. Then it cannot be that psb_lid_timer_func runs before initialization. The BUG from Enrico hints that the set_brightness function is called before

Re: [PATCH] drm/gma500: Check power status before accessing lid data in opregion

2024-04-12 Thread Thomas Zimmermann
Am 12.04.24 um 10:02 schrieb Thomas Zimmermann: Hi, the issue of hanging during boot is still resent. 'present' Best regards Thomas Am 12.04.24 um 09:24 schrieb Patrik Jakobsson: Due to changes in the order of initialization the psb_lid_timer_func could get called without the device

Re: [PATCH] drm/gma500: Check power status before accessing lid data in opregion

2024-04-12 Thread Thomas Zimmermann
Hi, the issue of hanging during boot is still resent. Best regards Thomas Am 12.04.24 um 09:24 schrieb Patrik Jakobsson: Due to changes in the order of initialization the psb_lid_timer_func could get called without the device being powered. Fix this by checking the power status before

[PATCH] drm/gma500: Check power status before accessing lid data in opregion

2024-04-12 Thread Patrik Jakobsson
Due to changes in the order of initialization the psb_lid_timer_func could get called without the device being powered. Fix this by checking the power status before accessing the opregion. Cc: Enrico Bartky Cc: Thomas Zimmermann Signed-off-by: Patrik Jakobsson ---