1. 03 Mar, 2020 2 commits
  2. 19 Aug, 2019 1 commit
  3. 10 Aug, 2019 4 commits
  4. 22 Apr, 2019 1 commit
  5. 02 Jul, 2018 5 commits
  6. 24 Jan, 2018 1 commit
  7. 30 Nov, 2017 1 commit
  8. 29 Nov, 2017 1 commit
    • Rob Herring's avatar
      Use native_handle functions · c10ef2b6
      Rob Herring authored
      Use native_handle_{create,delete} functions instead of the C++
      alloc/free. This will do the initialization for us instead of open
      coding it.
      Change-Id: I285292770ca756c1d2c2effa5c73e252526bae0c
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
  9. 04 Oct, 2017 1 commit
    • Chih-Wei Huang's avatar
      Fix 32-bit app crashing in 64-bit Android · d8b95e3e
      Chih-Wei Huang 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.
      Signed-off-by: default avatarChih-Wei Huang <cwhuang@linux.org.tw>
  10. 15 Sep, 2017 1 commit
    • Rob Herring's avatar
      Android: move libraries to /vendor · 94559640
      Rob Herring authored
      As part of Treble project in Android O, all the device specific files have
      to be located in a separate vendor partition. This is done by setting
      LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not
      break existing platforms without a vendor partition as it will just move
      files to /system/vendor.
      Change-Id: I0e863d55406b3e2457bbaded818e7fd4f19f064a
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
  11. 11 Sep, 2017 3 commits
  12. 06 Sep, 2017 3 commits
  13. 12 Jul, 2017 1 commit
  14. 06 Jul, 2017 1 commit
  15. 22 Jun, 2017 1 commit
  16. 12 Jun, 2017 2 commits
  17. 08 Jun, 2017 1 commit
  18. 13 Apr, 2017 2 commits
  19. 29 Mar, 2017 1 commit
    • John Stultz's avatar
      gbm_gralloc: Remove the invalid int cast and assignment in gbm_mod_perform() · 95c1cfb0
      John Stultz authored
      In gbm_mod_perform(), for the cmd GRALLOC_MODULE_PERFORM_GET_USAGE,
      the code takes the third argument, casts it as an int* and then writes
      a zero into what the pointer points to.
      The problem with this is that the third argument to that function is
      actually a native_handle_t, so writing zero to the first int in that
      structure ends up overwriting the version value, causing the
      native_handle_t code to see the value as corrupt.
      This results in lots of warnings and leaked fds.
      Change-Id: If64770c164557b467f76ca97ddc182565730d394
      Cc: Rob Herring <rob.herring@linaro.org>
      Cc: Amit Pundir <amit.pundir@linaro.org>
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Vishal Bhoj <vishal.bhoj@linaro.org>
      Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
  20. 22 Mar, 2017 1 commit
    • Rob Herring's avatar
      Change module name to gralloc.gbm · e4017f7e
      Rob Herring authored
      Originally, the intent was to make GBM gralloc a drop-in replacement for
      DRM gralloc, but this isn't really happening or needed. Change the name
      so both can coexist.
      Change-Id: I4eff839523213cc76c56746275d8ba7534ba9c12
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
  21. 13 Dec, 2016 6 commits