diff options
author | Richard Zhao <rizhao@nvidia.com> | 2017-03-02 14:00:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-03-08 14:35:24 -0500 |
commit | bc47d822298b9f3b2f93a384a7780a3763fee495 (patch) | |
tree | bbc8192bb47b9dd76b37f6149fe5d43efb6c0cb7 /drivers/gpu/nvgpu/vgpu/vgpu.c | |
parent | baf464779e4605d66e2f5eda3aff8ec33f5d093f (diff) |
gpu: nvgpu: add NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS
native gpu driver supports map compbits but vgpu does not.
Bug 1778448
Bug 200275051
JIRA VFND-3513
Change-Id: I433a6f8631b495875ba899af9609203ab36187ef
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/1314065
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index d2afc4af..d5eb05ac 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -317,6 +317,7 @@ static int vgpu_init_gpu_characteristics(struct gk20a *g) | |||
317 | 317 | ||
318 | /* features vgpu does not support */ | 318 | /* features vgpu does not support */ |
319 | g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS; | 319 | g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_CYCLE_STATS; |
320 | g->gpu_characteristics.flags &= ~NVGPU_GPU_FLAGS_SUPPORT_MAP_COMPBITS; | ||
320 | 321 | ||
321 | return 0; | 322 | return 0; |
322 | } | 323 | } |