Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-IA-Hardware-Composer: List of commits

external/IA-Hardware-Composer


RSS
Rev. Tiempo Autor
ad0303d pie-x86 2019-05-05 04:24:09 Mauro Rossi

drmdisplay: fix drop const qualifier build error

Fixes the following building error:

external/IA-Hardware-Composer/wsi/drm/drmdisplay.cpp:558:43:
error: cast from 'const hwcomposer::OverlayLayer *' to 'hwcomposer::OverlayLayer *' drops const qualifier [-Werror,-Wcast-qual]
OverlayLayer *layer = (OverlayLayer *)comp_plane.GetOverlayLayer();
^
1 error generated.

e7816d0 2019-04-29 05:37:42 Mauro Rossi

core/hwclayer: avoid missing field inizializers in libsync

To avoid following building errors:

In file included from external/IA-Hardware-Composer/common/core/hwclayer.cpp:18:
external/libdrm/libsync.h:63:24: error: missing field 'events' initializer [-Werror,-Wmissing-field-initializers]
struct pollfd fds = {0};
^
external/libdrm/libsync.h:88:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
struct sync_merge_data data = {0};
^
{}
external/libdrm/libsync.h:88:34: error: missing field 'fd2' initializer [-Werror,-Wmissing-field-initializers]
struct sync_merge_data data = {0};
^
3 errors generated.

7df9740 2019-04-29 05:37:37 Mauro Rossi

display/displayqueue: remove unused variable

To avoid building error

dd219eb 2019-04-29 05:37:30 Mauro Rossi

always build libhwcservice

To avoid missing libhwcservice when TARGET_USES_HWC2 not true

041cf2f 2019-04-25 23:59:24 Mauro Rossi

Rename module to hwcomposer.intel for testing IA-Hardware-Composer

To be renamed accordingly in device/generic/common
(files gpu/gpu_mesa.mk and init.sh)

0078161 2019-04-25 23:59:18 Mauro Rossi

Define INTEL_MINIGBM to avoid building error

INTEL_MINIGBM is defined as external/minigbm_intel to avoid following error:

[116/838] including ./external/IA-Hardware-Composer/Android.mk ...
build/core/binary.mk:1480: error: external/IA-Hardware-Composer/Android.common.mk:
hwcomposer.intel: C_INCLUDES must be under the source or output directories: /cros_gralloc/.
14:15:43 ckati failed with: exit status 1

130d65a 2019-04-24 12:07:19 HeYue

The buffer interlace info should change to frame by frame

So far the buffer interlace is set according to GRALLOC_USAGE_PRIVATE_0.
It will cause play some irregular size video has green line in screen bottom.

Change-Id: I2bff0bf84a056c1e313cb79c2762e788598fd7ac
Tests: Video play without issue.
Tracked-On: https://jira.devtools.intel.com/browse/OAM-79458
Signed-off-by: HeYue <yue.he@intel.com>

9bc722f 2019-04-23 14:53:08 yuzhengyang

Fix a misstike when LogicalDisplaymanager do present

When layers_ is empty, missing reset queued_displays_ to 0

Change-Id: None
Tracked-On: None
Test: test ok!
Signed-off-by: yuzhengyang <yu.zhy@neusoft.com>

8802564 2019-04-22 22:23:17 Shaofeng Tang

Build libhwcservice as static library

Update makefile for build libhwcservice as static library

Test: Compile on Android successfully
Change-Id: Ibd98f1c6ff40c84da722990b7b745e8e80933476
Tracked-On: None
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

d008bd2 2019-04-22 16:55:48 Shaofeng Tang

Fix the wrong method name in compiling error

The method name for getting display type is typoed.

Change-Id: Idb22f258d3723b69867e055c70a7a7ca6f609400
Tracked-On: None
Test: Compile success
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

7f2dcd2 2019-04-22 10:25:27 yuzhengyang

Ensure LogicalDisplay called LogicalDisplayManager::Present()

All LogicalDisplay must called into LogicalDisplayManager::Present before return.
If return in HWC2Display that is actually LogicalDisplay when layers is empty,
the LogicalDisplayManager can't do the present at right moment.
This will cause Composer process to crash when using LogicalDisplay.

Change-Id: none
jira: none
Signed-off-by: yuzhengyang <yu.zhy@neusoft.com>

