osd: fix osd afbc can't display on android5.1 [1/1]
authorShuide Chen <shuide.chen@amlogic.com>
Thu, 11 Apr 2019 05:20:46 +0000 (13:20 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 15 Apr 2019 06:13:36 +0000 (23:13 -0700)
commite9fadfe57f5364149373a3b246a331479549e78a
treebb399f78991919d0dea18ef0d314def0031b7e57
parent1d23c1e6c2ff5b2ccdea2fac5fc8a7a95a7f299c
osd: fix osd afbc can't display on android5.1 [1/1]

PD#SWPL-6869

Problem:
afbc can't display with android5.1, because blank enable
called before afbc set, which make osd enable not updated
and afbc not enable when hwc post frame

Solution:
if mali afbc enable, call osd enable.

Verify:
verified on x301

Change-Id: I1d727a586a66c6e7848d09dfb5c5b74ff7a2e3e6
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
drivers/amlogic/media/osd/osd_hw.c