summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-09Fix narrowing conversion between int <-> unscoped enum.android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releaseStephen Hines
Bug: http://b/26747884 Change-Id: Ife86534c45642cdeb004e68b766c123a4131d6fe
2015-09-22drm_gralloc: Enable allocation of flexible YUV420 buffersTomasz Figa
This patch adds necessary switch cases to enable allocation of flexible YUV420 buffers. They currently always map to NV12 buffers. Change-Id: I57daba972698033240f9086b7badfad75335be2e
2015-09-22drm_gralloc: rockchip: Allocate bigger buffers for raw video framesTomasz Figa
It is a workaround needed for video decoder hardware that requires extra data at the end of the frame. Change-Id: I6af8f8ae81a56bbbe3721b0cc3b333f09f6fb965
2015-09-22drm_gralloc: Implement lock_ycbcr methodTomasz Figa
It is needed for flexible YUV formats. Currently only flexible YUV420 is supported and always maps to NV12 format. Change-Id: I4b2f2d1cdd3f2495b63d84438130dc7ab99fbf8c
2015-08-27drm_gralloc: Don't modify handle->height for alignment.Owen Lin
In gralloc_drm_align_geometry(), the height will be adjusted to include the UV planes. For the format HAL_PIXEL_FORMAT_YV12, the hight of a VGA image (640x360) will be adjusted to 540. We should not change the origin height in the handle. Change-Id: I57901d94ae3e4b321b692b64b553923a201d4f3f
2015-06-05am 47e7aba9: drm_gralloc: Add support for Rockchip DRMTomasz Figa
* commit '47e7aba999eeca7b2db97ca388bc9c42524eec8e': drm_gralloc: Add support for Rockchip DRM
2015-06-05drm_gralloc: Add support for Rockchip DRMandroid-wear-n-preview-3android-wear-n-preview-1android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releaseTomasz Figa
This patch adds backend for libdrm_rockchip to support drm_gralloc on systems with Rockchip DRM. Change-Id: Iedcf1cb25cc2462681f0355f939018037171d207 Signed-off-by: Tomasz Figa <tfiga@google.com>
2015-06-04am 879cc4e7: drm_gralloc: Use render nodeSean Paul
* commit '879cc4e7c6da5ecf631d65ddd98d12bccd5817f5': drm_gralloc: Use render node
2015-06-04am d225ab0e: drm_gralloc: Move gralloc.c and gralloc_drm.c to cppSean Paul
* commit 'd225ab0eaecac84e5fd7199968a433a462af0196': drm_gralloc: Move gralloc.c and gralloc_drm.c to cpp
2015-06-04am 9b27aa89: drm_gralloc: Add drm_gralloc actions to gralloc_drm.hSean Paul
* commit '9b27aa890b10d27733dd6f4dc40fe006a2a87ad2': drm_gralloc: Add drm_gralloc actions to gralloc_drm.h
2015-06-04am d81a9375: drm_gralloc: Remove kms functionalitySean Paul
* commit 'd81a9375614e30376947013d24cea546d39e93fc': drm_gralloc: Remove kms functionality
2015-06-04am 5eeaf697: drm_gralloc: Remove NV12 formatSean Paul
* commit '5eeaf6970ee63bffe221da91bddeafcbb8405c78': drm_gralloc: Remove NV12 format
2015-06-04am 436a5fc6: drm_gralloc: Use external/libdrm for includesSean Paul
* commit '436a5fc69263d9f1c8ab8d52a0c8750f6a531b4c': drm_gralloc: Use external/libdrm for includes
2015-05-30drm_gralloc: Use render nodeSean Paul
Change-Id: I9bbee113e884d0c512a855e85fa88db4e3789a1e Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Tomasz Figa <tfiga@google.com>
2015-05-30drm_gralloc: Move gralloc.c and gralloc_drm.c to cppSean Paul
Change-Id: Id08a921c74fc431328ed92bb94bfeaa5764c3e5c Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Tomasz Figa <tfiga@google.com>
2015-05-30drm_gralloc: Add drm_gralloc actions to gralloc_drm.hSean Paul
Change-Id: If640f6ad7c6b904df59b5c5e164f184f1fc97170 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-05-30drm_gralloc: Remove kms functionalitySean Paul
All of the kms functionality in gralloc should be handled by hwcomposer. Change-Id: I164a0af4d03aa4777e494e401cd81e841d3bfa33 Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Tomasz Figa <tfiga@google.com>
2015-05-30drm_gralloc: Remove NV12 formatSean Paul
Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-05-30drm_gralloc: Use external/libdrm for includesSean Paul
Change-Id: Ibb6c964ed720971bffb00d53bfbfb18a459ba2a0 Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Tomasz Figa <tfiga@google.com>
2015-05-08am 6ee8648e: Stop using stlport.Dan Albert
* commit '6ee8648e66cefb8891dfdf54303d3bc96f5d74a5': Stop using stlport.
2015-05-07Stop using stlport.Dan Albert
Bug: http://b/15193147 Change-Id: Ief83f68317e466db176f09ebc38f7d738fe02e1e (cherry picked from commit e3bfc6c7ecae6faeac3b0c02c53ef96c8a494998)
2015-05-07Stop using stlport.Dan Albert
Bug: http://b/15193147 Change-Id: Ief83f68317e466db176f09ebc38f7d738fe02e1e
2015-01-20Merge branch 'lollipop-x86' of ↵Geoff Mendal
http://git.android-x86.org/platform/hardware/drm_gralloc Bug: 18959563
2015-01-20fix building issues of 64-bit targetsChih-Wei Huang
Just change the 'data' field of gralloc_drm_handle_t to be a pointer to struct gralloc_drm_bo_t. Fix some warnings as well.
2015-01-20enable multiarch buildsChih-Wei Huang
Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH to support 64-bit targets.
2015-01-16Initial empty repositoryGeoff Mendal
2014-05-19radeon: fix tiling config for family older than 06xxpstglia
2013-09-25get rid of HAL pixelformats 5551 and 4444Chih-Wei Huang
2013-08-04radeon: update chipinfo and remove outdated headersChih-Wei Huang
Copied radeon.h (radeon_probe.h) and radeon_chipinfo_gen.h from master branch of http://cgit.freedesktop.org/xorg/driver/xf86-video-ati
2013-07-22r600g: fix building errors with the latest mesaChih-Wei Huang
2013-07-17gralloc_drm_intel: fix i915 issues: failed to exec batchChih-Wei Huang
Old i915 doesn't have I915_EXEC_BLT bit. Only set the bit if it's available.
2013-07-17allow to force graphics modeSomebody
This patch adds in a system property "debug.drm.mode.force", which works *similarly* to "debug.drm.mode". XRESxYRES[@REFRESHRATE].
2013-07-17TEMP HACK: make non-standalone surfaceflinger workChih-Wei Huang
2013-07-17change hal name to gralloc.drmChih-Wei Huang
2013-06-12Fix refcounting of mapped bo'sAndy Ross
Buffer objects created locally by gralloc_drm_bo_create() would have their refcount properly initialized to 1, but those received from other processes via the drv alloc function would be left at zero, so the delete check in gralloc_drm_bo_decref() would not destroy them as the refcount would wrap negative. The buffer would then leak forever until the mapping process (often surfaceflinger!) exitted. Issue: AXIA-2991 Change-Id: I1a0c73b21cfbc67b441970002fd71712112e1871 Signed-off-by: Andy Ross <andy.ross@windriver.com>
2013-05-21gralloc: map HAL format RGBX_8888 to drm format XBGR8888Tapani Pälli
currently we end up creating framebuffers with wrong format for RGBX users and set_plane with these would show wrong colors, one example is the menu screen of the glb27 application. Change-Id: Ifa051a4c5e9f39a6427ae2864ac06955cb48ad2b Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2013-05-13gralloc: provide methods for hwc to change handle of a planeTapani Pälli
Patch changes reserve_plane to get id number as additional parameter. This can be used by hwc to make changes to a particular plane. New api hwc_set_plane_handle is introduced so that hwc can change the buffer handle of a plane, this is required because after plane has been reserved for a particular ui layer, this handle can change as the layer is typically multibuffered. Change-Id: I32d711ff3565ae9e8f5b8a6691c22b03a50cefe7 Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2013-05-09Merge "gralloc: check possible crtcs of plane against primary output"Matthew K Gumbel
2013-05-09Merge "gralloc: Remove localized hw specific pixel format"Andrew P Boie
2013-05-07gralloc: check possible crtcs of plane against primary outputTapani Pälli
Current implementation supports planes only with primary output, patch adds a check to guard this. Change-Id: I537858122a4fe77a374031d11339eaaea27ad9bf Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
2013-05-03gralloc: cleanup, use ALIGN macroTapani Pälli
Change-Id: I029aafe5a99393a4c0f7ff87f422317621fada12 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2013-05-03add ilo to intel_driversChia-I Wu
It is a new Gallium-based driver for Intel GEN6+. Change-Id: I8a73b6f276d4cc3d38427c2725d63710512bff32 Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2013-05-01gralloc: Remove localized hw specific pixel formatSean V Kelley
Reduces need to build with drm_gralloc headers elsewhere in tree. Returning to system/graphics.h approach. Change-Id: I26717cfe0a9a83ab263c26803e2849eb55560696 Depends-Change-Id: I405398b172fab19949fef33c89a60132b1bd0ea9 Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
2013-04-15gralloc: plane supportTapani Pälli
patch introduces API between hwcomposer and gralloc, hwcomposer can reserve an overlay plane to be used by a particular layer in prepare hook, drmModeSetPlane for each plane gets called later when post() gets called by the eglSwapBuffers (from hwcomposer set), this can be later changed to use atomic modesetting code and drm properties to make one 'atomic flip' for graphics + planes. Change-Id: I3b7d179b285e43eb19fdc3b4c7ce093f3ba6aade Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2013-04-11gralloc_drm: fix building errors with latest mesaChih-Wei Huang
Change-Id: Ifdf23b59542152c364d3ed010a4cc82bbf1a0103 Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
2013-03-01gralloc: use proper mode for hdmi outputTapani Pälli
Patch uses the best mode available on hdmi output and creates a private buffer that is used for pageflipping. Primary display content is copied to private buffer on each page flip. This patch removes current hack where same mode is assumed from hdmi output, this caused graphical artifacts with some tv's. Also some more debug output is added. Change-Id: Ic862a8374f46992f0ff92545da8a010f9684b934 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2013-03-01gralloc: change copy api and fix copy function for intelTapani Pälli
Patch extends current copy api, renames it blit and introduces src+dst coordinates to be able to implement partial blits and blits with offsets. Implementation must take care of hw specific restrictions with blits. Patch also fixes issues with the current intel_blit function. Current implementation does not select ring buffer and ends up queuing blit commands to the render ring. Patch starts to use drm_intel_bo_mrb_exec to be able to select blit ring and fixes the checks inside copy function. Change-Id: I05905e0b9c48fc2a55230212b676bfb8813a2b55 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2013-02-18move drm_module_t to a hal private headerTapani Pälli
this way it can be accessed by hwcomposer module, which will be required to implement jellybean mr1 hooks. Change-Id: I68872243c30aee2d0eb76f38fe54efdea4862a66 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
2013-02-04Merge "gralloc_drm_bo_lock: add special usage for GRALLOC_USAGE_HW_TEXTURE"Andrew P Boie
2013-01-21gralloc: set supported planes for buffers on allocationTapani Pälli
This is done so that we should not have to do it dynamically during composition. This information will be used later with hwcomposer module when using planes for composition. Change-Id: I2b6716fe9a8da81050645900c6c0955385946991 Signed-off-by: Tapani Pälli <tapani.palli@intel.com>