]> git.dujemihanovic.xyz Git - linux.git/commit
drm/msm/gen_header: allow skipping the validation
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 3 May 2024 18:15:03 +0000 (21:15 +0300)
committerRob Clark <robdclark@chromium.org>
Tue, 7 May 2024 14:56:40 +0000 (07:56 -0700)
commitb587f413ca47530b41aadc6f6bda6fc76153f77f
tree9e480383a21fc030805bd04f9d44bab0a2e1382b
parent69b79e8075ba23b77593f56ab128600d8afa01e9
drm/msm/gen_header: allow skipping the validation

We don't need to run the validation of the XML files if we are just
compiling the kernel. Skip the validation unless the user enables
corresponding Kconfig option. This removes a warning from gen_header.py
about lxml being not installed.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/all/20240409120108.2303d0bd@canb.auug.org.au/
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/592558/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/Kconfig
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/registers/gen_header.py