Re: [PATCH] drm/panic: Select ZLIB_DEFLATE for DRM_PANIC_SCREEN_QR_CODE

From: Jocelyn Falempe
Date: Mon Oct 14 2024 - 08:49:09 EST


On 04/10/2024 09:14, Jocelyn Falempe wrote:
On 04/10/2024 01:07, Miguel Ojeda wrote:
Under `CONFIG_DRM_PANIC_SCREEN_QR_CODE=y`, zlib is used:

     ld.lld: error: undefined symbol: zlib_deflate_workspacesize
     >>> referenced by drm_panic.c
     >>>               drivers/gpu/drm/drm_panic.o:(drm_panic_qr_init) in archive vmlinux.a

Thus select `CONFIG_ZLIB_DEFLATE`.

Hi, good catch, yes it should select the zlib deflate.

Reviewed-by: Jocelyn Falempe <jfalempe@xxxxxxxxxx>

I've just pushed it to drm-misc-next.

Thanks for your contribution.

--

Jocelyn


Best regards,