Revert "camerad: set QCOM CL perf hint (#23791)"

This reverts commit 18cb65b8ef34dfecbd1ac6da1155886188307479.

old-commit-hash: 7cd8575c74
vw-mqb-aeb
Adeeb Shihadeh 3 years ago
parent bf575da274
commit b20ee9c4aa
  1. 3
      selfdrive/camerad/cameras/camera_common.cc

@ -450,8 +450,7 @@ void common_process_driver_camera(MultiCameraState *s, CameraState *c, int cnt)
void camerad_thread() {
cl_device_id device_id = cl_get_device_id(CL_DEVICE_TYPE_DEFAULT);
#if defined(QCOM) || defined(QCOM2)
const cl_context_properties props[] = {CL_CONTEXT_PRIORITY_HINT_QCOM, CL_PRIORITY_HINT_HIGH_QCOM,
CL_CONTEXT_PERF_HINT_QCOM, CL_PERF_HINT_HIGH_QCOM, 0};
const cl_context_properties props[] = {CL_CONTEXT_PRIORITY_HINT_QCOM, CL_PRIORITY_HINT_HIGH_QCOM, 0};
cl_context context = CL_CHECK_ERR(clCreateContext(props, 1, &device_id, NULL, NULL, &err));
#else
cl_context context = CL_CHECK_ERR(clCreateContext(NULL, 1, &device_id, NULL, NULL, &err));

Loading…
Cancel
Save