diff --git a/hwcomposer/wayland-hwc.cpp b/hwcomposer/wayland-hwc.cpp index 65d7eab..fcb68cb 100755 --- a/hwcomposer/wayland-hwc.cpp +++ b/hwcomposer/wayland-hwc.cpp @@ -2692,7 +2692,7 @@ get_gralloc_type(const char *gralloc) { if (strcmp(gralloc, "default") == 0) { return GRALLOC_DEFAULT; - } else if (strcmp(gralloc, "gbm") == 0) { + } else if (strcmp(gralloc, "gbm") == 0 || strcmp(gralloc, "gbm_proxy") == 0) { return GRALLOC_GBM; } else if (str_starts_with(gralloc, "minigbm_") == 0) { return GRALLOC_CROS; diff --git a/hwcomposerx11/x11-hwc.cpp b/hwcomposerx11/x11-hwc.cpp index 2fbd8fd..828cf74 100755 --- a/hwcomposerx11/x11-hwc.cpp +++ b/hwcomposerx11/x11-hwc.cpp @@ -148,7 +148,7 @@ get_gralloc_type(const char *gralloc) { if (strcmp(gralloc, "default") == 0) { return GRALLOC_DEFAULT; - } else if (strcmp(gralloc, "gbm") == 0) { + } else if (strcmp(gralloc, "gbm") == 0 || strcmp(gralloc, "gbm_proxy") == 0) { return GRALLOC_GBM; } else if (strcmp(gralloc, "ranchu") == 0) { return GRALLOC_RANCHU;