- Nov 23, 2021
-
-
Adrian Ratiu authored
This obviously breaks the vendor code in the mediatek.c backend but at this point we just need to make it work, then we can see if a separate "panfrost" backend is required and add back the vendor support. Change-Id: I13a006a12d1784ef460159623ad8e05ba649a876
-
- Nov 11, 2021
-
-
Adrian Ratiu authored
This reverts commit aa772db0.
-
- Nov 08, 2021
-
-
Add a simple helper function that stats /dev/mali to check if it exists. It can be used by drv backends as the match callback. BUG=None TEST=UI test on jacuzzi board booted with mesa + panfrost Change-Id: Ifa0dd6eeb4549e5df43926a2811b4a4cb2bf8ea7
-
- Oct 20, 2021
-
-
Vipin Anand authored
From Gen-12 onwards Render compression(RC) aux buffer layout has been changed. Updating the buffer allocation logic accordingly. BUG=b:149544398 TEST=Boot target board to UI and run this command in cros shell, and verify type (6) of RC modifer is in the output: localhost# cat /run/debugfs_gpu/i915_gem_framebuffer user size: 2256 x 1504, depth 24, 32 bpp, modifier 0x100000000000006,... ... Change-Id: Ic82302b81526028b18166737786d7848a506f7ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2248284 Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Tested-by:
Vipin Anand <vipin.anand@intel.corp-partner.google.com> Commit-Queue: Binu R S <binu.r.s@intel.com>
-
- Oct 14, 2021
-
-
Juston Li authored
Update header and i915 implementation with upstream protected object create_ext support Header imported from this hash: commit 7551b98ff03b2b9ed534dc3a071d00891b1abde2 Author: Zyta Szpak <zr@semihalf.com> Date: Thu Aug 19 17:30:06 2021 +0200 FIXUP: sched: Fix dmesg warnings Cq-Depend: chromium:3203921, chromium:3207105 Change-Id: I9ca8e010eaff9d18eb85366cdd37789001418f44 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3132929 Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by:
Jeffrey Kardatzke <jkardatzke@google.com> Tested-by:
Jeffrey Kardatzke <jkardatzke@google.com> Commit-Queue: Jeffrey Kardatzke <jkardatzke@google.com>
-
- Oct 12, 2021
-
-
Yiwei Zhang authored
1. CrOS is using Makefile 2. aosp is using blueprint BUG=b:199524294 TEST=CQ Change-Id: I184d23286a643963d46fcee528ee14cd452f67fa Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3214693 Reviewed-by:
Chia-I Wu <olv@google.com> Reviewed-by:
Alistair Delva <adelva@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
BUG=b:199524294 TEST=CQ Change-Id: I9a82304247bd506b24e08219fc359874f39fd221 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3214692 Reviewed-by:
Chia-I Wu <olv@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org>
-
- Oct 07, 2021
-
-
Jason Macnak authored
... to that of SwiftShader + ANGLE (SwANGLE). With SwANGLE, GL_MAX_TEXTURE_SIZE comes from a combination of VkPhysicalDeviceLimits::maxFramebufferWidth and VkPhysicalDeviceLimits::maxImageDimension2Dcomes to meet GLES 3.1 requirements (see https://crrev.com/c/1917130). BUG=b:194426249 TEST=`cts -m CtsNativeHardwareTestCases` with aosp/1845813 Change-Id: Ia14f241b59742c1bb864ef8f6e19de82bbe8fba4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3208931 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Commit-Queue: Jason Macnak <natsu@google.com>
-
- Oct 05, 2021
-
-
Yiwei Zhang authored
BUG=b:199524294 TEST=CQ Change-Id: I2b36a0ef17cd6ecb77723d4a9d95196ad27ff4ad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3200148 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Chia-I Wu <olv@google.com>
-
Jason Macnak authored
It returns 0 on success. BUG=b:189133053 TEST=launch cuttlefish w/ cross domain Change-Id: I991bdf6c3db7eb4a58115fdd82143f207ecd6404 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3203237 Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Commit-Queue: Jason Macnak <natsu@google.com>
-
Yiwei Zhang authored
The same buffer can back multiple planes with different offsets. Thus when we dereference the bo, we have to check again after all planes are dereferenced. This change also adds a missing unlock on an asserted return pass in drv_bo_mapping_destroy. BUG=b:201767377 TEST=atest android.media.cts.DecodeAccuracyTest#testGLViewDecodeAccuracy Change-Id: I9dabf2f9b7ed33c9ed2f45b8ae498e98bfb0fc03 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3203235 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Chia-I Wu <olv@google.com> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com>
-
Yiwei Zhang authored
If the FLEX_YCbCr_420_888 format gets resolved into YVU420, the backend must strip scanout to satisfy the format support. BUG=b:201686603 TEST=gralloctest alloc_combinations Change-Id: I9206cb4d695b9a7eb052d2bbf2ea1032d706abb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3198681 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Fei Shao <fshao@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
It makes more sense to resovle the format and use_flags together to avoid duplicates. Add the helper to vc4 and dumb_driver backends since that's missed from prior frontend refactoring. Split the resolve helper in virtgpu_virgl for the 3d and 2d paths to make code logic cleaner. BUG=b:199524294 TEST=CQ Change-Id: I89b633ea484f0fc5bb9b4e0548cad017b9970cc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3200143 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Chia-I Wu <olv@google.com> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Dominik Behr <dbehr@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Oct 01, 2021
-
-
Yiwei Zhang authored
BUG=b:194817426 TEST=db845c external webcam works Change-Id: Ib4abb5caa86bc40fbb56c22667f8c11205b920eb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3195656 Tested-by:
John Stultz <john.stultz@linaro.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
John Stultz <john.stultz@linaro.org> Reviewed-by:
Rob Clark <robdclark@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Rob Clark <robdclark@chromium.org>
-
Yiwei Zhang authored
1. frontends access the driver via drv.h only 2. the renamed drv_helpers and drv_array_helpers are for driver only 3. remove extern "C" from drv_helpers.h given not exposed to gralloc 4. remove all redundant includes for those helpers BUG=b:199524294 TEST=CQ and gralloc builds on aosp Change-Id: I3f4d33076a6a8161804f1b7c26950ff5496507e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3195651 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 30, 2021
-
-
Yiwei Zhang authored
BUG=b:199524294 TEST=CQ Change-Id: I36ccaee6f979cce2c1eb3b66745e5c8332f594c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3195181 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com> Reviewed-by:
Ilja H. Friedel <ihf@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
BUG=b:199902066 TEST=CQ Change-Id: I8e8b3bc6d196ff21ee9507d5991498d7096d8ed2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3195653 Reviewed-by:
Chia-I Wu <olv@google.com> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Drew Davenport <ddavenport@chromium.org> Reviewed-by:
Rob Clark <robdclark@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org>
-
Jason Macnak authored
external/minigbm/drv.c:404:7: error: unused variable 'ret' int ret = drv_bo_mapping_destroy(bo); ^ BUG=b:201325625 TEST=build latest in AOSP Change-Id: I4070419aeae4054ed3eda084b810a3143a41b74f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3194819 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Jason Macnak authored
BUG=b:194426249 TEST=launch Cuttlefish w/ 2D mode TEST=launch Cuttlefish w/ 3D mode Change-Id: I077f24ab66124e1f8f9dba065e0a497a7502fa6b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3194815 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Jason Macnak authored
BUG=b:194426249 TEST=launch Cuttlefish w/ 2D mode TEST=launch Cuttlefish w/ 3D mode Change-Id: Ib96be2c783d47959a24f579a1ae99244f8afffdb Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3194814 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Jason Macnak authored
BUG=b:194426249 TEST=launch Cuttlefish w/ 2D mode TEST=launch Cuttlefish w/ 3D mode Change-Id: Iee5f7b88a73b9e5b8cf89de1d8b67308a696083f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3194813 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 29, 2021
-
-
Yiwei Zhang authored
Reduce unnecessary lock contention. BUG=b:201110412 TEST=CQ Change-Id: I88264285ef993fccec671a6c955b5ccac0db8f4a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3188472 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com>
-
Yiwei Zhang authored
crosdomain specific metadata_cache should be protected by a backend specific lock to reduce lock contention. BUG=b:201110412 TEST=CQ Change-Id: Ic3cedd7ad7903e669f7fba2b5f45d88739fbdc97 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3188471 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com>
-
Yiwei Zhang authored
This change also fixes a potential prime_fd leak in mediatek backend. BUG=b:201110412 TEST=CQ Change-Id: Ia3e10c94b536f83ecfb6580666103fe654bbc616 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3188852 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com>
-
Yiwei Zhang authored
1. internalize drv specific helpers into drv.c 2. simplify bo ref counting and clean up 3. refactor drv_bo_mapping_destroy BUG=b:201110412 TEST=CQ Change-Id: If297ef7007c1d14a69ae467b6d1c67c4edf5b177 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3188470 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
drv_mapping_destroy needs to be protected by the driver_lock while it isn't at drv_bo_destroy. Current drv->buffer_table won't clean up those BO plane buffers whose refcnt has reached zero. BUG=b:201110412 TEST=CQ Change-Id: I917dc60f95ec35e0cea320c8d8914274ed6ddb39 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3183472 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Chia-I Wu <olv@google.com> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 28, 2021
-
-
Jason Macnak authored
... to address: external/minigbm/cros_gralloc/gralloc0/gralloc0.cc:284:26: error: comparison of integers of different signs: 'uint32_t' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] BUG=b:201325625 TEST=build inside of AOSP Change-Id: Ie4f93b8dd82752e6dcf1234627e4d25756af2736 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3188653 Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Auto-Submit: Jason Macnak <natsu@google.com> Commit-Queue: Jason Macnak <natsu@google.com>
-
- Sep 25, 2021
-
-
Yiwei Zhang authored
For guest running 3d virtgpu_virgl atop 2d virtgpu_virgl as host gbm backend. Common and required scanout capable formats on the guest side will fail virgl_supports_combination_natively check, resulting in advertising no scanout support to the guest. This change adds the same logic to resolve_use_flags before checking support or asking for allocation to accommodate accordingly. Then whether to strip scanout use_flag can align with native support on those guest side scanout capable formats. Advertising scanout for NV12 needs to go through virgl_add_combination as well for the native support check. This is fixed by this CL. The logic to strip scanout needs to be scanout use_flag specific to avoid accidentally stripping scanout when the format fails texture check but later passes the emulation check because scanout has been stripped. This is also fixed by this CL. BUG=b:200969382 TEST=CQ and camera interop works Change-Id: I9126773a1ee49d4cdaf1f7186612d5f4f5c6200e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3180981 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Lepton Wu <lepton@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 23, 2021
-
-
Yiwei Zhang authored
This is to unify map usage conversion for gralloc frontends. BUG=b:199524294 TEST=build Change-Id: I488213ca889a98f39a86e0340a315052cb8f624f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3171104 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 22, 2021
-
-
Yiwei Zhang authored
When format plane is single, it's still possible for the host image memory to have multiple planes for auxiliary planes for non-linear modifiers. Relying on the non-zero stride to retrieve the actual strides and offsets info. BUG=b:197899093 TEST=run Vulkan apps on zork-arc-r TEST=run guest video/camera apps TEST=CtsNativeHardwareTestCases and related CtsGraphicsTestCases Change-Id: Id80f143de114bbe9252c40b46dcfb835085c754d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3120411 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
Only 2d virtgpu backend needs to fallback here because virtio primary plane only allows DRM_FORMAT_XRGB8888. Most our platforms cannot display YV12 (except msm), thus the fallback is required for the converted DRM_FORMAT_YVU420_ANDROID. For virgl backend, additionally append a BO_USE_LINEAR as a replacement for the hack inside compute_virgl_bind_flags. BUG=b:199524294 TEST=CQ TEST=gralloctest alloc_combinations TEST=android.media.cts.VideoDecoderRotationTest Change-Id: Ic87838ea2aae2b0abf87ed898ad75a3d7e556471 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3166775 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Yiwei Zhang authored
BUG=b:199524294 TEST=build Change-Id: I53eaa20847afc6e80ae957b746248468420c30b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3174312 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 21, 2021
-
-
Yiwei Zhang authored
Deprecating the allocation fallback for formats not supporting scanout in virtgpu_virgl causes issue for camera interop where NV12 is a format required by camera interop. Host drv backends already have such support. BUG=b:199524294 TEST=camera apps working in arcvm Change-Id: Ifa94695491ae9d172b147c51b8eeec8180a440f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3140575 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Yiwei Zhang authored
Refactor DRM_FORMAT_ABGR2101010 and DRM_FORMAT_ABGR16161616F into texture formats since BO_USE_TEXTURE_MASK covers BO_USE_SW_MASK. Refactor to remove the redundant advertisement of DRM_FORMAT_NV12 and DRM_FORMAT_NV21 in the 2d path as the formats are already inside dumb_texture_source_formats, and BO_USE_TEXTURE_MASK is a superset of BO_USE_SW_MASK and BO_USE_LINEAR. BUG=b:199524294 TEST=build Change-Id: I89e315d2870ecf974157dfaec69d0c50453727f8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3169570 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 18, 2021
-
-
Yiwei Zhang authored
Reordered the cases to align with actual enum value for the hal formats, and added 3 more formats support to align with gralloc4 support: 1. Y8 2. Y16 3. YCBCR_P010 BUG=b:199524294 TEST=CtsNativeHardwareTestCases TEST=gralloc4 builds in aosp Change-Id: I7a6743524c024d46ab2a7a6d973f431ea2721c49 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3160131 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
Jason Macnak authored
The current logcat error message sounds quite fatal to someone unfamiliar with virtio gpu's extensions. BUG=n/a TEST=build Change-Id: Ifd26f31b561c9103eea357717397d38280270f50 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3169386 Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by:
Yiwei Zhang <zzyiwei@chromium.org> Tested-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Gurchetan Singh <gurchetansingh@chromium.org>
-
Yiwei Zhang authored
BUG=b:199524294 TEST=build Change-Id: I03f982fab307f7b55344ddb224f1cdced8df73ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3166894 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-
- Sep 17, 2021
-
-
Yiwei Zhang authored
There're already auto-generated helpers functions which also handles unknown cases properly. BUG=b:199524294 TEST=gralloc4 builds on aosp Change-Id: Ic488494812c455bfd01ca0e2b60091f21ca8fd96 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3161221 Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org>
-
Yiwei Zhang authored
The 2 formats were falsely required in Android 10. This patch is to fix crrev/c/3158977. BUG=b:200123244 TEST=Pie android.graphics.cts.BitmapColorSpaceTest#test16bitHardware Change-Id: I31aef2b153b6b9a634cbca333dd73b189db0929d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3166774 Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Kazuhiro Inaba <kinaba@chromium.org> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Auto-Submit: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by:
Kazuhiro Inaba <kinaba@chromium.org>
-
Yiwei Zhang authored
This simplify the separate resolving efforts in different gralloc frontends (including separate logic in gralloc4 mapper and allocator). BUG=b:199524294 TEST=CtsNativeHardwareTestCases Change-Id: I74cd19df9b06c26a124e89c3367dd76b5b57dbd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3166893 Reviewed-by:
Jason Macnak <natsu@google.com> Reviewed-by:
Gurchetan Singh <gurchetansingh@chromium.org> Tested-by:
Jason Macnak <natsu@google.com> Tested-by:
Yiwei Zhang <zzyiwei@chromium.org> Commit-Queue: Yiwei Zhang <zzyiwei@chromium.org>
-