• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoapythonrubywindowsphpgameguibathyscaphec翻訳omegatframework計画中(planning stage)twitterdombtronvb.nettestarduinodirectxpreviewerゲームエンジン

external/gbm_gralloc


Commit MetaInfo

Revision2b61bef10ff3b53b62b8edd8759e1c12c9c6a4d7 (tree)
Time2018-07-03 07:43:40
AuthorRob Herring <robh@kern...>
CommiterRob Herring

Log Message

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>

Change Summary

Incremental Difference

--- a/gralloc.cpp
+++ b/gralloc.cpp
@@ -84,12 +84,6 @@ static int gbm_mod_perform(const struct gralloc_module_t *mod, int op, ...)
8484 err = 0;
8585 }
8686 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;
9387 default:
9488 err = -EINVAL;
9589 break;
--- a/gralloc_drm.h
+++ b/gralloc_drm.h
@@ -34,13 +34,6 @@ enum {
3434 * int *fd);
3535 */
3636 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,
4437 };
4538
4639 #ifdef __cplusplus