1. 04 Feb, 2019 3 commits
  2. 01 Feb, 2019 1 commit
  3. 22 Jan, 2019 1 commit
  4. 16 Jan, 2019 2 commits
  5. 10 Jan, 2019 1 commit
  6. 03 Jan, 2019 3 commits
  7. 18 Dec, 2018 1 commit
    • maurossi's avatar
      android: Fix 32-bit app crashing in 64-bit Android · 597725e9
      maurossi authored
      
      
      Seemingly the 64-bit int is always aligned to 8 in LP64.
      But this is not hold in LP32.
      
      Consequently sizeof(gralloc_drm_handle_t) are different
      between LP64 (which is 18 ints) and LP32 (which is 16 ints).
      As a result, 32-bit apps will crash in 64-bit OS since the
      checking handle->base.numInts != GRALLOC_GBM_HANDLE_NUM_INTS
      is true.
      
      Fix it by always aligning 64-bit int to 8. Besides, to avoid
      additional padding, just exchange the order of data_owner
      and modifier. It aligns modifier to 8 natually.
      This makes gralloc_drm_handle_t fit in 16 ints perfectly.
      
      (v2) gralloc_drm_handle.h patch now applied in gralloc_handle.h
           and GRALLOC_HANDLE_VERSION updated to 4
      Reported-by: maurossi's avatarMauro Rossi <issor.oruam@gmail.com>
      Signed-off-by: Chih-Wei Huang's avatarChih-Wei Huang <cwhuang@linux.org.tw>
      Reviewed-by: Robert Foss's avatarRobert Foss <robert.foss@collabora.com>
      597725e9
  8. 17 Dec, 2018 2 commits
  9. 14 Dec, 2018 3 commits
  10. 11 Dec, 2018 1 commit
  11. 05 Dec, 2018 1 commit
  12. 20 Nov, 2018 2 commits
  13. 11 Nov, 2018 1 commit
  14. 09 Nov, 2018 2 commits
  15. 02 Nov, 2018 1 commit
  16. 01 Nov, 2018 1 commit
  17. 17 Oct, 2018 1 commit
  18. 16 Oct, 2018 1 commit
  19. 14 Oct, 2018 2 commits
  20. 13 Oct, 2018 10 commits