Skip to content
Commit 9b5c052f authored by Your Name's avatar Your Name
Browse files

Define TARGET_GRALLOC_HANDLE_HAS_RESERVED_SIZE

- Updated display stack requires to use GRALLOC_HANDLE_HAS_RESERVED_SIZE

[Reference]:
- VoidUI-Tiramisu/vendor_aosp@6e92cbb
- VoidUI-Tiramisu/vendor_qcom_opensource_commonsys-intf_display@063620ac8f2f1e71315f22cbb289b856c4473787
- VoidUI-Tiramisu/vendor_qcom_opensource_commonsys-intf_display@7d4de03ac1428bad36ccde0d950540dae731988e

[Fixing following errors]:
hardware/qcom-caf/sm8250/display/gralloc/gr_buf_mgr.cpp:107:43: error: no member named 'reserved_size' in 'private_handle_t'
  uint64_t reserved_region_size = handle->reserved_size;
                                  ~~~~~~  ^
hardware/qcom-caf/sm8250/display/gralloc/gr_buf_mgr.cpp:125:45: error: no member named 'reserved_size' in 'private_handle_t'
    uint64_t reserved_region_size = handle->reserved_size;
                                    ~~~~~~  ^
hardware/qcom-caf/sm8250/display/gralloc/gr_buf_mgr.cpp:752:41: error: no member named 'reserved_size' in 'private_handle_t'
  auto meta_size = getMetaDataSize(hnd->reserved_size);
                                   ~~~  ^
hardware/qcom-caf/sm8250/display/gralloc/gr_buf_mgr.cpp:1087:8: error: no member named 'reserved_size' in 'private_handle_t'
  hnd->reserved_size = descriptor.GetReservedSize();
parent e1704543
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment