mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
This commit is contained in:
committed by
Lucas Stach
parent
ab3d7b6d48
commit
d801e6f4e1
@@ -773,6 +773,10 @@ int etnaviv_gpu_init(struct etnaviv_gpu *gpu)
|
||||
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 */
|
||||
if (gpu->identity.features & chipFeatures_PIPE_VG &&
|
||||
gpu->identity.features & chipFeatures_FE20) {
|
||||
|
||||
Reference in New Issue
Block a user