OSDN Git Service

Remove GRALLOC_MODULE_PERFORM_GET_USAGE
authorRob Herring <robh@kernel.org>
Fri, 16 Feb 2018 14:07:42 +0000 (08:07 -0600)
committerRob Herring <robh@kernel.org>
Mon, 2 Jul 2018 22:43:40 +0000 (16:43 -0600)
This is no longer used by drm_hwc and can be removed.

Signed-off-by: Rob Herring <robh@kernel.org>
gralloc.cpp
gralloc_drm.h

index 68cf315..2753ee9 100644 (file)
@@ -84,12 +84,6 @@ static int gbm_mod_perform(const struct gralloc_module_t *mod, int op, ...)
                        err = 0;
                }
                break;
-       /* TODO: This is a stub and should be implemented fully */
-       case GRALLOC_MODULE_PERFORM_GET_USAGE:
-               {
-                       err = 0;
-               }
-               break;
        default:
                err = -EINVAL;
                break;
index 87047ca..0ece652 100644 (file)
@@ -34,13 +34,6 @@ enum {
         *         int *fd);
         */
        GRALLOC_MODULE_PERFORM_GET_DRM_FD                = 0x40000002,
-
-       /* perform(const struct gralloc_module_t *mod,
-        *     int op,
-        *     buffer_handle_t buffer,
-        *     int *usage);
-        */
-       GRALLOC_MODULE_PERFORM_GET_USAGE                 = 0xffeeff03,
 };
 
 #ifdef __cplusplus