From: Boris Brezillon Date: Tue, 2 Jul 2019 08:25:26 +0000 (+0200) Subject: panfrost: Get rid of the panfrost_driver abstraction leftovers X-Git-Tag: upstream/19.3.0~4887 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=079aaa9c6d9c61f00a37a5a888091c7366c2bd6f;p=platform%2Fupstream%2Fmesa.git panfrost: Get rid of the panfrost_driver abstraction leftovers Commit 5f81669d880b ("panfrost: Remove the panfrost_driver abstraction") left a few things behind, remove them now. Signed-off-by: Boris Brezillon --- diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index 7ffceb9..3d25eda 100644 --- a/src/gallium/drivers/panfrost/pan_drm.c +++ b/src/gallium/drivers/panfrost/pan_drm.c @@ -35,7 +35,6 @@ #include "pan_screen.h" #include "pan_resource.h" #include "pan_context.h" -#include "pan_drm.h" #include "pan_util.h" #include "pandecode/decode.h" diff --git a/src/gallium/drivers/panfrost/pan_drm.h b/src/gallium/drivers/panfrost/pan_drm.h deleted file mode 100644 index e94907a..0000000 --- a/src/gallium/drivers/panfrost/pan_drm.h +++ /dev/null @@ -1,32 +0,0 @@ -/* - * © Copyright 2019 Collabora, Ltd. - * - * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation files (the "Software"), - * to deal in the Software without restriction, including without limitation - * the rights to use, copy, modify, merge, publish, distribute, sublicense, - * and/or sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL - * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - */ - -#ifndef __PAN_DRM_H__ -#define __PAN_DRM_H__ - -#include "pan_screen.h" - -struct panfrost_driver *panfrost_create_drm_driver(int fd); - -#endif /* __PAN_DRM_H__ */ diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index d6b1bc8..d53a906 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -64,8 +64,6 @@ DEBUG_GET_ONCE_FLAGS_OPTION(pan_debug, "PAN_MESA_DEBUG", debug_options, 0) int pan_debug = 0; -struct panfrost_driver *panfrost_create_drm_driver(int fd); - static const char * panfrost_get_name(struct pipe_screen *screen) {