media: venus: helper: do not set constrained parameters for UBWC
authorMansur Alisha Shaik <mansur@codeaurora.org>
Tue, 6 Jul 2021 16:21:22 +0000 (18:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 4 Aug 2021 12:43:52 +0000 (14:43 +0200)
commit1ac61faf6ebbce59fccbb53d7faf25576e9897ab
tree9cdcf5f5c2d9dd91bc6f217cce7b6455b4c5e5a9
parent09ea9719a423fc675d40dd05407165e161ea0c48
media: venus: helper: do not set constrained parameters for UBWC

Plane constraints firmware interface is to override the default
alignment for a given color format. By default venus hardware has
alignments as 128x32, but NV12 was defined differently to meet
various usecases. Compressed NV12 has always been aligned as 128x32,
hence not needed to override the default alignment.

Fixes: bc28936bbba9 ("media: venus: helpers, hfi, vdec: Set actual plane constraints to FW")
Signed-off-by: Mansur Alisha Shaik <mansur@codeaurora.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/helpers.c