← Back to team overview

ubuntu-phone team mailing list archive

Build error

 

Hi all!

I have a build error with qcom/display-caf:

hardware/qcom/display-caf/libgralloc/framebuffer.cpp: In function 'int
fb_post(framebuffer_device_t*, buffer_handle_t)':
hardware/qcom/display-caf/libgralloc/framebuffer.cpp:93:25: error:
'MDP_DISPLAY_COMMIT_OVERLAY' was not declared in this scope
hardware/qcom/display-caf/libexternal/external.cpp: In member function
'bool qhwc::ExternalDisplay::post()':
hardware/qcom/display-caf/libexternal/external.cpp:693:24: error:
'MDP_DISPLAY_COMMIT_OVERLAY' was not declared in this scope

They both have
#include <linux/msm_mdp.h>
which has
#define MDP_DISPLAY_COMMIT_OVERLAY 0x00000001

If I pull the latest cm-10.1, the image builds fine, but still, why is this
error? If anyone could please explain and tell me how to fix it?