summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFrancesco Valla <francesco@valla.it>2025-12-17 09:06:56 +0100
committerJocelyn Falempe <jfalempe@redhat.com>2025-12-19 23:06:41 +0100
commit4f1b30fe9ef550651ea353714d1119431e76824a (patch)
tree531b308c286b02c36a22aec9c27d182cbaf2ecc5 /include/linux
parent15156936b26f14c403d75a9353c84c5b17312b61 (diff)
drm/panic: avoid WARN when checking format support
Use drm_draw_can_convert_from_xrgb8888() instead of drm_draw_color_from_xrgb8888() while checking if a color format is usable. This avoids a WARN in case the first format is not usable. Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Signed-off-by: Francesco Valla <francesco@valla.it> Link: https://patch.msgid.link/20251217-drm_draw_conv_check-v3-3-15b6f8bc1cbc@valla.it Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions