Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-minigbm: Listed des commits

external/minigbm


RSS
Révision l'heure Auteur
8e6bf6a pie-x86_intel 2020-05-10 20:24:06 Mauro Rossi

gralloc0_register_buffer: initialize gralloc0 when needed

Based on Michael Goffioul "Always initialize gralloc0 module"
considerign that !mod->initialized defines the condition when it's needed.

Original commit message:
Both mapper and allocator HIDL adapter uses the same gralloc module, but
the mapper HILD does not fully initialize the module, leaving the
allocator HIDL in limbo if the mapper HIDL is called first.

Fixes SystemUI crash on startup.

675876b 2019-06-10 07:30:52 Mauro Rossi

use BOARD_USES_MINIGBM_INTEL variable

BOARD_USES_MINIGBM_INTEL is used instead of BOARD_USES_MINIGBM
This will allow to avoid enabling BOARD_USES_MINIGBM in BoardConfig.mk
in this way drm_hwcomposer and drmfb-composer will built for gbm_gralloc
and not use minigbm, which is not working as well as gbm_gralloc

4273870 2019-04-29 05:07:02 Mauro Rossi

DO NOT MERGE: rename module to gralloc.intel

In order to build intel minigbm separately from chromeos minigbm (master branch)

6c315f6 2019-04-29 05:06:56 Mauro Rossi

amdgpu: fix redefinition building errors

Fixes the following building errors:

In file included from external/minigbm/amdgpu.c:16:
In file included from external/minigbm/dri.h:13:
external/mesa/include/GL/internal/dri_interface.h:46:22:
error: redefinition of typedef 'drm_context_t' is a C11 feature [-Werror,-Wtypedef-redefinition]
typedef unsigned int drm_context_t;
^
external/libdrm/include/drm/drm.h:77:22: note: previous definition is here
typedef unsigned int drm_context_t;
^

590c04a 2019-04-29 05:06:47 Mauro Rossi

gralloc0: include errno.h

Fixes the following building error:

external/minigbm_intel/cros_gralloc/gralloc0/gralloc0.cc:123:11:
error: use of undeclared identifier 'EINVAL'
return -EINVAL;
^

09730d8 2018-12-15 16:05:35 Alexey Dulaev

Mitigate GRALLOC1_PFN_LOCK_FLEX multithread issue.

lockFlex fills outFlexLayout->planes with pointer to global variable
ycbcrplanes, doesn't work from multiple threads.
Workaround: change the variable to thread_local.

Jira: OAM-70143, MDP-51191
Test: check memory regions mapped from different threads don't overlap

8768f8c 2018-12-10 12:04:55 Lin Johnson

Yf tiled and Yf tiled CCS should be set Y Tile

Otherwise it will cause sramble sceen issues in Android

Jira: None
Tests: Android UI/Video playback
Signed-off-by: Lin Johnson <johnson.lin@intel.com>

98856ea 2018-11-06 15:58:38 HeYue

Fix the ACRN Invalid Reference error in buffer release.

Use multi method to allocate the release buffer

Jira: https://jira01.devtools.intel.com/browse/OAM-71272
Tests: Do not have invalid reference error and DUT without other issue.
Signed-off-by: HeYue <yue.he@intel.com>

f74457a 2018-10-19 11:04:45 Lin Johnson

Revert "Fix GRALLOC1_PFN_LOCK_FLEX multithread issue."
for it is causing android.view.cts.SurfaceViewSyncTest
regressions

Jira: https://jira01.devtools.intel.com/browse/OAM-70143

This reverts commit c6971682cf6d8fed5f6d69b3c3c6c194ac7fdf69.

ef696f5 2018-10-16 12:19:26 renchenglei

Don't advertise BGR24 as a render/texture target

