From 079aaa9c6d9c61f00a37a5a888091c7366c2bd6f Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Tue, 2 Jul 2019 10:25:26 +0200 Subject: [PATCH] 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 --- src/gallium/drivers/panfrost/pan_drm.c | 1 - src/gallium/drivers/panfrost/pan_drm.h | 32 ----------------------- src/gallium/drivers/panfrost/pan_screen.c | 2 -- 3 files changed, 35 deletions(-) delete mode 100644 src/gallium/drivers/panfrost/pan_drm.h diff --git a/src/gallium/drivers/panfrost/pan_drm.c b/src/gallium/drivers/panfrost/pan_drm.c index 7ffceb9156c..3d25eda9667 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 e94907aa983..00000000000 --- 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 d6b1bc89fc1..d53a906838e 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) { -- 2.30.2