]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
vt: add missing notification when switching back to text mode
authorNicolas Pitre <npitre@baylibre.com>
Wed, 11 Jun 2025 01:41:44 +0000 (21:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:25:05 +0000 (18:25 +0200)
commit7549410b27099cf731749c261a7e90b6119bbdce
tree58de9744b6c64136e88aac8a0e45539b748470c0
parent1987e681eadcfdbe00fc79ec52deab1095f72ccf
vt: add missing notification when switching back to text mode

[ Upstream commit ff78538e07fa284ce08cbbcb0730daa91ed16722 ]

Programs using poll() on /dev/vcsa to be notified when VT changes occur
were missing one case: the switch from gfx to text mode.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/9o5ro928-0pp4-05rq-70p4-ro385n21n723@onlyvoer.pbz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/vt/vt.c