a6ca0e98674e3f1b0a7239f6e775cae2f667fe5c |
|
04-Sep-2014 |
Lei Zhang <lei.zhang@intel.com> |
hwc: add support for cursor plane. Bug: 17256663 BZ: 218062 Change-Id: Ib8e2c4c460520fef111966e622a4adf8a7f3e6ee Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
4157ee3f6fb20e0a249b9eedc06f3b16785ba31b |
|
02-Sep-2014 |
Iliyan Malchev <malchev@google.com> |
hwc: rename logging macros: TRACE --> LOGTRACE find . -type f -a \( -name \*.c -o -name \*.cpp -o -name \*.h \) \ -exec sed -r -i -e 's/([ADEITVWX])TRACE/\1LOGTRACE/g' {} \; In preparation for instrumenting HWC with ATRACE tags. Change-Id: I172a48bd86a711b67e67d44a8d47da6b8e67b56d Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
aca1af6bab5f1aab3a7d2851e1c27253a3ed6b80 |
|
22-Jul-2014 |
Andy Qiu <junhai.qiu@intel.com> |
remove unused codes and unsupported features Bug: 16955210 Change-Id: I90ac9bbfc87a4f34a225c65fe58e0470fbd0b3f2 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: https://android.intel.com/220474 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
cd727f537d5085eec7f1b8f9c1d33922d4de75d4 |
|
24-Jul-2014 |
Prodyut Hazarika <prodyut.hazarika@intel.com> |
Change license headers to Apache BZ: 209178 Change-Id: I4933f49129b085ef5a76c28ae4a775cef5b1b636 Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
0594c42af26255fd8d3d7d39c0cb0e2da5b8841b |
|
14-Jul-2014 |
Thierry Strudel <thierry.strudel@intel.com> |
AOSP: cleanup include paths and warnings BZ: 209178 Include header file from top of module only Move makefiles to top of module Fix all warnings and enable -Werror Change-Id: I6921b41d5512a81aaeb167383b9392efbae275bf Signed-off-by: Thierry Strudel <thierry.strudel@intel.com> Reviewed-on: https://android.intel.com/217843 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
df2375b21a38e2071e4974e7408495338bb05e7b |
|
30-Jun-2014 |
Prodyut Hazarika <prodyut.hazarika@intel.com> |
hwc: disable widi code cleanly BZ: Hwcomposer code does not cleanly separate out Widi code in case Widi is disabled. This results in SurfaceFlinger crash if Widi is disabled Change-Id: I637aba5e6b269f35270c9d6ab5d72cb17ffd6ffb Signed-off-by: Prodyut Hazarika <prodyut.hazarika@intel.com> Reviewed-on: https://android.intel.com/217786 Reviewed-by: Strudel, Thierry <thierry.strudel@intel.com> Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
1384af5ff34704d6a4a13a1931e324f35cdc292b |
|
21-May-2014 |
Brian Rogers <brian.e.rogers@intel.com> |
widi: Support secure video playback with VSP composition BZ: 197406 Intel WiDi and Miracast paths are unified and both support VSP composition for protected content. Work is done on a background thread and completion is signaled through the sync framework. Change-Id: I6c98938bce7727b9b14c3bb040aeb72004c80e84 Signed-off-by: Brian Rogers <brian.e.rogers@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
8bb0b3d2cb2629e2298633ee329c1ad804eb12e8 |
|
19-May-2014 |
Jin Zhebin <zhebinx.jin@intel.com> |
Use getDisplayDevice interface to get IMG display device. BZ: 196116 This interface help hide the internal details when getting display device. Change-Id: Icb5407e49a34b3424bcb1802269fa8ebaac6b655 Signed-off-by: Jin Zhebin <zhebinx.jin@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
d1bb7a707a42105e651d01a22283407c78473439 |
|
19-Feb-2014 |
Lei Zhang <lei.zhang@intel.com> |
HWC: dup release fence only for layers on HW planes BZ:172956 Per specification in hwcomposer.h, hwc should not touch the release fence of HWC_FRAMEBUFFER layers. While considering smart composition case, hwc should only dup the release fence for the layers which attached to display planes and successfully posted to HW. Change-Id: If1c2f12b4c90d44c764d2d05f9ae0cc77cc2149e Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
74d17bbb231fbbc3831b4e025500d3b3cfba00f2 |
|
28-Jan-2014 |
Andy Qiu <junhai.qiu@intel.com> |
reuse tangier IP for Annidale BZ: 168122 If IP implementation for tangier can be reused for annidale, we should reference to them directly instead of making a copy for annidale. Change-Id: Ieff3153b2db8ce4d90c070497bb55b8e573ca3b0 Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
11b44e47e6aa114b144b06cbb6e91de3c0750c69 |
|
24-Jan-2014 |
Andy Qiu <junhai.qiu@intel.com> |
Flip frame buffer target once in video extended mode BZ: 150491 First flip of frame buffer target is to blank screen. Subsequent flip of frame buffer target is skipped such that pipe for the primary device (pipe 0) can enter idle state (for example DSR mode). Change-Id: I61e726ec95267a7bcc9a69ccd4a1c51788ed14b8 Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
5102f08006e6da2f595458c9408f73cc8a198369 |
|
15-Jan-2014 |
Lingyun Zhu <lingyun.zhu@intel.com> |
[GFX-HWC] Move "close acquire fence" from commit to commitEnd BZ: 155916 After patch 143849, patch 151924 is bypassed, so that VirtualDisplaySurface::commit() will not be called and the acquire fence for it will not be closed and lead to fd leak. This patch moves "close acquire fence" from VirtualDisplaySurface::commit() to TngDisplayContext::commitEnd() for VirtualDisplaySurface. This patch depends on patch 156366. Change-Id: Ic5b1b52b14f3497de662ea973098617671fd5afb Signed-off-by: Lingyun Zhu <lingyun.zhu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
f6d5b36e320f093f08855d64fa3d565eacae3c4b |
|
02-Jan-2014 |
Jackie Li <yaodong.li@intel.com> |
hwc: updated hwcomposer to support ANN. BZ: 161970 This is part of a set of patches to enable Moorefield graphics. Change-Id: Ica32c38871f86bca68c34c7e54e9db2c6b7d4f56 Signed-off-by: Jackie Li <yaodong.li@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
a2b0fe73431b08569dd4445cc640c3cfd9450271 |
|
25-Dec-2013 |
Lei Zhang <lei.zhang@intel.com> |
hwc: add retire fence support in hwc for SF DispSync BZ:161107 This patch enables retire fence support in hwc for KitKat. Instead of HW Vsync, Surfaceflinger in Kitkat uses Software DispSync to trigger event in period; and it needs sampling retire fence to make sure DispSync is aligned with HW Vsync. Change-Id: Ib48fe238244db0703e752a8e0252c0045d71f5a0 Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
c5ec1e254fadd2b78bb31147d08c18999c2be8cc |
|
18-Nov-2013 |
Andy Qiu <junhai.qiu@intel.com> |
remove kernel header files dependency BZ: 152009 using psb_drm.h from exported linux kernel headers. Change-Id: I1f31e5b3d7445013e860a1d796abe7ac1d4ff923 Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
b7e04bcc10f0b8aaa698b1ccae40e87664ebef18 |
|
30-Oct-2013 |
mahongpe <mahongpe@intel.com> |
Fix video flash issue at the end of playing video. BZ:141685 MDS calls HWC to disable overlay when enter into unpreparing state. This will make video window to be black, which is not expected. For protected video, operations on overlay plane will not change, For clear video, overlay will not be disabled in unpreparing state. Change-Id: I525fd03f9870b82588d6b89ab004e2ddafcc7597 Signed-off-by: mahongpe <mahongpe@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
93d8b1eff292888eeb8bf47299a766185a4fc8b0 |
|
15-Oct-2013 |
Andy Qiu <junhai.qiu@intel.com> |
enable smart composition BZ: 133634 If all RGB layers are not updated, composition type of these layers can be set to HWC_OVERLAY to skip composition. Change-Id: I35b3dd3bbb86c0131b001691d0b2792ae32f6195 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/138402 Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Tested-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
bd4ddc897d2cca5e26ba3ab5aaa72206217580bc |
|
30-Sep-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: native fence support BZ: 143498 patch 3/3 of native fence enabling updated HWC to support acquire fence and release fence. Change-Id: I89ea629307b9f6ccefc24b56d701b2c5e94e1c4e Signed-off-by: Jackie Li <yaodong.li@intel.com> Reviewed-on: http://android.intel.com:8080/135194 Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Tested-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
d191dc7a785f312ede10d711720d8ca32a71b44c |
|
30-Jul-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: optimized plane allocation BZ: 127803 patch 2/2 of z order setting and plane allocation optimization. optimized plane allocation algorithm to try to achieve following goals: 1) attach display planes to large layers which need more GPU power to do composition. 2) attach display planes to layers which contain protected content as much as possible 3) scalability to support different z order configure restrictions of different hardware platforms 4) allocate as much display planes as possible remain issues: 1) flickering was observed rarely when doing manual stress tests, which root caused by turning on sw layer support. will fix it in another RGX patch. 2) found an issue that buffer crop may be incorrect, which can be fixed by patch http://android.intel.com:8080/#/c/124022/ Conflicts: common/base/HwcLayerList.cpp Change-Id: I0fbef3b8cda227ed3aaf75775330ae136c2b5298 Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Reviewed-on: http://android.intel.com:8080/122669 Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Dai, Yu <yu.dai@intel.com> Tested-by: Dai, Yu <yu.dai@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
e2ad4c047651d4442f6a0e002290016d45e9201a |
|
28-May-2013 |
fu jin <fu.jin@intel.com> |
Extend current design for supporting future platforms BZ: 112342 Extend current design for support future platforms: 1) flip takes context parameter 2) commitBegin and commitEnd take parameters for display contents 3) Initialize/Deinitialize of BufferManager need to be virtual 4) Move management of Primary display plane from physical device to HWC Layer list. 5) Better data buffer cache management to avoid unbound increment of cache 6) Calling deinitializer before deleting object Change-Id: I1aea10e52ac778e101559855a1fce7c7add45336 Signed-off-by: fu jin <fu.jin@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: fu jin <fu.jin@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/110631 Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
4a17bd5f8632806430043ab67e10c54a1406a7a2 |
|
22-May-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: enabled overlay C & sprite D BZ: 108705 The 2/2 patch for Overlay C and Sprite D enabling in Mrfld. Change-Id: I7b782d49958ed0baad073326b244b31ba930db45 Signed-off-by: Austin Hu <austin.hu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Reviewed-on: http://android.intel.com:8080/110624 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Tested-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
998f109c19fc9d5af0e4611739e0d635da484d93 |
|
18-Apr-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: remove framebuffer HAL dependency. BZ: 102923 Decoupled framebuffer device HAL dependency while submitting display hardware configuration. For Tangier, we will use a display device to submit these configuration. Change-Id: I44be41d3f6a907b3d1ae4b39847a529526c215ec Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Reviewed-on: http://android.intel.com:8080/110623 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com> Tested-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
80daa8af8605ef16a1804699ee94280a1bd442bf |
|
28-May-2013 |
rkraiemx <rihabx.kraiem@intel.com> |
Revert "hwc: remove framebuffer HAL dependency." BZ: 102923 This reverts commit bbd8c6e1589c74b7d56ba3014dbb2353cda2a552. Change-Id: Icbf9767081b7bfc9252c240331a7af02cc29f32b Orig-Change-Id: I7a42771b7672774de3740fa39cb4a6c8a1000031 Signed-off-by: rkraiemx <rihabx.kraiem@intel.com> Reviewed-on: http://android.intel.com:8080/110148
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
8ccc5b1a7b75d8e471218e416306ce7bada5f5ec |
|
28-May-2013 |
rkraiemx <rihabx.kraiem@intel.com> |
Revert "hwc: enabled overlay C & sprite D" BZ: 108705 This reverts commit 2d3aa0be0f2ada6d65155dba498fa66e98c47f14. Change-Id: I625f1eb43250544eae87fdba0166ef2df9d90710 Orig-Change-Id: I03badb303eaad1c3053a57fbd124bddf8b9fda3e Signed-off-by: rkraiemx <rihabx.kraiem@intel.com> Reviewed-on: http://android.intel.com:8080/110147
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
2d3aa0be0f2ada6d65155dba498fa66e98c47f14 |
|
22-May-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: enabled overlay C & sprite D BZ: 108705 The 2/2 patch for overlay C and sprite D enabling in mrfld. Change-Id: I03badb303eaad1c3053a57fbd124bddf8b9fda3e Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Reviewed-on: http://android.intel.com:8080/108420 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com> Tested-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
bbd8c6e1589c74b7d56ba3014dbb2353cda2a552 |
|
18-Apr-2013 |
Jackie Li <yaodong.li@intel.com> |
hwc: remove framebuffer HAL dependency. BZ: 102923 Decoupled framebuffer device HAL dependency while submitting display hardware configuration. For tangier, we will use a display device to submit these configuration. Change-Id: I7a42771b7672774de3740fa39cb4a6c8a1000031 Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Austin Hu <austin.hu@intel.com> Reviewed-on: http://android.intel.com:8080/102710 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Stimson, Dale B <dale.b.stimson@intel.com> Tested-by: Stimson, Dale B <dale.b.stimson@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
e2b2a5fe291662041d1bbec00996c2ba302dc4c9 |
|
13-Apr-2013 |
Andy Qiu <junhai.qiu@intel.com> |
Make HWC logging scalable. BZ:100612 In current implemnention, if verbose logging is enabled there will be tons of messages printed out, which makes it less useful for debugging purpose. We need one way to selectively enable or disable certain verbose information. For each log message, we also want class name and function name to be automatically pre-appended, this removes burden of adding it manually, and enables developer to focus on key output message only. Changes in this patch include: 1) define VTRACE, DTRACE, ITRACE, WTRACE and ETRACE, they are equivalent to LOGV, LOGD, LOGI, LOGW and LOGE with class name and function name automatically pre-appended. 2) define CTRACE to trace function call entrance 3) define XTRACE to trace function call exit 4) CTRACE and XTRACE are turned off by default. They should only be enabled to trace deadlock, infinite loop or display freeze. 5) define ATRACE to trace function call entrance with input arguments, this is turned off by default either. New type of trace can be defined to control output of certain type of information. Change-Id: Iab185ad5ce407880322b2b306ea43bdb8440facc Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/101952 Reviewed-by: Hu, Austin <austin.hu@intel.com> Reviewed-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Tested-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
cf69645a7a038ffa3cb5c2fb1e38618219d8f2fe |
|
10-Apr-2013 |
Jackie Li <yaodong.li@intel.com> |
MRFL::hwc: fixed video playback never uses overlay again after failing to get rotated buffer from video driver. BZ: 99458 Latest HWC impl only fallback to ST once failed to update the video layer & never switch back to overlay even if rotated video buffer was ready. This patch updated the error handling, so that hwc has a chance to switch back to overlay when it detected the video layer can be updated to overlay successfully. Change-Id: I53c5c208d06329e89464a08c0dca91200a91af4f Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Signed-off-by: Jackie Li <yaodong.li@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/101015 Reviewed-by: Hu, Austin <austin.hu@intel.com> Reviewed-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Tested-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|
4b834ced8031d624fc8bd042275cb0612c7b9f63 |
|
10-Apr-2013 |
Andy Qiu <junhai.qiu@intel.com> |
Consolidate HWC display context design. BZ: 99199 Define IDisplayContext interface for committing metadata and contents of all HWC layers to hardware using this interface. This consolidation will make it easier to switch to a different commit method as all implementations are in the same file. Change-Id: I4c9b2aa63066c1591f0d24c5b429ff2ea77a9673 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/100814 Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/ips/tangier/TngDisplayContext.cpp
|