> +if (!supported_gpu) {
> +fprintf(stderr, "Unsupported GPU\n");
> +free(screen);
> +return NULL;
> +}
End users may see this. Is it better to silently fail or to print a
message that Panfrost isn't loaded (either way, the swrast wou
Maintain a list of panfrost supported GPU's and exit early when
running on a unsupported GPU.
Signed-off-by: Rohan Garg
---
src/gallium/drivers/panfrost/pan_screen.c | 15 +++
src/gallium/drivers/panfrost/pan_screen.h | 6 ++
2 files changed, 21 insertions(+)
diff --git a/src/g