mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
6aff4c26ed
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: Enrico Bartky <enrico.bartky@gmail.com> Fixes: 8f1aaccb04b7 ("drm/gma500: Implement client-based fbdev emulation") Tested-by: Enrico Bartky <enrico.bartky@gmail.com> Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240415112731.31841-1-patrik.r.jakobsson@gmail.com
43 lines
814 B
Makefile
43 lines
814 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# KMS driver for the GMA500
|
|
#
|
|
|
|
gma500_gfx-y += \
|
|
backlight.o \
|
|
cdv_device.o \
|
|
cdv_intel_crt.o \
|
|
cdv_intel_display.o \
|
|
cdv_intel_dp.o \
|
|
cdv_intel_hdmi.o \
|
|
cdv_intel_lvds.o \
|
|
framebuffer.o \
|
|
gem.o \
|
|
gma_device.o \
|
|
gma_display.o \
|
|
gtt.o \
|
|
intel_bios.o \
|
|
intel_gmbus.o \
|
|
intel_i2c.o \
|
|
mid_bios.o \
|
|
mmu.o \
|
|
oaktrail_device.o \
|
|
oaktrail_crtc.o \
|
|
oaktrail_hdmi.o \
|
|
oaktrail_hdmi_i2c.o \
|
|
oaktrail_lvds.o \
|
|
oaktrail_lvds_i2c.o \
|
|
power.o \
|
|
psb_device.o \
|
|
psb_drv.o \
|
|
psb_intel_display.o \
|
|
psb_intel_lvds.o \
|
|
psb_intel_modes.o \
|
|
psb_intel_sdvo.o \
|
|
psb_irq.o
|
|
|
|
gma500_gfx-$(CONFIG_ACPI) += opregion.o
|
|
gma500_gfx-$(CONFIG_DRM_FBDEV_EMULATION) += fbdev.o
|
|
|
|
obj-$(CONFIG_DRM_GMA500) += gma500_gfx.o
|