Mesa (master): panfrost: Get rid of the panfrost_driver abstraction leftovers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 2 15:07:36 UTC 2019


Module: Mesa
Branch: master
Commit: 079aaa9c6d9c61f00a37a5a888091c7366c2bd6f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=079aaa9c6d9c61f00a37a5a888091c7366c2bd6f

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Tue Jul  2 10:25:26 2019 +0200

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 <boris.brezillon at collabora.com>

---

 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(-)

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)
 {




More information about the mesa-commit mailing list