diff options
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | 2023-12-08 04:31:33 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-12-08 04:31:33 +0000 |
commit | 7f51d90e02b6f19a5af50f61e3984f4f9c4c553b (patch) | |
tree | d6d371847bc2153b9aba7aec5edb65c953dfcaea | |
parent | 299507996fa4f1a8c9dfa1eaee8b0c23d2802eed (diff) | |
parent | 5cea14d897338b8f540067284e7c5fa907c8068f (diff) | |
download | gchips-7f51d90e02b6f19a5af50f61e3984f4f9c4c553b.tar.gz |
Merge "gralloc4: Warn about invalid usage (rather than error)" into main
-rw-r--r-- | gralloc4/src/core/mali_gralloc_formats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc4/src/core/mali_gralloc_formats.cpp b/gralloc4/src/core/mali_gralloc_formats.cpp index 4bcc9ce..e36e27d 100644 --- a/gralloc4/src/core/mali_gralloc_formats.cpp +++ b/gralloc4/src/core/mali_gralloc_formats.cpp @@ -1502,7 +1502,7 @@ uint64_t mali_gralloc_select_format(const uint64_t req_format, /* Reject if usage specified is outside white list of valid usages. */ if (type != MALI_GRALLOC_FORMAT_TYPE_INTERNAL && (usage & (~VALID_USAGE)) != 0) { - MALI_GRALLOC_LOGE("Invalid usage specified: %s 0x%" PRIx64, describe_usage(usage).c_str(), usage); + MALI_GRALLOC_LOGW("Invalid usage specified: %s 0x%" PRIx64, describe_usage(usage).c_str(), usage); } /* TODO: Make a function for finding formats that should be allocated as the request format */ |