mirror of
https://github.com/torvalds/linux.git
synced 2026-10-23 23:51:02 +02:00
drm/panthor: fix immortalis condition
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: 3b1dc21d6d ("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>
Link: https://patch.msgid.link/20261014070902.169273-1-erik.faye-lund@arm.com
Signed-off-by: Steven Price <steven.price@arm.com>
This commit is contained in:
parent
26401a4999
commit
c347fef5f8
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user