OSDN Git Service

android: set LOCAL_MODULE_TAGS to optional
[android-x86/external-libdrm.git] / radeon / radeon_cs.h
index 49d5d9a..f68a624 100644 (file)
@@ -85,7 +85,7 @@ extern int radeon_cs_write_reloc(struct radeon_cs *cs,
                                  uint32_t read_domain,
                                  uint32_t write_domain,
                                  uint32_t flags);
-
+extern uint32_t radeon_cs_get_id(struct radeon_cs *cs);
 /*
  * add a persistent BO to the list
  * a persistent BO is one that will be referenced across flushes,
@@ -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;