Home
last modified time | relevance | path

Searched hist:"9 ad5cc9bcfd62b0f39e7f85992d2a371ff369324" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/video/fbdev/core/
H A Dfbsysfs.cdiff 9ad5cc9bcfd62b0f39e7f85992d2a371ff369324 Tue Apr 05 16:03:23 CDT 2022 Daniel Vetter <daniel.vetter@ffwll.ch> fbdev/sysfs: Fix locking

fb_set_var requires we hold the fb_info lock. Or at least this now
matches what the ioctl does ...

Note that ps3fb and sh_mobile_lcdcfb are busted in different ways here,
but I will not fix them up.

Also in practice this isn't a big deal, because really variable fbdev
state is actually protected by console_lock (because fbcon just
doesn't bother with lock_fb_info() at all), and lock_fb_info
protecting anything is really just a neat lie. But that's a much
bigger fish to fry.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Helge Deller <deller@gmx.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Qing Wang <wangqing@vivo.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405210335.3434130-6-daniel.vetter@ffwll.ch