377abb0 2019-04-17 11:11:09 Shaofeng Tang

Allow drm commit by default

Allow DRM commit by default to optimize the switch duration for DRM
master. Checking if hwc is drmmaster before really commit to DRM.

Change-Id: I0a78e51e2359baab65402abd60f46df6940b3592
Tracked-On: https://jira.devtools.intel.com/browse/OAM-79621
Test: Compile success, work well with evs
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

adf0c36 2019-04-12 14:26:17 Wan Shuang

Added the Panorama dynamic turn on/off feature.

Added enable/disable panorama interfaces in HWC service API for
it be able to controlled by other process for dynamic turning
on/off panorama view mode in ACRN AaaG environment.

Change-Id: Ic3e5f22d65a533132adf6752a4f93b060476d6ca
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76498
Tests: Turn on/off Panorama mode dynamically on ACRN AaaG.

Signed-off-by: Wan Shuang <shuang.wan@intel.com>

e9ecf2d 2019-04-04 15:03:44 Shaofeng Tang

Update GPUDevice thread for DRM-master setting/dropping

GPUDevice thread will monitor hwc.lock once HWC is not drm master
Drm Master will not be set once hwc.lock is not available.

On Acrn and Celadon, an additional selinux patch are needed for
the permission on hwc.lock.

Change-Id: If185b7f1b912dd58ffcb0287fe1b3a234afc5b57
Test: Compile sucessful for Android.
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76578
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

cc914c3 2019-04-04 10:20:15 Yi Yao

Fix a null pointer bug after hwctrace enabled.

Test: No null pointer crash.
Tracked-On: https://jira.devtools.intel.com/browse/OAM-79216
Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>

76e33c9 2019-04-03 18:07:58 Chen Yu Y

fix build error

fix build error

Change-Id: I82ae3d4286094affeaf874985f846746ed76c87c
Tracked-On: https://jira.devtools.intel.com/browse/OAM-79162
Signed-off-by: Chen Yu Y <yu.y.chen@intel.com>
Signed-off-by: Jenny Cao <jenny.q.cao@intel.com>

f0a8cf3 2019-03-29 20:03:31 Shaofeng Tang

Add nullpoint checking for GetBuffer invoking.

Checking if the buffer pointer is null before using it.

Change-Id: If2631bb5c28efc0f3e5951104a150c1464008277
Test: Compile sucessful for Android.
Tracked-On:https://jira.devtools.intel.com/browse/OAM-78892
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

0b47577 2019-03-29 20:03:24 xue.yifei

Fix create/destroy VDS issue

Using std::Map to manage the VDS create/destroy.

Change-Id: Ic6656ac0b78df4eb2aa433104eaad3e8dc3a0ac8
Tracked-On: None
Tests: Android UI normal
Signed-off-by: xue.yifei <yifei.xue@intel.com>

b7c4035 2019-03-29 20:02:50 HeYue

Fix the ACRN build error

Fix ACRN build error caused by 37f472c449f900145bbc920ee842edc1a1b3023e

Change-Id: I224b4e475ff8a19e3ef989f3080c1b67dbfd433e
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76800
Tests: Compile sucessful for ACRN and baremetal, all display mode works well.
Signed-off-by: HeYue <yue.he@intel.com>

37f472c 2019-03-11 10:51:13 HeYue

Shorten the HandleHWCSettings function

Split the function to sub-function.

Change-Id: I1d32836636124dd45c31a0bdd17413ee39448a31
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76800
Tests: Compile sucessful for Android, all display mode works well.
Signed-off-by: HeYue <yue.he@intel.com>

ee70989 2019-03-05 17:17:55 Lin Johnson

Remove handle_ remove virtual display
It is never used and shoud be removed

Change-Id: I4e558a565ea275f381377c9feea2d4e557b3fc8f
Tracked-On: None
Tests: Android UI normal
Signed-off-by: Lin Johnson <johnson.lin@intel.com>

7755fe4 2019-03-05 17:17:55 Lin Johnson

Fix another memory leak

ctm_offset shoudl be freed

Change-Id: I98290e132818cccf0f3e09f4ac0f9eecef7dee01
Tracked-On: None
Test: Android UI normal
Signed-off-by: Lin Johnson <johnson.lin@intel.com>

fb86895 2019-03-04 10:19:55 Shaofeng Tang


