PD#172587
Problem:
afbc now support on chip txlx and g12a,
but we use cpu_after_eq(G12A) to judge
if afbc is support or not.
Solution:
use is_meson_g12a_cpu() replace cpu_after_eq(G12A).
Verify:
u200(g12a),t962x_r311
Change-Id: I3fb7ed54f7137fada97481177e40a2543cf8df9f
Signed-off-by: huaihao guo <huaihao.guo@amlogic.com>
sel_dec = eAFBC_DEC0;
else if (is_meson_txlx_cpu())
sel_dec = eAFBC_DEC1;
- else if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A))
+ else if (is_meson_g12a_cpu())
sel_dec = AFBC_DEC_SEL;
/*currently support txlx and g12a*/
if (is_meson_txlx_cpu()
- || cpu_after_eq(MESON_CPU_MAJOR_ID_G12A))
+ || is_meson_g12a_cpu())
ret = true;
return ret;