external/gbm_gralloc
Revision | 2b61bef10ff3b53b62b8edd8759e1c12c9c6a4d7 (tree) |
---|---|
Time | 2018-07-03 07:43:40 |
Author | Rob Herring <robh@kern...> |
Commiter | Rob Herring |
Remove GRALLOC_MODULE_PERFORM_GET_USAGE
This is no longer used by drm_hwc and can be removed.
Signed-off-by: Rob Herring <robh@kernel.org>
@@ -84,12 +84,6 @@ static int gbm_mod_perform(const struct gralloc_module_t *mod, int op, ...) | ||
84 | 84 | err = 0; |
85 | 85 | } |
86 | 86 | break; |
87 | - /* TODO: This is a stub and should be implemented fully */ | |
88 | - case GRALLOC_MODULE_PERFORM_GET_USAGE: | |
89 | - { | |
90 | - err = 0; | |
91 | - } | |
92 | - break; | |
93 | 87 | default: |
94 | 88 | err = -EINVAL; |
95 | 89 | break; |
@@ -34,13 +34,6 @@ enum { | ||
34 | 34 | * int *fd); |
35 | 35 | */ |
36 | 36 | GRALLOC_MODULE_PERFORM_GET_DRM_FD = 0x40000002, |
37 | - | |
38 | - /* perform(const struct gralloc_module_t *mod, | |
39 | - * int op, | |
40 | - * buffer_handle_t buffer, | |
41 | - * int *usage); | |
42 | - */ | |
43 | - GRALLOC_MODULE_PERFORM_GET_USAGE = 0xffeeff03, | |
44 | 37 | }; |
45 | 38 | |
46 | 39 | #ifdef __cplusplus |