mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 01:53:57 +08:00
tici: add (somewhat) broken camerad support (#1300)
* capnparm * building in progress * scons build works * that script fixes opencl * start new camera code * includes and more camera scripts * control c works now * no device control yet * phy too * just one camera for now * fix capnparm * hmm, the inits are needed * more cameras * link stop start * doesn't work yet * fix ion on qcom2 * start poll ish * 4 pictures and done * no jpeg * it works to picture * destroy sync obj * both work for now * defined QCOM2 * fix fd leak * run modeld * 10 bit mode * real frame stride * needs digital gain * dnew * no color correcting on new * that snpe doesn't work * qcom2 gate * cleanups * oops, fix aarch64 detector * update cereal * modeld works with SNPE * fix driver monitoring model Co-authored-by: Tici <robbe@comma.ai>
This commit is contained in:
@@ -166,7 +166,7 @@ struct ion_flush_data {
|
||||
|
||||
struct ion_prefetch_regions {
|
||||
unsigned int vmid;
|
||||
size_t __user *sizes;
|
||||
size_t *sizes;
|
||||
unsigned int nr_sizes;
|
||||
};
|
||||
|
||||
@@ -174,7 +174,7 @@ struct ion_prefetch_data {
|
||||
int heap_id;
|
||||
unsigned long len;
|
||||
/* Is unsigned long bad? 32bit compiler vs 64 bit compiler*/
|
||||
struct ion_prefetch_regions __user *regions;
|
||||
struct ion_prefetch_regions *regions;
|
||||
unsigned int nr_regions;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user