Skip to content
Commit 6aff4c26 authored by Patrik Jakobsson's avatar Patrik Jakobsson Committed by Thomas Zimmermann
Browse files

drm/gma500: Remove lid code



Due to a change in the order of initialization, the lid timer got
started before proper setup was made. This resulted in a crash during
boot.

The lid switch is handled by gma500 through a timer that periodically
polls the opregion for changes. These types of ACPI events shouldn't be
handled by the graphics driver so let's get rid of the lid code.  This
fixes the crash during boot.

Reported-by: default avatarEnrico Bartky <enrico.bartky@gmail.com>
Fixes: 8f1aaccb ("drm/gma500: Implement client-based fbdev emulation")
Tested-by: default avatarEnrico Bartky <enrico.bartky@gmail.com>
Signed-off-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240415112731.31841-1-patrik.r.jakobsson@gmail.com
parent 941c0bdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment