diff options
author | Steve Pfetsch <spfetsch@google.com> | 2017-10-17 20:36:33 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-10-17 20:36:33 +0000 |
commit | 86da9224b4df17950592a8c336b74ceb07165328 (patch) | |
tree | 17e8f9a795908a6bc4b2a7c9e09efe866373a299 /msm8996 | |
parent | 040edacf20e69cce5be5aeadfa54e803085f446b (diff) | |
parent | 0e89ea80214239dc284a0a347600dd762476bb5c (diff) | |
download | display-86da9224b4df17950592a8c336b74ceb07165328.tar.gz |
resolve merge conflicts of 5abba5cb to oc-dr1-dev am: 812125f118
am: 0e89ea8021
Change-Id: I672741415f643e3a299abbddaab1ec0a12dc4c1d
Diffstat (limited to 'msm8996')
-rw-r--r-- | msm8996/libgralloc/mapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msm8996/libgralloc/mapper.cpp b/msm8996/libgralloc/mapper.cpp index 2ecb491c..77e761d2 100644 --- a/msm8996/libgralloc/mapper.cpp +++ b/msm8996/libgralloc/mapper.cpp @@ -73,7 +73,7 @@ static int gralloc_map_metadata(buffer_handle_t handle) { hnd, hnd->fd_metadata, strerror(errno)); return -errno; } - hnd->base_metadata = uint64_t(mappedAddress) + hnd->offset_metadata; + hnd->base_metadata = uint64_t(mappedAddress); } return 0; } @@ -104,7 +104,7 @@ static int gralloc_map(gralloc_module_t const* module, return -errno; } - hnd->base = uint64_t(mappedAddress) + hnd->offset; + hnd->base = uint64_t(mappedAddress); } else { // Cannot map secure buffers or framebuffers, but still need to map // metadata for secure buffers. |