OSDN Git Service

minigbm: remove gma500
authorGurchetan Singh <gurchetansingh@chromium.org>
Tue, 9 Jan 2018 22:22:04 +0000 (14:22 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Fri, 19 Jan 2018 01:40:23 +0000 (17:40 -0800)
We don't support this driver anymore.

BUG=none
TEST=none

Change-Id: Ib9f03a48e8825e3ac1f359e8fd75a68599790a14
Reviewed-on: https://chromium-review.googlesource.com/858169
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Dominik Behr <dbehr@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Android.mk
drv.c
gma500.c [deleted file]

index bd9b9ae..a2558aa 100644 (file)
@@ -1,4 +1,3 @@
-# Copyright 2017 The Chromium OS Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
@@ -22,7 +21,6 @@ LOCAL_SRC_FILES := \
        drv.c \
        evdi.c \
        exynos.c \
-       gma500.c \
        helpers.c \
        i915.c \
        marvell.c \
diff --git a/drv.c b/drv.c
index 1f6fcab..7e12873 100644 (file)
--- a/drv.c
+++ b/drv.c
@@ -30,7 +30,6 @@ extern const struct backend backend_evdi;
 #ifdef DRV_EXYNOS
 extern const struct backend backend_exynos;
 #endif
-extern const struct backend backend_gma500;
 #ifdef DRV_I915
 extern const struct backend backend_i915;
 #endif
@@ -78,7 +77,6 @@ static const struct backend *drv_get_backend(int fd)
 #ifdef DRV_EXYNOS
                &backend_exynos,
 #endif
-               &backend_gma500,
 #ifdef DRV_I915
                &backend_i915,
 #endif
diff --git a/gma500.c b/gma500.c
deleted file mode 100644 (file)
index 366f232..0000000
--- a/gma500.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright 2014 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "drv_priv.h"
-#include "helpers.h"
-#include "util.h"
-
-static const uint32_t render_target_formats[] = { DRM_FORMAT_RGBX8888 };
-
-static int gma500_init(struct driver *drv)
-{
-       drv_add_combinations(drv, render_target_formats, ARRAY_SIZE(render_target_formats),
-                            &LINEAR_METADATA, BO_USE_RENDER_MASK);
-
-       return drv_modify_linear_combinations(drv);
-}
-
-const struct backend backend_gma500 = {
-       .name = "gma500",
-       .init = gma500_init,
-       .bo_create = drv_dumb_bo_create,
-       .bo_destroy = drv_dumb_bo_destroy,
-       .bo_import = drv_prime_bo_import,
-       .bo_map = drv_dumb_bo_map,
-       .bo_unmap = drv_bo_munmap,
-};