mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
Supports all models in the test suite. No optimizations implemented yet. Acked-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36699>
19 lines
494 B
C
19 lines
494 B
C
/*
|
|
* Copyright 2014 Broadcom
|
|
* Copyright 2018 Alyssa Rosenzweig
|
|
* Copyright 2025 Tomeu Vizoso
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#include "util/os_file.h"
|
|
#include "util/u_screen.h"
|
|
|
|
#include "ethosu/ethosu_device.h"
|
|
#include "ethosu_drm_public.h"
|
|
|
|
struct pipe_screen *
|
|
ethosu_drm_screen_create(int fd, const struct pipe_screen_config *config)
|
|
{
|
|
return u_pipe_screen_lookup_or_create(os_dupfd_cloexec(fd), config, NULL,
|
|
ethosu_screen_create);
|
|
}
|