* [PATCH] drm/etnaviv: add HWDB entry for GC7000 rev 6204
@ 2021-02-24 15:55 Lucas Stach
2021-02-26 8:42 ` Christian Gmeiner
0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2021-02-24 15:55 UTC (permalink / raw)
To: etnaviv; +Cc: patchwork-lst, kernel, dri-devel, Russell King
From: Sascha Hauer <s.hauer@pengutronix.de>
This is the 3D GPU found on the i.MX8MP SoC.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 31 ++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
index 167971a09be7..dfc0f536b3b9 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
@@ -37,6 +37,37 @@ static const struct etnaviv_chip_identity etnaviv_chip_identities[] = {
.minor_features10 = 0x0,
.minor_features11 = 0x0,
},
+ {
+ .model = 0x7000,
+ .revision = 0x6204,
+ .product_id = ~0U,
+ .customer_id = ~0U,
+ .eco_id = 0,
+ .stream_count = 16,
+ .register_max = 64,
+ .thread_count = 512,
+ .shader_core_count = 2,
+ .vertex_cache_size = 16,
+ .vertex_output_buffer_size = 1024,
+ .pixel_pipes = 1,
+ .instruction_count = 512,
+ .num_constants = 320,
+ .buffer_size = 0,
+ .varyings_count = 16,
+ .features = 0xe0287c8d,
+ .minor_features0 = 0xc1589eff,
+ .minor_features1 = 0xfefbfad9,
+ .minor_features2 = 0xeb9d4fbf,
+ .minor_features3 = 0xedfffced,
+ .minor_features4 = 0xdb0dafc7,
+ .minor_features5 = 0x3b5ac333,
+ .minor_features6 = 0xfcce6000,
+ .minor_features7 = 0xfffbfa6f,
+ .minor_features8 = 0x00e10ef3,
+ .minor_features9 = 0x04c8003c,
+ .minor_features10 = 0x00004060,
+ .minor_features11 = 0x00000024,
+ },
{
.model = 0x7000,
.revision = 0x6214,
--
2.29.2
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/etnaviv: add HWDB entry for GC7000 rev 6204
2021-02-24 15:55 [PATCH] drm/etnaviv: add HWDB entry for GC7000 rev 6204 Lucas Stach
@ 2021-02-26 8:42 ` Christian Gmeiner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Gmeiner @ 2021-02-26 8:42 UTC (permalink / raw)
To: Lucas Stach
Cc: Sascha Hauer, patchwork-lst, The etnaviv authors,
DRI mailing list, Russell King
Am Mi., 24. Feb. 2021 um 16:55 Uhr schrieb Lucas Stach <l.stach@pengutronix.de>:
>
> From: Sascha Hauer <s.hauer@pengutronix.de>
>
> This is the 3D GPU found on the i.MX8MP SoC.
>
Can you provide some information about where you have taken these
values (galcore version,
database entry name)?
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> ---
> drivers/gpu/drm/etnaviv/etnaviv_hwdb.c | 31 ++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
> index 167971a09be7..dfc0f536b3b9 100644
> --- a/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
> +++ b/drivers/gpu/drm/etnaviv/etnaviv_hwdb.c
> @@ -37,6 +37,37 @@ static const struct etnaviv_chip_identity etnaviv_chip_identities[] = {
> .minor_features10 = 0x0,
> .minor_features11 = 0x0,
> },
> + {
> + .model = 0x7000,
> + .revision = 0x6204,
> + .product_id = ~0U,
> + .customer_id = ~0U,
> + .eco_id = 0,
> + .stream_count = 16,
> + .register_max = 64,
> + .thread_count = 512,
> + .shader_core_count = 2,
> + .vertex_cache_size = 16,
> + .vertex_output_buffer_size = 1024,
> + .pixel_pipes = 1,
> + .instruction_count = 512,
> + .num_constants = 320,
> + .buffer_size = 0,
> + .varyings_count = 16,
> + .features = 0xe0287c8d,
> + .minor_features0 = 0xc1589eff,
> + .minor_features1 = 0xfefbfad9,
> + .minor_features2 = 0xeb9d4fbf,
> + .minor_features3 = 0xedfffced,
> + .minor_features4 = 0xdb0dafc7,
> + .minor_features5 = 0x3b5ac333,
> + .minor_features6 = 0xfcce6000,
> + .minor_features7 = 0xfffbfa6f,
> + .minor_features8 = 0x00e10ef3,
> + .minor_features9 = 0x04c8003c,
> + .minor_features10 = 0x00004060,
> + .minor_features11 = 0x00000024,
> + },
> {
> .model = 0x7000,
> .revision = 0x6214,
> --
> 2.29.2
>
I really would love to see a hwdb in mesa instead of adding more
entries to the kernel one.
--
greets
--
Christian Gmeiner, MSc
https://christian-gmeiner.info/privacypolicy
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-26 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 15:55 [PATCH] drm/etnaviv: add HWDB entry for GC7000 rev 6204 Lucas Stach
2021-02-26 8:42 ` Christian Gmeiner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).