Commit Graph

2809 Commits

Author SHA1 Message Date
Adeeb Shihadeh 762eda95cd Set GPU priorities + improved modeld priorities (#2691)
* give gpu threads rt priority

* modeld gets highest prio on core 2

* fix frame stream

* lower prio of cal thread

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c57ee16e86275820f97631fb79df1685e914d564
2020-12-15 19:22:03 -08:00
Chris McCammon 2442d7522c Rav4 2021 fw (#19514)
old-commit-hash: bf8ef0251d6576e3b78bf2bae85bf14c5de38a0c
2020-12-15 17:33:43 -08:00
Dean Lee 2865d75739 qcom: make camera_process_frame more readable (#2765)
* more readable

* rgb_addr

* offset

* speed up if statement

* --self_recover

* rgb_addr_offset

* x_offset&y_offset

* static rgb_roi_buf & conv_result

* remove variables from struct

* simplify read sensorEvents

* use i for loop

* split to functions

* make it works

* y_offset should be ROI_Y_MAX-ROY_Y_MIN+1

* std::size is better than ARRAYSIZE

* rebase master

* shorter variable name

* Revert "shorter variable name"

This reverts commit 47612e3a741d8b6ddfd72bccbb5337882b369224.

* std::fill_n

* reday for merge

* Revert "y_offset should be ROI_Y_MAX-ROY_Y_MIN+0"

This reverts commit 1f8526fb1c59c89d747210eb8bf17a2688a4f2bc.
old-commit-hash: d31a87cd218eeeb51193188b72332800d29dca69
2020-12-15 16:39:38 -08:00
Comma Device be077d0885 factory reset -> system reset
old-commit-hash: 1ea307a2996f16104501bf1d497e202326000dc1
2020-12-15 23:35:55 +00:00
Comma Device 80c5bfb44c fix camera malfunction ui timeout
old-commit-hash: 54c6931b5cbf1bc0e064f9a3c45d012ffcfbfdea
2020-12-15 14:16:47 -08:00
Dean Lee b81e9d63ae cleanup camera malfunction alert (#2751)
* cleanup alert

* move ui_draw_vision_alert out of ui_draw_vision
old-commit-hash: 1ee8287705f48015652ef54b50f1b7d6197dd74c
2020-12-15 13:06:22 -08:00
Willem Melching 69a8855010 paint.cc: lower y offset
old-commit-hash: 93cc7335fc1ae6035d31a18425ada815cad8a256
2020-12-15 14:47:53 +01:00
Comma Device cfce32acb5 fix camerad qcom2 build
old-commit-hash: 536a8c587643bc4aa046c414b18292bd65b72caf
2020-12-15 04:52:40 +00:00
Adeeb Shihadeh ab1b8754dc Qt system reset (#19502)
* qt factory reset

* confirmation

* better ui
old-commit-hash: c4a05ba369a0b8ce5df69727999dd33baf8a0fd0
2020-12-14 19:49:01 -08:00
Dean Lee 6ab28556c8 camera_qcom: read SensorEvents in op thread (#2764)
* get acceleration in op thread

* std::atomic last_sag_acc_z

* cleanup
old-commit-hash: c1f3c3b2df70d7f3fb24f165c2edcf01a1adcde9
2020-12-14 16:54:49 -08:00
ZwX1616 1f99fdfc50 qcom2 init hevc tier correctly (#19496)
* qcom2 init tier correctly

* need to cast

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c21fc100d1fcc784805d94585c040ce3d1f3658
2020-12-14 16:24:49 -08:00
George Hotz 02a2f9ca15 Thneed refactors for future functions (#2673)
* delete debug

* thneed updates, but it seems slower

* thneed refactor

* refactor touchups

* add back asserts

* fix uaf

* track the size for local args

* final thneed refactor

* switch kgsl_command_object to avoid memory leak

* comments

* unused includes

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5fdda8dbd82954c2b9b5af82a19e599d3b4b5ec2
2020-12-14 15:46:49 -08:00
Dean Lee 890df06246 refactor imgproc/utils (#2766)
* refactor imgproc/utils

* const

* space

* return value
old-commit-hash: 554ea8f54a699950a9226e1d0808cc41ca4859f0
2020-12-14 15:33:40 -08:00
George Hotz 2cedc8715e Set camerad CL priority to 4 (#2747)
* priority 2 get

* add to files_common

* cl_ext_qcom

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cb238fd2ee22bcc6c02c3556f96439b3e08d9415
2020-12-14 13:59:48 -08:00
Adeeb Shihadeh 33bc5e5f79 add oneplus deprection to release notes
old-commit-hash: 343e38d0cfb69ffd9dfc65d4a4ac84311bfd8c1b
2020-12-14 11:59:27 -08:00
Adeeb Shihadeh f359b4cf49 remove fsck logging in updated
old-commit-hash: 238ac19ba975ffcdbe7b792b30a1409d219541da
2020-12-14 10:51:03 -08:00
Adeeb Shihadeh 605eecdd18 log remote and branch in sentry (#16766)
* log remote and branch in sentry

* also add to crash.py

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: dfbd658a2f73996b409aacb520ccd96678ac8dbd
2020-12-14 16:11:54 +01:00
Willem Melching 494353099b set CarState.steeringRateLimited for Hyundai (#19495)
* set CarState.steeringRateLimited for Hyundai

* update ref

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 9cd7a7c14b1cabaee7ac2af85454f2226ca91aea
2020-12-14 16:11:32 +01:00
Willem Melching d47396f4da Handle python-dbus not installed
old-commit-hash: 25054cdc0538a0324b7f7c1bcc9d6166291b4e10
2020-12-14 15:04:17 +01:00
Willem Melching 442c569812 hardware.py: get network info over dbus (#2727)
* Get network stuff using dbus

* most people would call EDGE 2G

* Small cleanup
old-commit-hash: c3b5ef8d4b596cc1463b426a43334a3c53421473
2020-12-14 14:19:14 +01:00
DreZee669 91fd5c2dcf Updated FW values for honda civic (#2752)
* Update values.py

Added ecu fw versions for my 2k16 honda civic sedan

* Update values.py
old-commit-hash: 790ad9296a2739e516ef78cd29889d6309a3adee
2020-12-14 14:16:22 +01:00
Willem Melching 79275c08e1 add optional margin to car_space_to_full_frame check
old-commit-hash: 11fb6efba2aa2f9e10ffe3dd35d654662fef5921
2020-12-14 14:09:26 +01:00
Willem Melching 2edf720d53 paint.cc: fix y offset
old-commit-hash: bbc289b6711b958336cbaf87edede10050385867
2020-12-14 13:38:00 +01:00
Adeeb Shihadeh 3ff500dda1 fix aarch64 build
old-commit-hash: b06bc9b6bc798870324b4ceaed351cae0bfe24b3
2020-12-14 01:23:57 -08:00
Adeeb Shihadeh d73b3a030f output clang compile database with test build
old-commit-hash: b92eb543ca956a3d04133e0749dcd689007b8a05
2020-12-14 00:46:13 -08:00
Adeeb Shihadeh 7914d23049 mask off cores 2-3 from RPS (#2692)
old-commit-hash: 15ae9d714fb6b8f141a751f164198fcdd4c28aeb
2020-12-13 19:30:00 -08:00
Adeeb Shihadeh c09d84218d model timing benchmark script
old-commit-hash: 5ba7276118a458c0caf377d34d0c82b58db607bc
2020-12-13 19:08:49 -08:00
Adeeb Shihadeh 83cfbeaf9a adb over smays
old-commit-hash: 48306360a10beeae8868e93dfd0eb245e46a1c77
2020-12-12 19:21:45 -08:00
Dean Lee 75e3d20dac convert loadyuv.c to loadyuv.cc (#2754)
old-commit-hash: d6eead25d0448d11c552d4d56a663e455deae720
2020-12-12 17:10:51 -08:00
Dean Lee 0066e93b34 covert rgb_to_yuv.c to rgb_to_yuv.cc (#2757)
old-commit-hash: 3d63b3d4149efb1e597d8d97790fddd28abdbde0
2020-12-12 16:52:15 -08:00
Adeeb Shihadeh 649fe5b34a fix camerad not exiting cleanly (#2768)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: a96857f1aa068da241ad8b234addd76b23d1e594
2020-12-12 13:55:24 -08:00
Adeeb Shihadeh 3e6abdd8bd oneplus deprecation (#2748)
* oneplus deprecation

* lowercase

* too long

* no udpates
old-commit-hash: 6a151dcd9c9f988301368312a7969aa9f413d346
2020-12-12 12:51:12 -08:00
Adeeb Shihadeh 492e9ebd96 Revert "More Rav4 fw"
This reverts commit 93bc2efd3bb4a4e25368b0100ce043f836d7ed8b.

old-commit-hash: 1520dd4c9651baac5cdfa91d8ebd047556db6134
2020-12-12 01:20:10 -08:00
Adeeb Shihadeh 412fb8c2f2 more robust fingerprint test
old-commit-hash: dc371f951ac5e3cbff7d2cec74c56efbe4b3a0c7
2020-12-12 01:19:38 -08:00
Adeeb Shihadeh d84ede9f00 better debug msg for fw fingerprinting test
old-commit-hash: 1e78469fba11b493d021214d086353e9f63a7037
2020-12-12 00:29:14 -08:00
Dean Lee 252b63ba15 transform.h: remove extern "C" (#2755)
old-commit-hash: 0fcfb07f1fcc3e6cf6670a400b701888c11a5ada
2020-12-12 00:00:07 -08:00
Comma Device 4728ad22b0 add LOGW
old-commit-hash: 44bedaa73b12bd79e77f4ba15965ecff3566a6d9
2020-12-11 21:12:51 -08:00
komma zwei 2fd54d6f1b increase startup timeout for camera malfunction
old-commit-hash: 41bc3c558ea2ae676f9b3add8b86e9c2a7c2ae0b
2020-12-11 20:07:27 -08:00
Igor faa4c57ee1 Parametrize stoppingBrakeRate (#2745)
* Parametrize stoppingBrakeRate

* ref_commit updated
old-commit-hash: d3c2a0e6c1e898b08570dd0a9b1eef12934f6c9a
2020-12-11 16:30:35 +01:00
Willem Melching ca0e8a6cde bump cereal: add stoppingBrakeRate
old-commit-hash: 31568461aa8a8d9ef5ddf1e0be31bea773c3532e
2020-12-11 13:57:20 +01:00
Willem Melching 7b95ee35ce bump panda: nissan altima support
old-commit-hash: 646e257aa9eede0a8e72bff2f20e44261f15ad1e
2020-12-11 13:41:43 +01:00
Dean Lee 9be81a6f99 clutil refactor (#2733)
* cleaup clutil.h

* clutil.c -> clutil.cc

* std::hash

* try simplify functions

* using namespace group help functions

* continue

* add function get_platform_info

* continue

* remove caching

* struct CLContext

* std::cout & CL_ERR_TO_STR

* remove CLU_NO_CACHE

* Revert "struct CLContext"

This reverts commit 882e413f227e4c1ba4bb83f956cc67739a189221.

* cl_get_error_string : remove undefied error codes

* replace all printf with std::cout

* util::read_file

* cleanup

* revert CL_ERR_TO_STR

* simplify

* add macro CL_ERR_TO_STR

* cl_get_error_string: fix undeclared errors

* log_size should not +1

* use std::stirng log

* apply review
old-commit-hash: 3c08d0f1f7e7c9f376fd69fd46067c6f6ff59d39
2020-12-11 13:05:32 +01:00
Willem Melching df97d4db04 Add thumbnails to camera_frame_stream
old-commit-hash: 7b998a7c21b6a15fa474df5a2c5a0bbd8a6f930c
2020-12-11 13:02:45 +01:00
Dean Lee fc07703c8f camerad: fix memory leak in create_thumbnail (#2743)
* fix memory leak in create_thumbnail

* free memory returned from jpeg_mem_dest

* OMG
old-commit-hash: f0d240a7e3d1a91a3d0bac1cc9050c531105d87d
2020-12-11 13:02:16 +01:00
Dean Lee 3f999c44a9 destroy rgb_to_yuv_state (#2702)
old-commit-hash: 1e9e31d6e1167e309660aad49986524d445b19d3
2020-12-10 19:39:46 -08:00
komma zwei d365119d74 rhd dm AE sign flip
old-commit-hash: fef8d4093f1ebf6ad91c6bac95c465c83ee7e396
2020-12-10 19:27:45 -08:00
Chris McCammon b40fa4049a More Rav4 fw
* 2021 Rav4 Limited fw from 9363705a7bbefea6
* 2019 Rav4 Hybrid fw from 8b9ff04f758b61ce

old-commit-hash: cb52326790d44722f0ea28acefd9ca4149afbf9d
2020-12-10 16:49:18 -08:00
grekiki 99ee2a9459 WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network. 
old-commit-hash: c16c8f3c2c0c9cd982dd96c769f760185b837da8
2020-12-11 00:29:31 +01:00
grekiki 55bd34e8a5 Dynamically colored alert widget. (#2717)
blue background on update

old-commit-hash: bffdfd5303879bd70416a2c998ca8a71f3bf674a
2020-12-10 23:39:15 +01:00
grekiki 3bc7286704 Add label if no network manager is found (#2718)
old-commit-hash: f96fb625d929701717670bbe7be8791aa204bf02
2020-12-10 19:04:19 +01:00