aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-21modes: Retry GETCONNECTOR if a hotplug event occurs between the two ioctlsHEADandroid-wear-5.1.1_r1android-wear-5.1.0_r1android-wear-5.0.0_r1android-m-preview-2android-m-preview-1android-m-previewandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1master-soongmastermainlollipop-wear-releaselollipop-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseTan Wei
BZ: 189856 If the available modes changes between the two GETCONNECTOR ioctls, that caused the kernel to skip filling one array and led to a crash (as the size of the allocated and initialised block of memory differed from the reported size, and might be NULL if no modes were present at first). this patch is ported from libdrm official: Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=25912 Crash whilst probing modes Based upon the similar fixes for the GETRESOURCES ioctls by Chris Wilson, in the following commits: commit e6c136ca7a4c54457b48be1aec2be024b3e4a28d commit 85fb3e55fdb7af9b5f59c1ec0f15d1950e601b05 commit d1308f4fe7f94aae51ca9f70947aea8e09597f37 Change-Id: Ife5e182ddd62abcb2a8a219b0e67786467f794d5 Signed-off-by: Tan Wei <weix.z.tan@intel.com>
2014-07-21Fix klocwork issuesElaine Wang
BZ: 185330 Use snprintf instead of sprintf while assemble strings. Fixed a possible array index out of bounds issue. Change-Id: Ic5d25f70f88e81209aecfe16fce9dca7af3b1bd0 Signed-off-by: Elaine Wang <elaine.wang@intel.com>
2014-07-21[drm] Update ioctl structures for DRM driverRajat S Gupta
BZ: 158934 Fix structure definitions so that they matches with the corresponding structures in the kernel source tree Change-Id: I25657f763e27d7c10e876711b3bdc10cfb9577b7 Signed-off-by: Rajat S Gupta <rajat.s.gupta@intel.com> Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
2014-07-21Make libdrm interface can be invoked by C++ function.Jason Hu
BZ: 103603 Change-Id: I8b8152b2eb1b997b87c2f3e6f53dac85b1ee75e8 Signed-off-by: Jason Hu <jason.hu@intel.com> Reviewed-on: http://android.intel.com:8080/105224 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Xie, Lin <lin.xie@intel.com> Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Remove HDCP ioctl defintionAndy Qiu
BZ: 79664 HDCP ioctl definition is removed. Middleware should use drmCommand APIs instead. Change-Id: I4650eda1304cb27af7c2581439597bfc6b3af6e8 Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/86116 Reviewed-by: Zhu, Tianyang <tianyang.zhu@intel.com> Reviewed-by: Poornachandran, Rajesh <rajesh.poornachandran@intel.com> Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: cactus <cactus@intel.com> Reviewed-by: cactus <cactus@intel.com>
2014-07-21[PORT FROM ICS]:Expose display mode aspect ratio flags to user-space.Arun Kannan
BZ: 49783 In order to accurately inspect and then request a particular display mode, user-space needs to know information about aspect ratio. Change-Id: Iff59215352b627afc4ef04012c28e3ad02b88b4e Signed-off-by: Arun Kannan <arun.kannan@intel.com> Signed-off-by: lcgummad <latha.c.gummadi@intel.com> Reviewed-on: http://android.intel.com:8080/61918 Reviewed-by: Liu, Wei W <wei.w.liu@intel.com> Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com> Reviewed-by: Dai, Yu <yu.dai@intel.com> Tested-by: Dai, Yu <yu.dai@intel.com> Tested-by: Tong, BoX <box.tong@intel.com> Reviewed-by: Tong, BoX <box.tong@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21REVERTME: Do not build libdrm with IMG GraphicsMark F. Brown
BZ: 49093 Donot build libdrm for mrfld Change-Id: I6074a5d0aee9e799682707cfab25565217055087 Signed-off-by: Mark F. Brown <mark.f.brown@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com> Reviewed-on: http://android.intel.com:8080/62270 Tested-by: Brouat, Claude <claude.brouat@intel.com> Reviewed-by: Brouat, Claude <claude.brouat@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21build: Clean up use of include filesBruce Beare
BZ: 43321 Projects should not refer to header files in other projects directly (since projects can be moved around). Instead... headers should be published into the out/ directory and found there when needed. Change-Id: Ifabdb47cc72e5a501cdfe646155866447421e5b8 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Reviewed-on: http://android.intel.com:8080/56270 Reviewed-by: Li, XiaojingX <xiaojingx.li@intel.com> Tested-by: Li, XiaojingX <xiaojingx.li@intel.com>
2014-07-21[PORT FROM R3] Video-HDMI: The value of MACRO "DRM_MODE_CONNECTOR_MIPI" ↵Tianyang Zhu
isn't match with kernel BZ: 38892 39006 The value of MACRO "DRM_MODE_CONNECTOR_MIPI" isn't match with kernel. Change-Id: Ic4fbd3aa5e5f0b55b12cfb045891737655e6fec3 Orig-Change-Id: I1d664196606d3ccd82b9d19369e18f06f6141ac0 Signed-off-by: Tianyang Zhu <tianyang.zhu@intel.com> Signed-off-by: Lin Xie <lin.xie@intel.com> Reviewed-on: http://android.intel.com:8080/53272 Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Clear critical klocwork issues.Elaine Wang
BZ: 23921 Critical Klocwork issues for VIDEO domain These test applications are obsolete and have critical klocwork issues. Remove them from makefile to make klocwork report clear. Signed-off-by: Elaine Wang <elaine.wang@intel.com> Change-Id: I2fdb2e59ea449a7dde5e118ee1905cf8cbe6da76 Reviewed-on: http://android.intel.com:8080/36007 Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
2014-07-21Fix module tags line$
Change-Id: Ic4db499d51de7f28062baaa871659cb72aef537c Signed-off-by: $ <bruce.j.beare@intel.com>
2014-07-21update to work with new kernel header policies.mgross
Change-Id: Ibd4c2300f7e0904b368335e90be7b04158f75480
2014-07-21edit copyrightsahara
Signed-off-by: sahara <keun-o.park@windriver.com>
2014-07-21replace drm shared-core header with kernel drm headerSeonKon Choi
Signed-off-by: SeonKon Choi <seonkon.choi@windriver.com>
2014-07-21libdrm: revert ho-hun's modificationSeonKon Choi
2014-07-21libdrm: added copyrightChang-Man Lee
2014-07-21wrs-cdk-android-libdrm-2.4.14Ho-Eun Ryu
2014-07-21freedesktop-none-linux-libdrm-2.4.14Ho-Eun Ryu
2014-07-21initial commitHo-Eun Ryu
2014-07-21Initial empty repositoryBaligh Uddin