]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: gk20a: Allow overriding kind
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 23 Jan 2014 13:47:29 +0000 (15:47 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 12 Feb 2014 08:01:03 +0000 (00:01 -0800)
commit69cc57a6e0432b709cb315d3327e302ee72826ec
tree0cdc04cf79539b9bee28cb56f84a5b5b2fa37136
parent869476aa4aa52daaa987f11eeff4874e7bf59535
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>
drivers/video/tegra/host/gk20a/mm_gk20a.c
drivers/video/tegra/host/gk20a/mm_gk20a.h