History log of /hardware/intel/img/hwcomposer/common/base/Drm.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af3bf2227c951a59e2dcc44ab90790d247225375 11-Sep-2014 Andy Qiu <junhai.qiu@intel.com> support 480/576 mode.

Bug: 17391301
BZ: 222162

Change-Id: I96ac2695455723978f5a7c4fb5b5f74c4719580f
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
95dd47c04c25844c759e84a1473bf9f14c2bcb7b 28-Aug-2014 Lei Zhang <lei.zhang@intel.com> Fix HDMI config to be 1080p in HWC

Use panel fitter to do downscaling for 720p TV

Bug: 17185438
BZ: 218709

Change-Id: Ic02f7b7c587bc9dd00209521f15e95b67792b8e2
Signed-off-by: Lei Zhang <lei.zhang@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
452fbc109a9c585737bcac18f19aff40574c3d79 11-Aug-2014 Jim Bish <jim.bish@intel.com> gfx-hwc: Add support for hardware composer version 1.4

Adds 1.4 interfaces
setPowerMode
getActiveConfig
setActiveConfig
Updates to getDisplayConfigs and getDisplayAttributes
reset active display config on hot plug

Bug: 16990582
BZ: 216310

Change-Id: I31e436fa34545f42e923a24f7d2674e621df0e21
Signed-off-by: Jim Bish <jim.bish@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
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/common/base/Drm.h
fa7a36cfa74219be29ffcbbedfdb757bf8e7df41 15-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> Headers cleanup: clean header path to build also with prebuild

BZ: 209178

Change-Id: Iec168e6aa2b439172f025cef84f5582fe94aed70
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Reviewed-on: https://android.intel.com/215754
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
ab302a7c5992e3668443dc9bdac481c108c20a34 23-May-2014 Lee, Stanley <stanley.lee@intel.com> GFX-Display some specific panels need to rotate 180 degree

BZ:181927

Use display control to rotate 180 degree for some specific
panels. You can enable 180 degree function by adding
pi->panel_180_rotation = true; in XXX_get_panel_info() in
panel description files in kernel.

Change-Id: I5776ce435447f18f28a75bc8e00a3058a67b10bd
Signed-off-by: Lee, Stanley <stanley.lee@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
466748a6f67ce4d1ad8baa944e68a88cf3c86d26 24-Jan-2014 Austin Hu <austin.hu@intel.com> support display idle control (s0i1)

BZ: 147800

modify hwcomposer to support display idle control (s0i1). The basic idea is to compose
to framebuffer on s0i1 mode and return to normal mode on next prepare.

Change-Id: Idb522e8c544c9720964c111bc61eba232ac1a787
Signed-off-by: fu jin <fu.jin@intel.com>
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Vinil Cheeramvelil <vinil.cheeramvelil@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
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/common/base/Drm.h
12eefae3196eaadfcef7a543878fe816c4329a49 12-Aug-2013 Lin Xie <lin.xie@intel.com> Fix video cannot enter extended mode if plug in hdmi during playback.

BZ: 129982

1) The video instance number and id should be updated no matter whether
the HDMI display device is connected or not.
So that the extended mode detection could work corretly when hot plug
in the HDMI cable during video play under landscape mode.

2) Add comparing between the new set drm mode and current using mode.
If the mode is not changed then we don't have to set mode.

Change-Id: Ibbe02ed5505ab111bc5b7390549d9b6cd12c8e36
Signed-off-by: Lin Xie <lin.xie@intel.com>
Reviewed-on: http://android.intel.com:8080/124929
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com>
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
b58f29390918c0df3bd6d0731bf98daf57511b9f 29-Jul-2013 Lin Xie <lin.xie@intel.com> set HDMI refresh rate based on video framerate

BZ: 105213

To get better playback quality, we will adjust the refresh rate
of the HDMI timing which is adapt to the video clip's fps.

Change-Id: I28355fcef1ad48444874447dbe386e2b4ec85982
Signed-off-by: Lin Xie <lin.xie@intel.com>
Reviewed-on: http://android.intel.com:8080/121580
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Wang, Lili A <lili.a.wang@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
3f1974031c88750a14adc8f2f49538837238abf9 26-Jun-2013 Lin Xie <lin.xie@intel.com> Support user mode HDMI timing setting

BZ: 93163

Use wsbm to wrap the gralloc buffer to ttm bo and get the bo handle.
Send fake hotplug events on timing setting.

