File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
drivers/media/platform/qcom/venus Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1514,6 +1514,18 @@ void venus_helper_vb2_stop_streaming(struct vb2_queue *q)
1514
1514
}
1515
1515
EXPORT_SYMBOL_GPL (venus_helper_vb2_stop_streaming );
1516
1516
1517
+ void venus_helper_vb2_queue_error (struct venus_inst * inst )
1518
+ {
1519
+ struct v4l2_m2m_ctx * m2m_ctx = inst -> m2m_ctx ;
1520
+ struct vb2_queue * q ;
1521
+
1522
+ q = v4l2_m2m_get_src_vq (m2m_ctx );
1523
+ vb2_queue_error (q );
1524
+ q = v4l2_m2m_get_dst_vq (m2m_ctx );
1525
+ vb2_queue_error (q );
1526
+ }
1527
+ EXPORT_SYMBOL_GPL (venus_helper_vb2_queue_error );
1528
+
1517
1529
int venus_helper_process_initial_cap_bufs (struct venus_inst * inst )
1518
1530
{
1519
1531
struct v4l2_m2m_ctx * m2m_ctx = inst -> m2m_ctx ;
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ int venus_helper_vb2_buf_prepare(struct vb2_buffer *vb);
21
21
void venus_helper_vb2_buf_queue (struct vb2_buffer * vb );
22
22
void venus_helper_vb2_stop_streaming (struct vb2_queue * q );
23
23
int venus_helper_vb2_start_streaming (struct venus_inst * inst );
24
+ void venus_helper_vb2_queue_error (struct venus_inst * inst );
24
25
void venus_helper_m2m_device_run (void * priv );
25
26
void venus_helper_m2m_job_abort (void * priv );
26
27
int venus_helper_get_bufreq (struct venus_inst * inst , u32 type ,
You can’t perform that action at this time.
0 commit comments