Dumb: Adds a function to return mapped address

This function will return user virtual address for the buffer
if it is mapped. If not, then NULL as is initialized with same.

Change-Id: I772d7fc7d279edf9171667ea53fe2ab530249efe
Signed-off-by: Akshu Agrawal <akshu.a@samsung.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/26628
Reviewed-by: Akshu Agrawal <akshu@chromium.org>
Tested-by: Akshu Agrawal <akshu@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Abhinav Kochhar <abhinav@chromium.org>
Commit-Ready: Anush Elangovan <anush@google.com>
2 files changed