diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-20 09:19:04 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-26 09:35:04 +0200 |
commit | 7baeedbe2bc6fac7d54f73e44605f6b7b40158ab (patch) | |
tree | 5fe156de1b685a015e89588829bc50861cf2d5a5 | |
parent | media: mediatek: vcodec: fix resource leaks in vdec_msg_queue_init() (diff) | |
download | linux-7baeedbe2bc6fac7d54f73e44605f6b7b40158ab.tar.xz linux-7baeedbe2bc6fac7d54f73e44605f6b7b40158ab.zip |
media: venus: core.h: update kerneldoc
Document missing fields. This resolves two warnings:
drivers/media/platform/qcom/venus/core.h:226: warning: Function parameter or member 'venus_ver' not described in 'venus_core'
drivers/media/platform/qcom/venus/core.h:501: warning: Function parameter or member 'enc_state' not described in 'venus_inst'
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
-rw-r--r-- | drivers/media/platform/qcom/venus/core.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/platform/qcom/venus/core.h b/drivers/media/platform/qcom/venus/core.h index 320bde0f83cb..df78bc297c11 100644 --- a/drivers/media/platform/qcom/venus/core.h +++ b/drivers/media/platform/qcom/venus/core.h @@ -160,6 +160,7 @@ struct venus_format { * @core0_usage_count: usage counter for core0 * @core1_usage_count: usage counter for core1 * @root: debugfs root directory + * @venus_ver: the venus firmware version */ struct venus_core { void __iomem *base; @@ -386,7 +387,8 @@ enum venus_inst_modes { * @ycbcr_enc: current YCbCr encoding * @quantization: current quantization * @xfer_func: current xfer function - * @codec_state: current codec API state (see DEC/ENC_STATE_) + * @codec_state: current decoder API state (see DEC_STATE_) + * @enc_state: current encoder API state (see ENC_STATE_) * @reconf_wait: wait queue for resolution change event * @subscriptions: used to hold current events subscriptions * @buf_count: used to count number of buffers (reqbuf(0)) |