projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9065c5
)
radeon: use the const qualifier in radeon_cs_write_table
author
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Apr 2010 18:06:53 +0000
(20:06 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 26 Apr 2010 18:09:34 +0000
(20:09 +0200)
Signed-off-by: Marek Olšák <maraeo@gmail.com>
radeon/radeon_cs.h
patch
|
blob
|
history
diff --git
a/radeon/radeon_cs.h
b/radeon/radeon_cs.h
index
7f6ee68
..
f68a624
100644
(file)
--- a/
radeon/radeon_cs.h
+++ b/
radeon/radeon_cs.h
@@
-130,7
+130,7
@@
static inline void radeon_cs_write_qword(struct radeon_cs *cs, uint64_t qword)
}
static inline void radeon_cs_write_table(struct radeon_cs *cs,
- void *data, uint32_t size)
+
const
void *data, uint32_t size)
{
memcpy(cs->packets + cs->cdw, data, size * 4);
cs->cdw += size;