android_kernel_xiaomi_sm8350/drivers/video/riva
Richard Purdie 37ce69a57f backlight: Rework backlight/fb interaction simplifying, lots
fb_info->bl_mutex is badly thought out and the backlight class doesn't
need it if the framebuffer/backlight register/unregister order is
consistent, particularly after the backlight locking fixes.

Fix the drivers to use the order:

backlight_device_register()
register_framebuffer()
unregister_framebuffer()
backlight_device_unregister()

and turn bl_mutex into a lock for the bl_curve data only.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2007-02-20 08:38:46 +00:00
..
fbdev.c backlight: Rework backlight/fb interaction simplifying, lots 2007-02-20 08:38:46 +00:00
Makefile
nv4ref.h
nv_driver.c
nv_type.h
nvreg.h
riva_hw.c
riva_hw.h
riva_tbl.h
rivafb-i2c.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
rivafb.h [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00