Follow klocwork coding guide for null checking. (#552)

Secure coding guidelines (and the reason Klocwork flagged this) state
that you should never assume multiple calls to a function will return
the same result, even if it is highly unlikely to change.

Change-Id: I710d34eeb767dcf5f83ba91bf637d1cf367f3baf
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76669
Tests: Compile sucessful for Android.
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

bd4ff24 2019-02-27 12:17:02 Shaofeng Tang

Checking the clone-mode config for out of array

On ACRN, the display size is 2. By default, the clone-mode config is "1+2"
for clone the second display to the third. On Acrn, no third display is
available. it will cause out of array error.

Tracked-On: https://jira.devtools.intel.com/browse/OAM-76564
Tests: Compile sucessful for Android. No crash for clone mode on ACRN.
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

Change-Id: Ieccf0481fae0983a8ba01b73bcdbbc0125c61e6a

255dc6e 2019-02-25 20:02:52 Shaofeng Tang

Last_plane should not be handled as cursor plane when cursor_plane is not available

On ACRN, cursor plane is not available. if the last plane still be handled as
cursor plane. funtion 'FallbacktoGPU' will return false. and the cursor layer will
not be added.

Change-Id: I5f97fb5edf66c3423d8d54c5dd26eb8bcf9b3f91
Tracked-On: None
Tests: Compile sucessful for Android.
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

546c1bb 2019-02-25 15:40:09 HeYue

Delete the output buffer when it is same as output_handle_

In ACRN virtualdisplay setoutput buffer, if the buffer is same as output_handle_
and output_handle_ is not null, delete the buffer to prevent memory leak.

Change-Id: I558f31aea3315481f3a00c1fef1202bb7eb124f1
Tracked-On: None
Tests: Compile sucess for ACRN and baremetal. System without issue.
Signed-off-by: HeYue <yue.he@intel.com>

46a8e76 2019-02-22 17:47:44 Bao,Jiulong

Fix potential FD leak

There is FD leak issue in custome platform, his patch is to fix the issue.
Couldn't reproduce FD leak so far, after value and validate this patch,
submit it to github.

Change-Id: If50634e7fb2d05e1324d454d7ab57d996568a90e
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76458
Tests: Compile sucess for ACRN and baremetal. System without issue.
Signed-off-by: HeYue <yue.he@intel.com>

6e4075a 2019-02-20 17:22:04 Shaofeng Tang

Remove the macro DISABLE_CURSOR_PLANE

Cursor plane already work on Android for all current platform. In current
implementation, the code in this micro are related with the workaround for
'enable_last_plane_', and deleting the cursor plane from overlay plane list.
'enable_last_plane_' has been removed. and the cursor plane still need to
be removed from overlay plane list.

Change-Id: I3b6970ad3ee471b218cd9560c28ac2fc19c1e709
Tracked-On: None
Tests: Compile sucessful for Android.
Signed-off-by: Shaofeng Tang <shaofeng.tang@intel.com>

a08c947 2019-02-20 17:22:04 renchenglei

Reuse last overlay plane on ACRN when multi monitors connected

This revert commit 206eb50e8fe7ed8d657f4a991b599a575912316c
Revert "Add support to dynamically disable last overlay usage."
The last overlay plane is disabled in past due to APL not
reboot when multi monitors are connected. Now this issue
is not reproduced any more. We add the last overlay plane
back, which could help improve browser kinetic panning frame
rate with 2 displays.

Change-Id: I6a27202d822dc80433f4b5d20048472cf37f4ed8
Tracked-On: https://jira.devtools.intel.com/browse/OAM-76190
Signed-off-by: Lin Johnson <johnson.lin@intel.com>
Signed-off-by: Chenglei Ren <chenglei.ren@intel.com>
Signed-off-by: HeYue <yue.he@intel.com>

4b8f8e4 2019-02-19 16:21:56 HeYue

Fix the ACRN build error

Correct the acrn build error caused by my commit CommitID:
b12564d7c9c1aaa451cdd4b55f757e23ca0dea85.
And delete unused ETRACE log.

Change-Id: I662454235aa2617f93b5439d9d410215f500120e
Tracked-On: None
Tests: Compile sucess for ACRN and baremetal. System without issue.
Signed-off-by: HeYue <yue.he@intel.com>

Show on old repository browser