diff options
author | Jocelyn Falempe <jfalempe@redhat.com> | 2024-06-03 11:47:25 +0200 |
---|---|---|
committer | Jocelyn Falempe <jfalempe@redhat.com> | 2024-06-10 13:49:15 +0200 |
commit | eef5a55af31792fc7a2082dbebac68a7df4d7643 (patch) | |
tree | 86a95568eaffdb18d827a4e7d04fb8ffae6118f5 /tools/perf/scripts/python/parallel-perf.py | |
parent | f8d59fac575a624d1d4bd24424b3ec2bf5c4202a (diff) |
drm/panic: only draw the foreground color in drm_panic_blit()
The whole framebuffer is cleared, so it's useless to rewrite the
background colored pixels. It allows to simplify the drawing
functions, and prepare the work for the set_pixel() callback.
v2:
* keep fg16/fg24/fg32 as variable name for the blit function.
* add drm_panic_is_pixel_fg() to avoid code duplication.
both suggested by Javier Martinez Canillas
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240603095343.39588-2-jfalempe@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions