hwc: disable FIMG

Change-Id: I61f764973d4b3bb350a99a69804b96995addee70
This commit is contained in:
Shilin Victor 2019-01-26 23:41:22 +03:00
parent f3b1c86f77
commit e24564745e
2 changed files with 4 additions and 3 deletions

View File

@ -26,9 +26,9 @@ LOCAL_PRELINK_MODULE := false
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SHARED_LIBRARIES := liblog libEGL libcutils libhardware libutils libsync libfimg
ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),smdk4210)
#ifeq ($(TARGET_BOOTLOADER_BOARD_NAME),smdk4210)
LOCAL_CFLAGS += -DNO_FIMG
endif
#endif
LOCAL_SRC_FILES := hwcomposer.cpp \
hwcomposer_vsync.cpp \

View File

@ -287,6 +287,7 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_
ALOGV("%s layer_requires_process() mode=%d", __FUNCTION__, (int) mode);
switch (mode) {
#if 0
case gsc_map_t::FIMG:
if (!supports_fimg(layer)) {
ALOGW("\tlayer %u: FIMG required but not supported", i);
@ -297,7 +298,7 @@ bool is_overlay_supported(struct hwc_context_t *ctx, hwc_layer_1_t &layer, size_
}
break;
#endif
case gsc_map_t::FIMC:
if (!supports_fimc(layer)) {
ALOGW("\tlayer %u: FIMC required but not supported", i);