linux/drivers/gpu/drm/etnaviv
Christian Gmeiner bc8e5fda78 drm/etnaviv: Restore some id values
[ Upstream commit b735ee173f ]

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: 4078a1186d ("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>
History 2024-04-03 15:28:27 +02:00
..
cmdstream.xml.h drm/etnaviv: Allow DRAW_INSTANCED commands 2016-12-02 19:30:22 +01:00
common.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
etnaviv_buffer.c drm/etnaviv: slow down FE idle polling 2023-06-21 15:18:14 +02:00
etnaviv_cmd_parser.c drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_cmdbuf.c drm/etnaviv: drop GPU initialized property 2023-07-17 11:32:31 +02:00
etnaviv_cmdbuf.h drm/etnaviv: rework MMU handling 2019-08-15 10:56:45 +02:00
etnaviv_drv.c drm/etnaviv: Restore some id values 2024-04-03 15:28:27 +02:00
etnaviv_drv.h drm/etnaviv: allocate unique ID per drm_file 2023-02-07 20:49:54 +01:00
etnaviv_dump.c drm/etnaviv: fix dumping of active MMU context 2023-07-17 11:28:39 +02:00
etnaviv_dump.h drm/etnaviv: pass mmu pointer to etnaviv_core_dump_mmu 2019-08-15 10:53:31 +02:00
etnaviv_gem.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
etnaviv_gem.h drm/etnaviv: move runtime PM handling to events 2023-07-17 11:32:13 +02:00
etnaviv_gem_prime.c drm/etnaviv: fix reference leak when mmaping imported buffer 2023-03-30 17:47:05 +02:00
etnaviv_gem_submit.c drm/etnaviv: move runtime PM handling to events 2023-07-17 11:32:13 +02:00
etnaviv_gpu.c Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next 2023-08-18 06:42:12 +10:00
etnaviv_gpu.h drm/etnaviv: expedited MMU fault handling 2023-07-17 11:32:34 +02:00
etnaviv_hwdb.c drm/etnaviv: Restore some id values 2024-04-03 15:28:27 +02:00
etnaviv_iommu.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_iommu_v2.c drm/etnaviv: reference MMU context when setting up hardware state 2021-09-16 10:35:33 +02:00
etnaviv_mmu.c drm/etnaviv: drop GPU initialized property 2023-07-17 11:32:31 +02:00
etnaviv_mmu.h drm/etnaviv: move idle mapping reaping into separate function 2022-08-26 21:36:47 +02:00
etnaviv_perfmon.c drm/etnaviv: add pipe_select(..) helper 2020-09-25 12:02:58 +02:00
etnaviv_perfmon.h drm/etnaviv: replace license text with SPDX tags 2018-05-18 15:27:56 +02:00
etnaviv_sched.c drm/etnaviv: expedited MMU fault handling 2023-07-17 11:32:34 +02:00
etnaviv_sched.h drm/etnaviv: Use scheduler dependency handling 2022-04-04 16:45:49 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/etnaviv: add hardware database 2018-03-09 12:22:37 +01:00
state.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
state_3d.xml.h drm/etnaviv: update hardware headers from rnndb 2018-03-09 12:22:36 +01:00
state_blt.xml.h drm/etnaviv: fix TS cache flushing on GPUs with BLT engine 2020-03-20 18:40:44 +01:00
state_hi.xml.h drm/etnaviv: update hardware headers from rnndb 2023-02-01 16:32:26 +01:00