video: tegra: host: gk20a implement priv access map
authorKen Adams <kadams@nvidia.com>
Tue, 25 Feb 2014 00:30:00 +0000 (16:30 -0800)
committerMatthew Pedro <mapedro@nvidia.com>
Tue, 18 Mar 2014 03:27:50 +0000 (20:27 -0700)
commit6af691fed2dd4f4c1fce7de86afc80fce4d10b0f
treee9aeda8bb3665ded1c9f208a36366eba661e3858
parent0d1e73b5f4c86ffdb0677f191317899783506846
video: tegra: host: gk20a implement priv access map

This change enables a whitelist for priv register accesses on gk20a
through the set_falcon[4] path (used by usermode drivers).

Bug 1375360

Change-Id: I18274097fddaab0a15a8ad59f1d23f9e974a50e7
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/375651
(cherry picked from commit afd7fec44674af2569ac6443cf245e25786cc335)
Reviewed-on: http://git-master/r/376912
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
drivers/video/tegra/host/gk20a/gr_gk20a.c
drivers/video/tegra/host/gk20a/gr_gk20a.h
drivers/video/tegra/host/gk20a/hw_ctxsw_prog_gk20a.h
drivers/video/tegra/host/gk20a/hw_gr_gk20a.h