mirror of https://gitee.com/openkylin/linux.git
media: venus: venc: blacklist two encoder properties
Those two properties are not implemented for Venus v4 (sdm845), thus don't set them to firmware. Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
2e6fc23eed
commit
4b997dbbc9
|
@ -1207,6 +1207,8 @@ pkt_session_set_property_4xx(struct hfi_session_set_property_pkt *pkt,
|
|||
case HFI_PROPERTY_CONFIG_VENC_MAX_BITRATE:
|
||||
case HFI_PROPERTY_CONFIG_VDEC_POST_LOOP_DEBLOCKER:
|
||||
case HFI_PROPERTY_PARAM_BUFFER_ALLOC_MODE:
|
||||
case HFI_PROPERTY_PARAM_VENC_SESSION_QP:
|
||||
case HFI_PROPERTY_PARAM_VENC_SESSION_QP_RANGE:
|
||||
/* not implemented on Venus 4xx */
|
||||
return -ENOTSUPP;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue