gpu: nvgpu: remove unused ch->gpfifo.wrap

ch->gpfifo.wrap was set when updating ch->gpfifo.get,
but never used afterwards. Removed.

Jira NVGPU-3388

Change-Id: I198e9ba0c3716a200a8937c2488cf35e04c0166f
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2118184
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Thomas Fleury
2019-05-13 17:43:24 -07:00
committed by mobile promotions
parent c8899a3f24
commit 93bfdd3207
2 changed files with 0 additions and 5 deletions

View File

@@ -1395,9 +1395,6 @@ static inline u32 update_gp_get(struct gk20a *g,
{
u32 new_get = g->ops.userd.gp_get(g, c);
if (new_get < c->gpfifo.get) {
c->gpfifo.wrap = !c->gpfifo.wrap;
}
c->gpfifo.get = new_get;
return new_get;
}

View File

@@ -90,8 +90,6 @@ struct gpfifo_desc {
u32 get;
u32 put;
bool wrap;
/* if gpfifo lives in vidmem or is forced to go via PRAMIN, first copy
* from userspace to pipe and then from pipe to gpu buffer */
void *pipe;