Skip to content

The patch codes are different from NVIDIA's patch #13

Description

@QQting

Description

Please check the function tegra_capture_ivc_unregister_control_cb() in NVIDIA’s patch linked below:
https://forums.developer.nvidia.com/t/agx-orin-kernel-panic-when-camera-streaming-restarts/337341/12

The location where NVIDIA patch is applied is different from yours.
Could you please clarify whether this discrepancy is intentional, or if it is a bug in your patch?

NVIDIA patched codes:

@@ -288,6 +312,7 @@ int tegra_capture_ivc_unregister_control_cb(uint32_t id)
        civc->cb_ctx[id].priv_context = NULL;

        mutex_unlock(&civc->cb_ctx_lock);
+       up(&civc->cb_ctx[id].sem_ch);

Orbbec patched codes:

@@ -278,6 +286,8 @@ int tegra_capture_ivc_unregister_control_cb(uint32_t id)
 
 	mutex_lock(&civc->cb_ctx_lock);
 
+	up(&civc->cb_ctx[id].sem_ch); //orbbec add
+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions