From 2788943d3871cd84ada8cfe1dc56ce4f5a1ae6ab Mon Sep 17 00:00:00 2001 From: Konsta Holtta Date: Fri, 18 May 2018 16:13:35 +0300 Subject: gpu: nvgpu: remove broken force_pramin feature The forced PRAMIN reads and writes for sysmem buffers haven't worked in a while since the PRAMIN access code was refactored to work with vidmem-only sgt allocs. This feature was only ever meant for testing and debugging PRAMIN access and early dGPU support, but that is stable enough now so just delete the broken feature instead of fixing it. Change-Id: Ib31dae4550f3b6fea3c426a2e4ad126864bf85d2 Signed-off-by: Konsta Holtta Reviewed-on: https://git-master.nvidia.com/r/1723725 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index 45ce0e77..551e8b04 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c @@ -1124,7 +1124,7 @@ int gk20a_channel_alloc_gpfifo(struct channel_gk20a *c, goto clean_up_usermode; } - if (c->gpfifo.mem.aperture == APERTURE_VIDMEM || g->mm.force_pramin) { + if (c->gpfifo.mem.aperture == APERTURE_VIDMEM) { c->gpfifo.pipe = nvgpu_big_malloc(g, gpfifo_size * gpfifo_entry_size); if (!c->gpfifo.pipe) { -- cgit v1.2.2