diff options
author | Christian Gmeiner <cgmeiner@igalia.com> | 2024-03-01 16:28:11 +0300 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2024-03-07 12:57:54 +0300 |
commit | b735ee173f84d5d0d0733c53946a83c12d770d05 (patch) | |
tree | 12e61b0d658922481eaad18eea456ad697aba10a /drivers/gpu/drm/etnaviv/etnaviv_drv.c | |
parent | c9959996a8fc171bbb2c2d9c7478306f331a6cca (diff) | |
download | linux-b735ee173f84d5d0d0733c53946a83c12d770d05.tar.xz |
drm/etnaviv: Restore some id values
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>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_drv.c')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_drv.c b/drivers/gpu/drm/etnaviv/etnaviv_drv.c index 4bdfb1c81eff..491da486c4e5 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_drv.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_drv.c @@ -505,7 +505,7 @@ static const struct drm_driver etnaviv_drm_driver = { .desc = "etnaviv DRM", .date = "20151214", .major = 1, - .minor = 3, + .minor = 4, }; /* |