OSDN Git Service

Remove choose_drm_modifier
authorLin Johnson <johnson.lin@intel.com>
Sat, 29 Dec 2018 03:09:13 +0000 (11:09 +0800)
committerLin Johnson <johnson.lin@intel.com>
Wed, 9 Jan 2019 02:15:51 +0000 (10:15 +0800)
commit336a6bdc9d36330144a7ec1e9f1a900acd4496ac
tree1bd1f6d17c7f601b77ca65908d2f309b883c4d75
parent85c39ccf28af548e785e7aec0da3eadaaff5bf0a
Remove choose_drm_modifier

We should not relay on a simple util functions to choose CCS
modificators. That could be risky if one drm plane does not support
CCS modificator. We should let drmplane tell us which kind of modifier
the plane preferred

Change-Id: Ia9b3c9d0a7a1f05694635e12aaa97a70b880cb9b
Tracked-On: None
Tests: Android UI normal and RBC working
Signed-off-by: Lin Johnson <johnson.lin@intel.com>
os/android/gralloc1bufferhandler.cpp
os/linux/gbmbufferhandler.cpp
wsi/drm/commondrmutils.h