aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2022-04-05 23:03:27 +0200
committerDaniel Vetter <[email protected]>2022-04-07 16:52:13 +0200
commitbd6026a8c4e6b7edf4bafcb71da885b284b8f4fd (patch)
tree305edc98b506f0109913c9691478842d9d5113d9 /tools/perf/scripts/python
parent6b2060cf9138a2cd5f3468a949d3869abed049ef (diff)
fbcon: Extract fbcon_open/release helpers
There's two minor behaviour changes in here: - in error paths we now consistently call fb_ops->fb_release - fb_release really can't fail (fbmem.c ignores it too) and there's no reasonable cleanup we can do anyway. Note that everything in fbcon.c is protected by the big console_lock() lock (especially all the global variables), so the minor changes in ordering of setup/cleanup do not matter. v2: Explain a bit better why this is all correct (Sam) Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Claudio Suarez <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Tetsuo Handa <[email protected]> Cc: Du Cheng <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions