mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
di: if not support afbc, do not set the afbc type [1/1]
PD#SWPL-18701 Problem: Even if the DI module does not support afbc format, it still sets the afbc type in vframe. Solution: Add afbc support checking Verify: Verified by p212 Change-Id: I29fe433f38c80c8c66209556f8cb6b88a015a2de Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
@@ -4180,7 +4180,8 @@ static unsigned char pre_de_buf_config(void)
|
||||
|
||||
/*for support compress from dec*/
|
||||
if (IS_COMP_MODE(vframe->type) &&
|
||||
!is_bypass(vframe)) {
|
||||
!is_bypass(vframe) &&
|
||||
afbc_is_supported()) {
|
||||
is_afbc_mode = true;
|
||||
if (IS_VDIN_SRC(vframe->source_type)
|
||||
&& IS_I_SRC(vframe->type)) {
|
||||
|
||||
Reference in New Issue
Block a user