From dde1913f164a030256bb454a8e9917279ae21396 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Wed, 3 Jan 2018 13:02:56 -0800 Subject: gpu: nvgpu: Do not disable ELPG when committing buffers Committing buffer addresses only writes to the memory. There's no need to disable ELPG for the duration, so drop the ELPG protection. Change-Id: I8d8d08506387197e4737e0311df4a20085496056 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1631149 Reviewed-by: Deepak Nibade GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c') diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c index 4d36e66b..fa2010cd 100644 --- a/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c +++ b/drivers/gpu/nvgpu/common/linux/vgpu/gr_vgpu.c @@ -581,8 +581,7 @@ int vgpu_gr_alloc_obj_ctx(struct channel_gk20a *c, u32 class_num, u32 flags) nvgpu_err(g, "fail to map global ctx buffer"); goto out; } - gr_gk20a_elpg_protected_call(g, - vgpu_gr_commit_global_ctx_buffers(g, c, true)); + vgpu_gr_commit_global_ctx_buffers(g, c, true); } /* load golden image */ -- cgit v1.2.2