Mesa drivers can't use it, in general. This patch could
fix following CTS case:
SingleLayer_ColorTest_GpuColorOutputAndSampledImage_R8G8B8_UNORM
SingleLayer_ColorTest_GpuColorOutputCpuRead_R8G8B8_UNORM
SingleLayer_ColorTest_GpuColorOutputIsRenderable_R8G8B8_UNORM
SingleLayer_ColorTest_GpuSampledImageCanBeSampled_R8G8B8_UNORM

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-70130

6560d7e 2018-10-16 11:32:51 renchenglei

Remove 32bit RGB format support

HAL_PIXEL_FORMAT_RGBA_1010102 is added to fix CTS issue
android.hardware.cts.HardwareBufferTest#testCreate. In fact,
GL extensions should not be uesd to query for wide-gamut
support. As google has removed RGBA 10:10:10:2 format check
and HAL_PIXEL_FORMAT_RGBA_1010102 patch also cause other CTS
regression, let's remove it here.

Following case could pass with this patch
SingleLayer_ColorTest_GpuSampledImageCanBeSampled_R10G10B10A2_UNORM

CTS test case remove RGBA 10:10:10:2 format check
https://android-review.googlesource.com/c/platform/cts/+/733623

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-70128

c697168 2018-10-16 09:43:27 Alexey Dulaev

Fix GRALLOC1_PFN_LOCK_FLEX multithread issue.

lockFlex fills outFlexLayout->planes with pointer to global variable,
doesn't work from multiple threads.
Solution: rely that caller allocates needed planes structures,
just use them for output.

gralloc1.h about GRALLOC1_PFN_GET_NUM_FLEX_PLANES:
This may be used to efficiently allocate only as many plane structures as necessary before calling into lockFlex.
It means that lockFlex caller is responsible for outFlexLayout->planes allocation.

It also demand fix in GRALLOC1_PFN_GET_NUM_FLEX_PLANES:
should return 3 for HAL_PIXEL_FORMAT_NV12_TILED_INTEL.

Jira: None
Test: check memory regions mapped from different threads don't overlap

04ebd80 2018-10-12 14:36:10 renchenglei

Revert "Added Support for 64bit RGB format"
This reverts commit 47bd806579dd
The Android framework uses successful allocation of
HAL_PIXEL_FORMAT_RGBA_FP16 to test for wide-gamut capabilities.
We don't want to advertise this, so let's revert.

This revert won't cause regression on CTS test case
android.hardware.cts.HardwareBufferTest#testCreate

android.graphics.cts.BitmapColorSpaceTest#test16bitHardware
can pass if the framework falls back to RGBA8888, as is the plan.

Jira: https://jira01.devtools.intel.com/browse/OAM-68897
Tests: test16bitHardware and testCreate both pass

7d0f3f1 2018-09-14 15:38:35 Lin Johnson

Revert "Use drm gem acess userdata IOCTL for set/get interlace"

This reverts commit b3f47fbc17eb33a85ce6f0796dfa3a6d0df13cfe.

b3f47fb 2018-09-05 15:43:24 Lin Johnson

Use drm gem acess userdata IOCTL for set/get interlace
and it is potential beneficial for other IPC

Jira: None
Tests:Interlaced video playback
Signed-off-by: Lin Johnson <johnson.lin@intel.com>

aee0281 2018-07-27 14:21:41 Lin Johnson

Gralloc: Add setInterlace and setProtectionInfo function
SetInterface is used by MSDK for the interalce info of the buffer
SetProtectionInfo is used by MSDK for protection info for the buffer
union type added for protection info

Jira: None
Test: Compile pass on Android

5f3edb7 2018-07-20 15:18:11 Lin Johnson

Add support of Yf tile

Yf Tile is not required to set Y tile
but it has its dimension alignment requirements

Jira: None
Test: Yf tile can be allocate and fb generated

2ab6594 2018-06-11 10:38:59 JSLin


Merge pull request #60 from jennycao/jennycao/update-for-compile-warning

update for avoid compile warning

65e4826 2018-05-18 10:50:32 Kevin Strasser