Change-Id: Ica5777adba5c54ebaba51666a160ca23572b78bf
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Lin Xie <lin.xie@intel.com>
Reviewed-on: http://android.intel.com:8080/115535
Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
eb726af21649d79ed720bdf329e0849270995c45 31-May-2013 Andy Qiu <junhai.qiu@intel.com> Miscellaneous optimization on HWC

BZ: 97852

1) new lockDataBuffer and unlockDataBuffer to avoid frequent memory allocation and de-allocation
2) move hotplug control and vsync control to HotplugEventObserver and VsyncEventObserver to make them self-contained
3) new event queue to handle hotplug event, video event and phone event
4) dynamic vsync source management can be easily disabled or enabled. (disabling it will cause UI hang)
5) eliminate using of "goto" design
6) make destructor virtual, not necessary for derived class but is a common practice
7) disable overlay use when video playback starts, to avoid potential scrambled RGB overlay
8) vsync status is committed only when it is scussefully enabled or disabled
9) fix memory leak (DataBuffer allocated but not released)
10) many other small improvements

Change-Id: I43eeb5c4ea4f991c5d68de14d4fe73ea4a55bb4c
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/113693
Tested-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: Patel, Hitesh K <hitesh.k.patel@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
30c19aca49c615368ae3bce961c431fa901e90b9 05-Jun-2013 Andy Qiu <junhai.qiu@intel.com> Enable both kernel mode and user mode DRM settings

BZ: 114357

This patch supports both kernel and user mode settings. If mode is not set during device detection
user mode is set automatically.

This patch also optimzes device detection. Detection is performed per device base instead of on all
devices. Avoid returning pointer from Drm to solve potential threading issues during stress testing (rapid hot plug and unplug)

Change-Id: I868d67267bbf313d3793572b96839c30e1aa43d2
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/112229
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h
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/common/base/Drm.h
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/common/base/Drm.h
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/common/base/Drm.h
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/common/base/Drm.h
10056c1964f893323ab3309f3906e0db8b60d7e0 09-May-2013 Andy Qiu <junhai.qiu@intel.com> Enable HDCP automatically when HDMI is connected.

BZ: 106754

HDCP is automatically enabled when HDMI is connected, hotplug event
is delayed sent till HDCP is authenticated.

Change-Id: Ie69cb6ae5fd6afff516c5f7b417a87bfe80fcf2d
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/106871
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Jin, Fu <fu.jin@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/common/base/Drm.h
65efc253a628175c7afa95c431b746ea20052794 26-Apr-2013 Andy Qiu <junhai.qiu@intel.com> Presentation and video extended mode support for HDMI and WiDi

BZ: 103740

Implement DisplayQuery class to check whether a layer is a video layer.

Implement DisplayAnalyzer to analyze contents first before layers are prepared,
if video extended mode is set by the analyzer then video layer in the primary layer is skipped.

If visible layer in video extended mode is 0 then display of primary
device can be turned off, otherwise, display of primary device needs
to be turned on always. (Turn off display will cause system to freeze,
so the feature is disabled for now).

Change-Id: I74711a7e8eab9a2055fba043a910e7db4fbfb1f9
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/104852
Reviewed-by: cactus <cactus@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/common/base/Drm.h
e6ecdadd57e79c2218b3e6ae407f12599f33bd22 25-Mar-2013 Jackie Li <yaodong.li@intel.com> Enable refactored HWC for merrifield.

BZ: 95290

This refactored HWC replaces current HWC for merrifield under hardware/intel/mfld_cdk/hwc/merrifield.

Change-Id: I00986b24e70e33c13e5e81e8b3473a42166640a1
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Signed-off-by: Jackie Li <yaodong.li@intel.com>
Reviewed-on: http://android.intel.com:8080/98227
Reviewed-by: cactus <cactus@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/common/base/Drm.h
6a6081a46a83da606cf21548879b37695adc7e1f 23-Mar-2013 Andy Qiu <junhai.qiu@intel.com> Initial version of refactored HWC, based on design from Jackie.

BZ: 95246

This is the first submission of refactored HWC, based on design from Jackie.
Build is temporarily disabled.

Change-Id: Idf6d8ab5263cfa797d9e3b93328702f486b30c43
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/97996
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Dai, Yu <yu.dai@intel.com>
Tested-by: Dai, Yu <yu.dai@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/hwcomposer/common/base/Drm.h