* [PATCH v2] drm/panthor: fix immortalis condition
@ 2026-10-14 7:09 Erik Faye-Lund
2026-10-14 15:57 ` Steven Price
0 siblings, 1 reply; 2+ messages in thread
From: Erik Faye-Lund @ 2026-10-14 7:09 UTC (permalink / raw)
To: Boris Brezillon, Steven Price, Liviu Dudau, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Chia-I Wu, Karunika Choo
Cc: Erik Faye-Lund, dri-devel, linux-kernel
Exactly 10 cores is also valid for an Immortalis configuration,
according to the public documentation:
https://support.arm.com/compute-ip/immortalis-g715
So let's report this G715 with 10 cores as Immortalis as well, as long
as it supports the ray-intersection feature. This matches what we do for
more recent GPUs as well.
Fixes: 3b1dc21d6d80 ("drm/panthor: Add support for Mali-Gx15 family of GPUs")
Signed-off-by: Erik Faye-Lund <erik.faye-lund@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
---
Changes since v1:
- Fixed typo in subject.
- Added missing SoB line.
- Applied Reviewed-by tags.
drivers/gpu/drm/panthor/panthor_hw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panthor/panthor_hw.c b/drivers/gpu/drm/panthor/panthor_hw.c
index 7e315708ca7c..ea1e222ef121 100644
--- a/drivers/gpu/drm/panthor/panthor_hw.c
+++ b/drivers/gpu/drm/panthor/panthor_hw.c
@@ -136,7 +136,7 @@ static char *get_gpu_model_name(struct panthor_device *ptdev)
case GPU_PROD_ID_MAKE(10, 7):
return "Mali-G610";
case GPU_PROD_ID_MAKE(11, 2):
- if (shader_core_count > 10 && ray_intersection)
+ if (shader_core_count >= 10 && ray_intersection)
return "Mali-G715-Immortalis";
else if (shader_core_count >= 7)
return "Mali-G715";
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v2] drm/panthor: fix immortalis condition
2026-10-14 7:09 [PATCH v2] drm/panthor: fix immortalis condition Erik Faye-Lund
@ 2026-10-14 15:57 ` Steven Price
0 siblings, 0 replies; 2+ messages in thread
From: Steven Price @ 2026-10-14 15:57 UTC (permalink / raw)
To: Erik Faye-Lund, Boris Brezillon, Liviu Dudau, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Chia-I Wu, Karunika Choo
Cc: dri-devel, linux-kernel
On 14/10/2026 08:09, Erik Faye-Lund wrote:
> Exactly 10 cores is also valid for an Immortalis configuration,
> according to the public documentation:
>
> https://support.arm.com/compute-ip/immortalis-g715
>
> So let's report this G715 with 10 cores as Immortalis as well, as long
> as it supports the ray-intersection feature. This matches what we do for
> more recent GPUs as well.
>
> Fixes: 3b1dc21d6d80 ("drm/panthor: Add support for Mali-Gx15 family of GPUs")
> Signed-off-by: Erik Faye-Lund <erik.faye-lund@arm.com>
> Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
I'll push this to drm-misc-fixes.
Thanks,
Steve
> ---
> Changes since v1:
> - Fixed typo in subject.
> - Added missing SoB line.
> - Applied Reviewed-by tags.
>
> drivers/gpu/drm/panthor/panthor_hw.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/panthor/panthor_hw.c b/drivers/gpu/drm/panthor/panthor_hw.c
> index 7e315708ca7c..ea1e222ef121 100644
> --- a/drivers/gpu/drm/panthor/panthor_hw.c
> +++ b/drivers/gpu/drm/panthor/panthor_hw.c
> @@ -136,7 +136,7 @@ static char *get_gpu_model_name(struct panthor_device *ptdev)
> case GPU_PROD_ID_MAKE(10, 7):
> return "Mali-G610";
> case GPU_PROD_ID_MAKE(11, 2):
> - if (shader_core_count > 10 && ray_intersection)
> + if (shader_core_count >= 10 && ray_intersection)
> return "Mali-G715-Immortalis";
> else if (shader_core_count >= 7)
> return "Mali-G715";
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-10-14 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 7:09 [PATCH v2] drm/panthor: fix immortalis condition Erik Faye-Lund
2026-10-14 15:57 ` Steven Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®