[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YfxIw83tbU4lrpKj@ravnborg.org>
Date: Thu, 3 Feb 2022 22:27:31 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Daniel Vetter <daniel.vetter@...ll.ch>
Cc: DRI Development <dri-devel@...ts.freedesktop.org>,
linux-fbdev@...r.kernel.org,
Intel Graphics Development <intel-gfx@...ts.freedesktop.org>,
LKML <linux-kernel@...r.kernel.org>,
Qing Wang <wangqing@...o.com>,
Daniel Vetter <daniel.vetter@...el.com>,
Helge Deller <deller@....de>
Subject: Re: [PATCH 07/21] fbdev/sysfs: Fix locking
On Mon, Jan 31, 2022 at 10:05:38PM +0100, Daniel Vetter wrote:
> 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.
>
> Signed-off-by: Daniel Vetter <daniel.vetter@...el.com>
> Cc: Helge Deller <deller@....de>
> Cc: Daniel Vetter <daniel@...ll.ch>
> Cc: Qing Wang <wangqing@...o.com>
> Cc: Sam Ravnborg <sam@...nborg.org>
Acked-by: Sam Ravnborg <sam@...nborg.org>
Powered by blists - more mailing lists