From 75467f60a3d14f08f86f2b353298d2826382ff23 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Fri, 25 Sep 2026 15:55:03 -0700 Subject: Merge tag 'ipe-pr-20260925' of git://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe Pull IPE fixes from Fan Wu: "Two fixes for use-after-free issues found by recent LLM-assisted code analysis. - move successful policy load auditing under the new policy directory's inode lock, preventing a concurrent policy deletion from freeing the policy while it is still being audited - protect the dm-verity root hash with RCU, preventing policy evaluation from racing with root hash replacement during preresume" * tag 'ipe-pr-20260925' of git://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe: ipe: protect the dm-verity root hash with RCU ipe: fix use-after-free when auditing a newly loaded policy --- drivers/video/fbdev/tridentfb.c | 1841 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 1841 insertions(+) create mode 100644 drivers/video/fbdev/tridentfb.c (limited to 'drivers/video/fbdev/tridentfb.c') diff --git a/drivers/video/fbdev/tridentfb.c b/drivers/video/fbdev/tridentfb.c new file mode 100644 index 000000000..9f055ba77 --- /dev/null +++ b/drivers/video/fbdev/tridentfb.c @@ -0,0 +1,1841 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Frame buffer driver for Trident TGUI, Blade and Image series + * + * Copyright 2001, 2002 - Jani Monoses + * Copyright 2009 Krzysztof Helt + * + * CREDITS:(in order of appearance) + * skeletonfb.c by Geert Uytterhoeven and other fb code in drivers/video + * Special thanks ;) to Mattia Crivellini + * much inspired by the XFree86 4.x Trident driver sources + * by Alan Hourihane the FreeVGA project + * Francesco Salvestrini XP support, + * code, suggestions + * TODO: + * timing value tweaking so it looks good on every monitor in every mode + */ + +#include +#include +#include +#include +#include +#include + +#include +#include