[Android Q&A, Help & Troubleshooting] Gamephantom:
Hello i have an following Compile Problem with the QCOM Display Driver

In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc_video.cpp:19:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
In file included from hardware/qcom/display/liboverlay/overlay.h:33:0,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(__u32)':
hardware/qcom/display/liboverlay/overlayUtils.h:543:14: error: 'MDP_Y_CRCB_H1V1' was not declared in this scope
hardware/qcom/display/liboverlay/overlayUtils.h:545:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:542:9: error: previously used here
hardware/qcom/display/liboverlay/overlayUtils.h:546:9: error: duplicate case value
hardware/qcom/display/liboverlay/overlayUtils.h:541:9: error: previously used here
In file included from hardware/qcom/display/liboverlay/overlayRotator.h:35:0,
from hardware/qcom/display/liboverlay/overlayImpl.h:34,
from hardware/qcom/display/liboverlay/overlayState.h:34,
from hardware/qcom/display/liboverlay/overlay.h:34,
from hardware/qcom/display/libhwcomposer/hwc.cpp:25:
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:49:29: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:52:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:55:29: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h:96:38: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:96:57: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:97:38: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:97:57: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h:101:36: error: 'fb_fix_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getFScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:102:19: error: 'FBIOGET_FSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:110:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::getVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:111:19: error: 'FBIOGET_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:119:36: error: 'fb_var_screeninfo' has not been declared
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::setVScreenInfo(int, int&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:120:19: error: 'FBIOPUT_VSCREENINFO' was not declared in this scope
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:257:45: error: 'fb_fix_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:257:64: error: ISO C++ forbids declaration of 'finfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:258:5: error: request for member 'type' in 'finfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h: At global scope:
hardware/qcom/display/liboverlay/mdpWrapper.h:260:45: error: 'fb_var_screeninfo' does not name a type
hardware/qcom/display/liboverlay/mdpWrapper.h:260:64: error: ISO C++ forbids declaration of 'vinfo' with no type [-fpermissive]
hardware/qcom/display/liboverlay/mdpWrapper.h: In function 'void overlay::mdp_wrapper::dump(char const*, int const&)':
hardware/qcom/display/liboverlay/mdpWrapper.h:260:13: error: redefinition of 'void overlay::mdp_wrapper::dump(char const*, int const&)'
hardware/qcom/display/liboverlay/mdpWrapper.h:257:13: error: 'void overlay::mdp_wrapper::dump(char const*, int const&)' previously defined here
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'xres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/liboverlay/mdpWrapper.h:261:5: error: request for member 'yres' in 'vinfo', which is of non-class type 'int const'
hardware/qcom/display/libhwcomposer/hwc.cpp: In function 'int hwc_eventControl(hwc_composer_device*, int, int)':
hardware/qcom/display/libhwcomposer/hwc.cpp:125:42: error: 'MSMFB_OVERLAY_VSYNC_CTRL' was not declared in this scope

Can updating the QCOM Driver source solve this problem?