CyanogenMod caf-new dependencies

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску

Display-caf-new

In file included from hardware/qcom/display-caf-new/liboverlay/overlayRotator.h:35:0,
                 from hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.h:34,
                 from hardware/qcom/display-caf-new/libqdutils/cb_utils.h:33,
                 from hardware/qcom/display-caf-new/libqdutils/cb_utils.cpp:28:
hardware/qcom/display-caf-new/liboverlay/mdpWrapper.h:72:36: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-new/liboverlay/mdpWrapper.h:180:43: error: 'mdp_overlay_list' has not been declared
hardware/qcom/display-caf-new/liboverlay/mdpWrapper.h: In function 'bool overlay::mdp_wrapper::validateAndSet(const int&, int&)':
hardware/qcom/display-caf-new/liboverlay/mdpWrapper.h:182:19: error: 'MSMFB_OVERLAY_PREPARE' was not declared in this scope

require patch:
git log --oneline caf/LNX.LA.3.5.1 --grep "msm: mdss: implement overlay prepare ioctl"

commit 98c301337e0e022e1b1dfa672e2ea52e23154200
Author: Adrian Salido-Moreno <[email protected]>
Date:   Tue Jan 7 17:29:20 2014 -0800

    msm: mdss: implement overlay prepare ioctl
    
    Overlay prepare will allow a full frame with multiple overlays to be
    configured at once and perform frame level checks before being pushed to
    display. This function guarantees that if the call is successful, the
    frame can be displayed successfully on the screen when display commit is
    called.
    
    Change-Id: I276b6fe3e0a872a2e93170f3cea1002d3ce0dac9
    Signed-off-by: Adrian Salido-Moreno <[email protected]>
    Signed-off-by: Anusha Koduru <[email protected]>


hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp: In function 'bool qhwc::isValidResolution(hwc_context_t*, uint32_t, uint32_t)':
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:81:74: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp: In function 'int qhwc::hwc_sync(hwc_context_t*, hwc_display_contents_1_t*, int, int)':
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:1292:10: error: 'struct mdp_buf_sync' has no member named 'retire_fen_fd'
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:1293:18: error: 'MDP_BUF_SYNC_FLAG_RETIRE_FENCE' was not declared in this scope
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp: In function 'bool qhwc::isDisplaySplit(hwc_context_t*, int)':
hardware/qcom/display-caf-new/libhwcomposer/hwc_utils.cpp:2068:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

require patch:

commit 2e59e27374abb1182bf7b95ecfdb29d54c47fbed
Author: Adrian Salido-Moreno <[email protected]>
Date:   Fri Jan 10 15:39:49 2014 -0800

    msm: mdss: add retire fence support
    
    Retire fence timeline should follow the actual panel vsync more closely.
    For video mode the retire fence can be signaled along with the release
    timeline with +1 offset, since this is signaled at vsync.
    In case of command mode the panel vsync can be different from buffer
    release timeline. To handle the command mode panel vsyncs better, create
    a new timeline for the retire fence signaling.