Drop unused variable

outReleaseFence is never used, just drop it.

Jira: GSE-1597
Test: Build and boot on Android

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>

04c9d7b 2018-05-18 10:50:21 Kevin Strasser

Close fd if we aren't going to use it

File descriptors are left open and forgotten.
Make sure to clean up fds after use.

Jira: GSE-1595
Test: Build and boot on Android

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>

5d01fe5 2018-05-18 10:44:15 Badiuzzaman Iskhandar

Add getPrime API to support media

Jira: https://jira01.devtools.intel.com/browse/OAM-62657
Tests: None
Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@intel.com>

66f68fd 2018-05-18 10:42:08 Mingwei Wang

Fix build.

This is caused by strick checking of compiler.

Jira: None.
Test: Build passes on Android.

Signed-off-by: Mingwei Wang <mingwei.wang@intel.com>
Signed-off-by: Randy Xu <randy.xu@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>
Signed-off-by: Chen, Yu <yu.y.chen@intel.com>

84cdd67 2018-05-17 16:07:01 Kalyan Kondapally

Add fourcc defines.

This removes need to carry extra patches in libdrm side.

Jira: None.
Test: Build passes on Android and Linux.

Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>

b215841 2018-04-03 16:37:03 jenny.q.cao

update for avoid compile warning

update for avoid compile warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]

Jira: https://jira01.devtools.intel.com/browse/GSE-1141
Tests:compile on Android IVI
Signed-off-by: Cao Jenny <jenny.q.cao@intel.com>

4dd7f82 2018-04-03 13:15:33 Lin Johnson

Add RGB565 with Camera Usage

New Android Cammera API require it

Jira: https://jira01.devtools.intel.com/browse/OAM-52077
Tests: None
Signed-off-by: Lin Johnson <johnson.lin@intel.com>

e7a0449 2018-03-02 12:53:07 Kishore Kadiyala

Add getByteStride to support Media

Jira: https://jira01.devtools.intel.com/browse/OAM-58889
Signed-off-by: Kishore Kadiyala <kishore.kadiyala@intel.com>

9441a03 2018-03-02 12:39:42 pyn1

Add Support for 32bit RGB format

i.e. To add support for HAL_PIXEL_FORMAT_RGBA_1010102

Jira: https://jira01.devtools.intel.com/browse/OAM-58928
Tests: Test Passes for the intended format
Signed-off-by: Poornima <poornima.y.n@intel.com>

85a1578 2018-02-01 17:56:05 Kalyan Kondapally

Revert "Revert "Add support to query tiling mode.""

This reverts commit 7b767e105fa63154c19cb92f16f3b447ebb485ee.

40bfb2c 2018-01-23 17:38:57 Yuanjun Huang

minigbm/i915: Add support for I915_FORMAT_MOD_Y_TILED_CCS.

This adds support for allocating buffers with the
I915_FORMAT_MOD_Y_TILED_CCS modifier, which enables Intels render
buffer compression.

Jira: https://jira01.devtools.intel.com/browse/AREQ-23273
Test: Build passes and validates with hwcomposer testlayer APP.
Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>

9dea0f8 2018-01-23 14:25:07 Tomasz Figa

Upstream: minigbm: i915: Use NV12 as the main YUV format, including camera output

On SKL and newer, the display controller supports NV12 natively for
overlays. Moreover it's the only output format supported by the camera
subsystem. Since it shouldn't matter for other uses cases if we use NV12
or YVU420, let's just switch everything to NV12 for simplicity.

BUG=b:32077885
TEST=Play a video in Android YouTube app on Cyan and Reef

Change-Id: I5cfcdec2b0e2020a3ae1e8364b60df3585838807
Reviewed-on: https://chromium-review.googlesource.com/544489
Commit-Ready: Owen Lin <owenlin@chromium.org>
Tested-by: Owen Lin <owenlin@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>

Afficher sur ancien navigateur de dépôt.