Commit d801e6f4 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Lucas Stach

drm/etnaviv: Warn when probing on NPUs

Userspace is still not making full use of the hardware, so we don't know
yet if changes to the UAPI won't be needed. Warn about it.
Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent ab3d7b6d
...@@ -773,6 +773,10 @@ int etnaviv_gpu_init(struct etnaviv_gpu *gpu) ...@@ -773,6 +773,10 @@ int etnaviv_gpu_init(struct etnaviv_gpu *gpu)
goto fail; goto fail;
} }
if (gpu->identity.nn_core_count > 0)
dev_warn(gpu->dev, "etnaviv has been instantiated on a NPU, "
"for which the UAPI is still experimental\n");
/* Exclude VG cores with FE2.0 */ /* Exclude VG cores with FE2.0 */
if (gpu->identity.features & chipFeatures_PIPE_VG && if (gpu->identity.features & chipFeatures_PIPE_VG &&
gpu->identity.features & chipFeatures_FE20) { gpu->identity.features & chipFeatures_FE20) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment