aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-06-12 07:26:19 -0400
committerThierry Reding <treding@nvidia.com>2014-11-13 10:11:44 -0500
commit3880e95f2706e4ad9ba37e382e7f5bb82f911c68 (patch)
tree55a10309756dc8890e133528cb8a53298bb5b88c
parentba73fbc2ca221e80c6733e68496ad07bc3b58ff8 (diff)
gpu: host1x: Make gather offsets unsigned
Use the u32 type for the offset in the host1x_job_gather structure for consistentcy with other structures. Negative offsets don't make sense in this context. Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r--drivers/gpu/host1x/job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/job.h b/drivers/gpu/host1x/job.h
index 33a697d6dcef..8b3c15df0660 100644
--- a/drivers/gpu/host1x/job.h
+++ b/drivers/gpu/host1x/job.h
@@ -23,7 +23,7 @@ struct host1x_job_gather {
23 u32 words; 23 u32 words;
24 dma_addr_t base; 24 dma_addr_t base;
25 struct host1x_bo *bo; 25 struct host1x_bo *bo;
26 int offset; 26 u32 offset;
27 bool handled; 27 bool handled;
28}; 28};
29 29