Message ID | 1625588482-19269-1-git-send-email-mansur@codeaurora.org |
---|---|
State | Accepted |
Commit | 1ac61faf6ebbce59fccbb53d7faf25576e9897ab |
Headers | show |
Series | [V4] venus: helper: do not set constrained parameters for UBWC | expand |
diff --git a/drivers/media/platform/qcom/venus/helpers.c b/drivers/media/platform/qcom/venus/helpers.c index 1fe6d46..8012f5c 100644 --- a/drivers/media/platform/qcom/venus/helpers.c +++ b/drivers/media/platform/qcom/venus/helpers.c @@ -1137,6 +1137,9 @@ int venus_helper_set_format_constraints(struct venus_inst *inst) if (!IS_V6(inst->core)) return 0; + if (inst->opb_fmt == HFI_COLOR_FORMAT_NV12_UBWC) + return 0; + pconstraint.buffer_type = HFI_BUFFER_OUTPUT2; pconstraint.num_planes = 2; pconstraint.plane_format[0].stride_multiples = 128;