video: tegra: host: gk20a: Allow overriding kind
Usually we read kind from nvmap handle directly, however, we
occassionally want to be able to map the same buffer using a different
kind. This patch modifies the code so that we use the kind parameter if
it is provided.
Bug
1445482
Change-Id: I74bbc40e02aa29f26a554fcbb65aad8c0ce242dc
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/359763
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>