summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-09-09 11:51:10 -0400
committerRobert Foss <robert.foss@collabora.com>2016-09-14 12:15:37 -0400
commit5bd70895f9ca8885d18f3db5c768a878f65e9998 (patch)
tree2c8189940bf7bad650fcfa9642132a06188171c0
parentd442260df01b75d9040f9486359315d4254d7bb5 (diff)
downloaddrm_hwcomposer-patch_libsync_rework_v2.tar.gz
drm_hwcomposer-patch_libsync_rework_v2.tar.xz
TMP: fence loggingpatch_libsync_rework_v2
-rw-r--r--drmdisplaycompositor.cpp1
-rw-r--r--hwcomposer.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/drmdisplaycompositor.cpp b/drmdisplaycompositor.cpp
index c62f8f5..4dde501 100644
--- a/drmdisplaycompositor.cpp
+++ b/drmdisplaycompositor.cpp
@@ -555,6 +555,7 @@ int DrmDisplayCompositor::CommitFrame(DrmDisplayComposition *display_comp,
else if (layer.transform & DrmHwcTransform::kRotate270)
rotation |= 1 << DRM_ROTATE_270;
+ ALOGI("plane=%d FENCE_FD=%d", plane->id(), layer.fence_fd);
ret = drmModeAtomicAddProperty(pset, plane->id(), plane->fence_fd().id(), layer.fence_fd);
}
diff --git a/hwcomposer.cpp b/hwcomposer.cpp
index 3578996..90a3430 100644
--- a/hwcomposer.cpp
+++ b/hwcomposer.cpp
@@ -299,7 +299,7 @@ int DrmHwcLayer::InitFromHwcLayer(hwc_layer_1_t *sf_layer, Importer *importer,
sf_handle = sf_layer->handle;
alpha = sf_layer->planeAlpha;
fence_fd = sf_layer->acquireFenceFd;
-
+ALOGI("DrmHwcLayer::InitFromHwcLayer fence_fd=%d", fence_fd);
source_crop = DrmHwcRect<float>(
sf_layer->sourceCropf.left, sf_layer->sourceCropf.top,
sf_layer->sourceCropf.right, sf_layer->sourceCropf.bottom);