diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-09-11 14:43:58 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-09-17 09:16:28 +0200 |
| commit | 0a8af1f7f9779aeb375ba6e2d995d90304205119 (patch) | |
| tree | 6edf9d228988ec46aab9dc1c267d545497667f59 /tools/perf/scripts/python/flamegraph.py | |
| parent | 36c973505708fbfa46e3048ce1d6f84c95c2cc1d (diff) | |
| download | linux-0a8af1f7f9779aeb375ba6e2d995d90304205119.tar.gz linux-0a8af1f7f9779aeb375ba6e2d995d90304205119.zip | |
drm/panic: Pass colors to draw_panic_dispatch()
Set the panic-screen colors in draw_panic_plane() as a single point
of truth. Pass the values into the individual drawing functions.
In the test cases, replace the Kconfig-defined colors with white and
black. Allows for removal of the tests' limitations and dependency on
the exact values. All tests now always verify the generated output.
Hardcoding the test colors will later also allow for building the
test case without having DRM panic handling enabled.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patch.msgid.link/20260911124540.279841-6-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
