vpp: add interface to force non-afbc path [1/1]
authorBrian Zhu <brian.zhu@amlogic.com>
Mon, 15 Apr 2019 18:11:02 +0000 (02:11 +0800)
committerBrian Zhu <brian.zhu@amlogic.com>
Thu, 20 Jun 2019 06:25:35 +0000 (14:25 +0800)
commitb8d9145a06a417ab0c639d9b1bdc065f25d31583
tree0857f33bfd03e001f46387f3878ffcd18865b086
parent4a456864cacbba0378f3e4438db0594b19c9b5fe
vpp: add interface to force non-afbc path [1/1]

PD#SWPL-7035

Problem:
When DI switched to use VD AFBC, need vpp force to non-afbc first.
Otherwise, display willl flash.

Solution:
Provide new interface to request the vpp release afbc hardware first.
Then return the current afbc status.

Verify:
verified on x301

Change-Id: Ibb2b897db7d2f2c40006433d63709988992c84f1
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
drivers/amlogic/media/video_sink/video.c
drivers/amlogic/media/video_sink/vpp.c
include/linux/amlogic/media/vfm/vframe.h
include/linux/amlogic/media/video_sink/vpp.h