Files
linux-stable-mirror/drivers/gpu/drm/msm
Akhil P Oommen ea48293df4 drm/msm/a6xx: Fix GMU firmware parser
[ Upstream commit b4789aac9d ]

Current parser logic for GMU firmware assumes a dword aligned payload
size for every block. This is not true for all GMU firmwares. So, fix
this by using correct 'size' value in the calculation for the offset
for the next block's header.

Fixes: c6ed04f856 ("drm/msm/a6xx: A640/A650 GMU firmware path")
Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com>
Acked-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/674040/
Message-ID: <20250911-assorted-sept-1-v2-2-a8bf1ee20792@oss.qualcomm.com>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-07 06:09:13 +09:00
..
2024-10-17 15:10:54 +02:00
2024-10-17 15:10:54 +02:00
2025-08-28 16:24:21 +02:00
2024-10-17 15:10:54 +02:00
2024-10-17 15:10:54 +02:00