OSDN Git Service

fix GRALLOC_DRM_HANDLE_NUM_INTS definition for 64-bit lollipop-x86
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 8 Nov 2015 15:29:34 +0000 (16:29 +0100)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 13 Nov 2015 16:18:41 +0000 (00:18 +0800)
commit9b65142921951368fa53e48508b388cadeb55854
tree62390844e5c85f2e1c71635f762b49358e1893b9
parent08a2f0784724205c457e357a75636c04a83a99bd
fix GRALLOC_DRM_HANDLE_NUM_INTS definition for 64-bit

As highlighted by pstglia current definition of GRALLOC_DRM_HANDLE_NUM_INTS
causes issues with 64-bit, because a pointer is accounted as having size of
an integer, which is not applicable to 64-bit pointer

The same definition adopted in AOSP hardware/drm_gralloc master branch has
been used, without changing the structure of gralloc_drm_handle_t.
gralloc_drm_handle.h