summaryrefslogtreecommitdiff
path: root/drmhwcgralloc.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2017-10-06 17:02:03 -0500
committerRobert Foss <robert.foss@collabora.com>2017-10-09 15:59:07 +0200
commit0f7487f10a8ef2fc212e115627ed4744c9801d3a (patch)
tree0dea187b0164705fd1147b777ae6347a7a5004c2 /drmhwcgralloc.h
parentaeccd89eaafec467cb9449cce5c64152a240c138 (diff)
drm_hwcomposer: remove NVIDIA importer
There's no opensource implementation for the NVIDIA gralloc implementation, so remove it as it is not testable. As all of the gralloc perform() operations are specific to it, they can be removed, too. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'drmhwcgralloc.h')
-rw-r--r--drmhwcgralloc.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/drmhwcgralloc.h b/drmhwcgralloc.h
index c4a42ea..759746a 100644
--- a/drmhwcgralloc.h
+++ b/drmhwcgralloc.h
@@ -19,39 +19,6 @@
#include <stdint.h>
-enum {
- /* perform(const struct gralloc_module_t *mod,
- * int op,
- * int drm_fd,
- * buffer_handle_t buffer,
- * struct hwc_drm_bo *bo);
- */
- GRALLOC_MODULE_PERFORM_DRM_IMPORT = 0xffeeff00,
-
- /* perform(const struct gralloc_module_t *mod,
- * int op,
- * buffer_handle_t buffer,
- * void (*free_callback)(void *),
- * void *priv);
- */
- GRALLOC_MODULE_PERFORM_SET_IMPORTER_PRIVATE = 0xffeeff01,
-
- /* perform(const struct gralloc_module_t *mod,
- * int op,
- * buffer_handle_t buffer,
- * void (*free_callback)(void *),
- * void **priv);
- */
- GRALLOC_MODULE_PERFORM_GET_IMPORTER_PRIVATE = 0xffeeff02,
-
- /* perform(const struct gralloc_module_t *mod,
- * int op,
- * buffer_handle_t buffer,
- * int *usage);
- */
- GRALLOC_MODULE_PERFORM_GET_USAGE = 0xffeeff03,
-};
-
typedef struct hwc_drm_bo {
uint32_t width;
uint32_t height;