summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorChristian Gmeiner <cgmeiner@igalia.com>2024-03-01 16:28:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-03 16:32:15 +0300
commit1404eb3ce4a29ecd196eb985995dd13d77248654 (patch)
tree71fe843416425014f60a2d48d8935c500f2fc7ab /security
parent3f360227cb46edb2cd2494128e1e06ed5768a62e (diff)
downloadlinux-1404eb3ce4a29ecd196eb985995dd13d77248654.tar.xz
drm/etnaviv: Restore some id values
[ Upstream commit b735ee173f84d5d0d0733c53946a83c12d770d05 ] The hwdb selection logic as a feature that allows it to mark some fields as 'don't care'. If we match with such a field we memcpy(..) the current etnaviv_chip_identity into ident. This step can overwrite some id values read from the GPU with the 'don't care' value. Fix this issue by restoring the affected values after the memcpy(..). As this is crucial for user space to know when this feature works as expected increment the minor version too. Fixes: 4078a1186dd3 ("drm/etnaviv: update hwdb selection logic") Cc: stable@vger.kernel.org Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Tomeu Vizoso <tomeu@tomeuvizoso.net> Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions