]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/msm/a2xx: stop over-complaining about the legacy firmware
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Thu, 13 Nov 2025 20:40:50 +0000 (22:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:03 +0000 (14:03 +0100)
commit7b1e3cb2070e2dc0bef3718fb483e1fdef587fab
treec2c45a634f9e890b1e956cefbde0ca1922adf74d
parent966fcbb8c80318aa581e97da32056ffbab6138fe
drm/msm/a2xx: stop over-complaining about the legacy firmware

[ Upstream commit a3a22373fce576560757f5616eb48dbf85891d9c ]

If the rootfs have a legacy A200 firmware, currently the driver will
complain each time the hw is reinited (which can happen a lot). E.g.
with GL testsuite the hw is reinited after each test, spamming the
console.

Make sure that the message is printed only once: when we detect the
firmware that doesn't support protection.

Fixes: 302295070d3c ("drm/msm/a2xx: support loading legacy (iMX) firmware")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/688098/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/adreno/a2xx_gpu.c