OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba73fbc
)
gpu: host1x: Make gather offsets unsigned
author
Thierry Reding
<treding@nvidia.com>
Thu, 12 Jun 2014 11:26:19 +0000
(13:26 +0200)
committer
Thierry Reding
<treding@nvidia.com>
Thu, 13 Nov 2014 15:11:44 +0000
(16:11 +0100)
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>
drivers/gpu/host1x/job.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/host1x/job.h
b/drivers/gpu/host1x/job.h
index
33a697d
..
8b3c15d
100644
(file)
--- a/
drivers/gpu/host1x/job.h
+++ b/
drivers/gpu/host1x/job.h
@@
-23,7
+23,7
@@
struct host1x_job_gather {
u32 words;
dma_addr_t base;
struct host1x_bo *bo;
-
int
offset;
+
u32
offset;
bool handled;
};