diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-01-11 18:12:01 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-08 17:11:56 -0500 |
commit | dc110896cd6dbda8296720da816c1e81e64aca04 (patch) | |
tree | edf7a8d9fd8b371663d97cd875b4c8983389e7d3 /drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | |
parent | f0cbe19b12524f5df6466eaf86acbfb349def6b1 (diff) |
gpu: nvgpu: add vpr flag in gpu characteristics
VPR is currently not supported in virtualized configuration.
Allow reporting VPR capability in gpu characteristics
Jira EVLR-2236
Change-Id: Id61a0045577e4add0d9cdfddcefcedd5b20eb1dd
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1639798
(cherry picked from commit 4136b74fd4435966ee2e69ec88fb66424382a7c0)
Reviewed-on: https://git-master.nvidia.com/r/1640712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c index db30fff2..127a8ce9 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | |||
@@ -667,6 +667,7 @@ void gk20a_tegra_idle(struct device *dev) | |||
667 | void gk20a_tegra_init_secure_alloc(struct gk20a *g) | 667 | void gk20a_tegra_init_secure_alloc(struct gk20a *g) |
668 | { | 668 | { |
669 | g->ops.secure_alloc = gk20a_tegra_secure_alloc; | 669 | g->ops.secure_alloc = gk20a_tegra_secure_alloc; |
670 | __nvgpu_set_enabled(g, NVGPU_SUPPORT_VPR, true); | ||
670 | } | 671 | } |
671 | 672 | ||
672 | #ifdef CONFIG_COMMON_CLK | 673 | #ifdef CONFIG_COMMON_CLK |