projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/gpu/host1x/job.h
b/drivers/gpu/host1x/job.h
index 33a697d6dcefea290c3bac2981e2399e27f99a14..8b3c15df066085e88a33d6efddc74cfd774bc04d 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;
};