Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Debugging #95

Open
wants to merge 327 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
3fbaca6
Allow minigbm gralloc to coexist with board gralloc.
Jul 13, 2018
ff234ae
Allow minigbm gralloc to coexist with board gralloc.
Jul 13, 2018
386c14a
Allow minigbm gralloc to coexist with board gralloc. am: 3fbaca6783
Jul 13, 2018
216399a
Allow minigbm gralloc to coexist with board gralloc. am: 3fbaca6783 a…
Jul 13, 2018
faeb009
minigbm: Opening new fd for dri backend
Aug 7, 2018
79205a5
minigbm: align minigbm functions names with upstream libgbm
msisov Aug 3, 2018
ff1ecaf
minigbm: fixup! align minigbm functions names with upstream libgbm
msisov Aug 10, 2018
af94db9
minigbm: adjust height of NV12 buffer in helper
keiichiw Aug 6, 2018
a13dda7
minigbm: support NV12 in virtio_gpu
keiichiw Aug 2, 2018
79155d7
minigbm: run clang-format
keiichiw Aug 13, 2018
d706a8c
minigbm: move height adjustments to helper function
keiichiw Aug 13, 2018
571a687
minigbm/i915.c: Android's HAL_PIXEL_FORMAT_BLOB is not tilable if BO_…
rosetta-jpn Aug 15, 2018
b131c9d
minigbm: msm: add supported formats
gurchetansingh Aug 28, 2018
500928f
minigbm: mediatek: wait for outstanding operations when invalidating
Aug 28, 2018
a72f442
minigbm: mediatek: always provide munmap() with a valid address
Sep 12, 2018
2b1d689
minigbm: run clang-format
gurchetansingh Sep 17, 2018
2fdb721
minigbm: delete unused functions and definitions
gurchetansingh Sep 18, 2018
86ddfdc
minigbm: use drv_add_combination when adding a single combination
gurchetansingh Sep 18, 2018
71bc665
minigbm: don't advertise BGR24 as a render/texture target
gurchetansingh Sep 18, 2018
617ee71
minigbm: minimal buffer allocation support using msm gem ioctls
Jul 11, 2018
ee98f4e
minigbm: align width so that stride aligns to 256
Oct 4, 2018
11161ac
minigbm: add MINIGBM define.
msisov Oct 16, 2018
39eb951
minigbm: i915: Do not use I915_MMAP_WC for camera buffers
tom3q Oct 31, 2018
d7630cd
amdgpu: fix misplaced code block
gurchetansingh Oct 26, 2018
74e4893
amdgpu: Don't use AMDGPU_GEM_CREATE_EXPLICIT_SYNC flag.
Nov 9, 2018
ff66c80
amdgpu: use amdgpu_gem_wait_idle_ioctl to wait for GPU to finish.
Nov 16, 2018
bc667c3
minigbm: define GBM_BO_IMPORT_FD_MODIFIER
msisov Oct 10, 2018
400e928
Revert "minigbm: define GBM_BO_IMPORT_FD_MODIFIER"
Dec 10, 2018
c65bd8c
minigbm: msm: Add platform specific alignment for NV12 linear format
Nov 21, 2018
90f8bb0
minigbm: Fix some clang-format issues
tom3q Dec 2, 2018
067594b
minigbm: msm: Add modifier for tiled buffer allocation
Nov 26, 2018
eea88fa
minigbm:amdgpu: align stride to 256
Jan 31, 2019
4fe3038
Reland "minigbm: define GBM_BO_IMPORT_FD_MODIFIER"
msisov Jan 7, 2019
cc35e69
minigbm: i915: align to page size always
gurchetansingh Feb 28, 2019
9521a60
Convert external/minigbm to Android.bp
colincross Mar 22, 2019
6ac299f
minigbm: Fix consistency in return values
marcheu Mar 21, 2019
5a5d91c
Convert external/minigbm to Android.bp
colincross Mar 27, 2019
1649282
Convert external/minigbm to Android.bp am: 9521a60253
colincross Mar 27, 2019
84729b4
Convert external/minigbm to Android.bp am: 9521a60253 am: 5a5d91c739
colincross Mar 27, 2019
5d21524
amdgpu: Add ABGR8888 for scanout
ddavenport-chromium Mar 25, 2019
abd6c0d
Merge master@5428150 into git_qt-dev.
Apr 2, 2019
1b9b5b9
minigbm: mediatek: Implement bo_create_with_modifiers
fritzk Mar 19, 2019
2ebe94b
Merge master@5428150 into git_qt-dev-plus-aosp.
Apr 2, 2019
99e3b93
Merge master@5428150 into git_qt-dev.
Apr 3, 2019
5e0d361
Merge master@5428150 into git_qt-dev-plus-aosp.
Apr 3, 2019
c34b659
Merge master@5428150 into git_qt-dev. am: abd6c0d172
Apr 4, 2019
a0ef1d2
Snap for 5434517 from 5e0d361585bd284baa224dc54f24e8bfb54db6bc to rvc…
Apr 4, 2019
582bdbf
amdgpu: Add ABGR8888 using non-linear tiling too.
Apr 3, 2019
24be78a
Snap for 5443283 from c34b6591155343fc9e23f1c6af03d0be380c4c92 to rvc…
Apr 6, 2019
5ff0cfd
minigbm: msm: Silence printf warning on 64-bit build
bebarino Apr 9, 2019
8894cf7
Modify gralloc0 implementation
Apr 25, 2019
dbab083
minigbm: virgl: Map BO_USE_SCANOUT to VIRGL_BIND_SCANOUT
Apr 19, 2019
055a6aa
Add support for DRM_FORMAT_P010
yell0wd0g Apr 30, 2019
cef328d
Modify gralloc0 implementation
May 6, 2019
321b292
Modify gralloc0 implementation am: 8894cf7256
May 6, 2019
362cd5d
Snap for 5537253 from 321b292511423311a14b0e40a1406f8d5f7ff44b to rvc…
May 7, 2019
01c4014
minigbm: Add formats support for MT8183 camera
Oct 8, 2018
490ba38
Add dri.c to the MINIGBM_SRC list
RyuzakiKK May 28, 2019
39490e9
minigbm: run presubmit.sh and add OWNERS file
gurchetansingh May 29, 2019
2efa6b9
minigbm: virtio-gpu: remove NV12 as texture source format
gurchetansingh Jun 6, 2019
1cbcbfd
minigbm: fix uninitialized variable error
RyuzakiKK May 29, 2019
d0dceb4
Update OWNERS for my new LDAP
adelva1984 Jun 26, 2019
9f8fe2b
Update OWNERS for my new LDAP
adelva1984 Jun 27, 2019
6c13d06
Update OWNERS for my new LDAP am: d0dceb46dd
adelva1984 Jun 27, 2019
6a3267b
Update OWNERS for my new LDAP am: d0dceb46dd am: 9f8fe2bbe0
adelva1984 Jun 27, 2019
82a82b9
Update OWNERS for my new LDAP am: d0dceb46dd am: 9f8fe2bbe0 am: 6c13d…
adelva1984 Jun 27, 2019
ec70330
Snap for 5694677 from 82a82b99ef98180c16f3b567e92e9ce8585a12a5 to rvc…
Jun 28, 2019
c960fac
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into s…
delphij Jul 1, 2019
09c0257
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5699924) into s…
delphij Jul 2, 2019
f1a9818
[automerger skipped] DO NOT MERGE - Merge qt-dev-plus-aosp-without-ve…
delphij Jul 2, 2019
5959833
minigbm: fix subsampling issue
gsingh408 Jun 28, 2019
51e785f
minigbm: update virgl_hw.h
gurchetansingh Jun 5, 2019
0d44d48
minigbm: modify resolve format hooks a bit
gurchetansingh Jun 5, 2019
f5d280d
minigbm: virtio-gpu: use NV12 as flexible media format
gurchetansingh Jun 5, 2019
6b918a7
Snap for 5706589 from f1a9818ab2d1f26772b26e0d3c2eda2943022183 to rvc…
Jul 4, 2019
5cbb165
Revert "minigbm: virtio-gpu: remove NV12 as texture source format"
tom3q Jul 4, 2019
769de64
Change Assert to Check and return NULL
Jul 9, 2019
3f3e5f9
minigbm: Reland "minigbm: virtio-gpu: remove NV12 as texture source f…
gsingh408 Jul 8, 2019
6acf248
Fix potential uninitialized read
ghartman17022 Jul 17, 2019
1c4a1cf
Fix potential uninitialized read
ghartman17022 Jul 18, 2019
a4ec2bb
Fix potential uninitialized read am: 6acf248c84
ghartman17022 Jul 18, 2019
f003a0f
Fix potential uninitialized read am: 6acf248c84 am: 1c4a1cf7e4
ghartman17022 Jul 18, 2019
cfe239c
Fix potential uninitialized read am: 6acf248c84 am: 1c4a1cf7e4 am: a4…
ghartman17022 Jul 18, 2019
b75efb6
minigbm: i915: Add support for AR30 DRM_FORMAT_ARGB2101010.
May 28, 2019
cdb2554
minigbm: enable BO_USE_HW_VIDEO_DECODER for P010
yell0wd0g Jul 18, 2019
6399f93
Snap for 5743256 from cfe239ca7c9a6a2a8aa30f7c7fa92a043cc76b86 to rvc…
Jul 21, 2019
4a0fecf
Fix potential uninitialed read
ghartman17022 Jul 17, 2019
a086897
minigbm/i915: Add support for I915_FORMAT_MOD_Y_TILED_CCS
Jul 25, 2019
62a7f2e
minigbm: clang format
gurchetansingh Jul 26, 2019
f659eb7
minigbm: cros_gralloc: fix fd leaks
gurchetansingh Jul 27, 2019
5dc63fa
amdgpu: Enable to allocate YVU420 buffer with BO_USE_TEXTURE_MASK flag
rosetta-jpn Jul 31, 2019
b892a8f
rockchip: Fix the size computation with NV12 buffer
rosetta-jpn Aug 1, 2019
0f0ce6f
mediatek: Add NV12 format for output frame in HW decoder
rosetta-jpn Jul 24, 2019
3b8d4d0
Add GBM_BO_USE_HW_VIDEO_ENCODER use flag
rosetta-jpn Jul 31, 2019
9f7897f
minigbm: virtio_gpu: Add camera usage to all NV12 combinations
dgstevens Aug 9, 2019
782fae0
Revert "minigbm/i915: Add support for I915_FORMAT_MOD_Y_TILED_CCS"
Aug 21, 2019
3d85602
mediatek: Change android flexible format to allocate YVU420 buffer
rosetta-jpn Aug 23, 2019
d7c8338
mediatek/rockchip: Use PRIu64 to print uint64_t variables
drinkcat Aug 29, 2019
03d46b8
DO NOT MERGE - Merge Android 10 into master
delphij Sep 4, 2019
8e859c3
[automerger skipped] DO NOT MERGE - Merge Android 10 into master
delphij Sep 5, 2019
8a1667b
[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: …
delphij Sep 5, 2019
4b8c5e4
[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: …
delphij Sep 5, 2019
2699868
[automerger skipped] DO NOT MERGE - Merge Android 10 into master am: …
delphij Sep 5, 2019
5a26332
Snap for 5860386 from 26998687ba8d1fdfe28e616555f54b78f577d898 to rvc…
Sep 7, 2019
513558d
Merge qt-r1-dev-plus-aosp-without-vendor (5817612) into stage-aosp-ma…
delphij Sep 8, 2019
0484cc4
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (581761…
delphij Sep 8, 2019
80aeabe
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (581761…
delphij Sep 8, 2019
f724604
[automerger skipped] Merge qt-r1-dev-plus-aosp-without-vendor (581761…
delphij Sep 8, 2019
cd660ce
Snap for 5864382 from f724604a607e40c32c3960ec4a264081093039b8 to rvc…
Sep 10, 2019
b80c6b9
rockchip: Don't align height in NV12 format
rosetta-jpn Aug 30, 2019
d97877b
minigbm: virtio-gpu: Allocate one buffer even for multi plane format
Jun 14, 2019
d014ed5
minigbm: remove vgem backend
gurchetansingh Jun 4, 2019
05e67cc
minigbm: virtio-gpu: stride == level
gsingh408 Jun 29, 2019
586e2d6
minigbm: Add support for RGBA_1010102 and RGBA_FP16
nvdeshpande Aug 21, 2019
5b91ec0
Revert "minigbm: remove vgem backend"
Sep 19, 2019
dc9b120
minigbm: rockchip/mediatek: remove R8 as texture source on Mali/Bifrost
gurchetansingh Jun 4, 2019
6116b31
minigbm: cros_gralloc: handle video decoder flag
Sep 3, 2019
298b757
minigbm: factor out metadata from struct bo
gurchetansingh Sep 19, 2019
48b4c08
minigbm: fix flags to align with GBM
gurchetansingh Sep 14, 2019
3567470
minigbm: modify OWNERS
gurchetansingh Sep 24, 2019
86e72a4
mediatek: Fix the metadata for R8
Sep 24, 2019
55a6cf9
minigbm: virtio-gpu: pass more bind flags
Sep 3, 2019
c062c3b
minigbm: allocate YV12 according to Android requirements
gsingh408 Jun 21, 2019
6ad6382
mediatek: provide NV12 buffers for video decoding for MT8183
Gnurou Oct 1, 2019
2c783af
minigbm: modify gbm.pc
gurchetansingh Sep 24, 2019
793675a
minigbm: i915: fix planar height alignment
Sep 25, 2019
8312ec2
minigbm: rockchip/mediatek: add PROTECTED flag back in
gurchetansingh Sep 24, 2019
4d5358d
minigbm: virtio-gpu: bo_invalidate fixes
Oct 24, 2019
30f6c76
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stag…
delphij Oct 30, 2019
d78d3b2
DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stag…
delphij Oct 30, 2019
76ad2b6
[automerger skipped] DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-ven…
delphij Oct 30, 2019
1edffce
Snap for 5978242 from 76ad2b60e0dcfd9db25c5829d98c23e0e40ebbc1 to rvc…
Oct 31, 2019
0907d82
Make drv_mapping_destroy() be called in release builds
jmacnak Nov 12, 2019
37be436
minigbm: virtio_gpu: add NV12 back as texture source format
Nov 9, 2019
5e55f95
gralloc0: Add BO_USE_HW_VIDEO_ENCODER mask in GRALLOC_USAGE_HW_VIDEO_…
rosetta-jpn Nov 8, 2019
5548540
i915: allow allocating AR30/AB30 for scanout
yell0wd0g Nov 19, 2019
aa6b072
Enable to allocate XBGR8888 with HW_VIDEO_ENCODER usage
rosetta-jpn Nov 25, 2019
b6c4cf7
Revert "Enable to allocate XBGR8888 with HW_VIDEO_ENCODER usage"
rosetta-jpn Dec 3, 2019
758cf12
gralloc0: Unmask HW_VIDEO_ENCODER usage in the case of non-YUV formats
rosetta-jpn Dec 3, 2019
c7aa974
Add MediaTek private format for reprocessing
lnishan Aug 14, 2019
9a9672f
minigbm: dri: Don't redefine GL typedefs
ddavenport-chromium Nov 12, 2019
20e4a93
virtio_gpu: Add HW_VIDEO_ENCODER usage flags to NV12
rosetta-jpn Dec 6, 2019
6e6dc49
minigbm: virtio: restrict formats supported without 3D
crdbehr Oct 9, 2019
2a2bfc2
mediatek: Allocate a buffer expected by encoder if BO_USE_HW_VIDEO_EN…
rosetta-jpn Oct 11, 2019
059ac08
mediatek: Align height to 16 bytes for NV12
Oct 2, 2019
e5c3fdf
msm: Add scanout support for UBWC RGB8888
fritzk Dec 11, 2019
9982421
minigbm: align BO_USE flags with GBM flags
Dec 25, 2019
555ed29
minigbm: gbm.h sync gbm header
gurchetansingh Dec 6, 2019
e32ec0b
minigbm: gbm.h: organize our downstream patches
gurchetansingh Dec 6, 2019
1cfdc31
minigbm: implement new functions
gurchetansingh Dec 6, 2019
064a36b
minigbm: add gbm_bo_map2
gurchetansingh Dec 12, 2019
785a548
rockchip: align height in NV12 format
rosetta-jpn Jan 14, 2020
cf9ed9d
amdgpu: make libdir work on stock Linux
gurchetansingh Dec 13, 2019
706cd46
minigbm: Remove deprecated methods.
msisov Mar 6, 2019
9d20b9e
minigbm: i915: get rid of tileable texture formats
gurchetansingh Dec 19, 2019
fbfb338
Remove level=stride hack in virtio_gpu_bo_invalidate
Jan 17, 2020
d441f4e
minigbm: Reformat with clang-format.
dancerj Jan 29, 2020
12d0078
cros_gralloc: Use entire graphics buffer if all-zeros access region i…
matthias-springer Feb 3, 2020
c956564
minigbm/i915: Add support for I915_FORMAT_MOD_Y_TILED_CCS
Feb 7, 2020
6f26690
minigbm: Disable UBWC for texture formats
Narflex Feb 14, 2020
7119d33
minigbm: Set modifiers for amdgpu/dri.
Feb 7, 2020
0254a66
minigbm: i915: remove KMS query
gurchetansingh Dec 17, 2019
c87a6d3
minigbm: rockchip: remove KMS dependency
gurchetansingh Dec 19, 2019
28e5ea0
minigbm: remove KMS dependency
gurchetansingh Dec 19, 2019
ddf4ec0
minigbm: virtio-gpu: check format support when adding combinations
jmacnak Feb 4, 2020
f11f1df
msm: add camera use flags for NV12 and R8
Feb 13, 2020
a6a9efc
msm: Don't height align R8, height 1 buffers used for camera output
Narflex Feb 21, 2020
b0787a9
Revert "minigbm: i915: remove KMS query"
Feb 26, 2020
f39dcbc
Reland "minigbm: i915: remove KMS query"
Feb 26, 2020
e3cd0d3
minigbm/msm: Add NV12 format for Android flex allocation
Narflex Feb 25, 2020
baab6c8
minigbm: virtio-gpu: wait for transfers when necessary
Feb 26, 2020
eebce65
minigbm: virtio: Advertise BO_USE_SCANOUT correctly.
Feb 26, 2020
afb2c56
minigbm/msm: Update msm for removal of kms_query
Narflex Mar 2, 2020
f0e607c
minigbm: introduce test allocation
Dec 25, 2019
c5352e6
minigbm: vc4: add create_with_modifiers function
gurchetansingh Feb 22, 2020
24cb462
Merge 'aosp/upstream-master' into 'aosp/master'
jmacnak Mar 5, 2020
08d8dbf
Revert "minigbm: introduce test allocation"
Mar 8, 2020
26fe682
Reland "minigbm: introduce test allocation"
Mar 9, 2020
44588bb
minigbm: dri: Support 2+ planes query for modifiers.
Mar 2, 2020
9b367b3
minigbm: dri,amdgpu: Modifier support.
Mar 2, 2020
cfcea2f
arc-cros-gralloc: amdgpu: Use DRI_PATH to load radeonsi
Mar 4, 2020
51990ce
minigbm: virtio: check caps available before disabling formats
jmacnak Mar 13, 2020
912c4c3
minigbm: dri: Set the plane sizes on bo creation.
Mar 13, 2020
ddb56b5
mediatek: get prime fd with drv_bo_get_plane_fd
Mar 13, 2020
827b8c2
minigbm: virtio: check caps version before disabling formats
jmacnak Mar 13, 2020
8d88474
minigbm: run presubmit.sh, modify OWNERs
gurchetansingh Mar 24, 2020
c2ad3d7
Add more scanout formats to meson driver
Mar 24, 2020
6124269
Remove redundant NOTICE copied from LICENSE.
bbadour Mar 26, 2020
8f708a1
minigbm: add synaptics gbm driver
Mar 19, 2020
1914f98
minigbm: mediatek: fix SCANOUT flag
gurchetansingh Mar 24, 2020
69bc430
drm/virtgpu: add header
gurchetansingh Feb 6, 2020
bc4f023
minigbm: add resource_info callback for virtio-gpu
gsingh408 Jun 28, 2019
d708f61
minigbm: virtgpu: refactor virtgpu features
gurchetansingh Sep 13, 2019
4eebcea
amdgpu: make AMDGPU_GEM_CREATE_CPU_GTT_USWC flag default
Mar 31, 2020
5481e3c
Revert "amdgpu: make AMDGPU_GEM_CREATE_CPU_GTT_USWC flag default"
Apr 10, 2020
2b1ee85
Remove i915_FORMAT_MOD_Y_TILED_CCS from modifier_order
Apr 17, 2020
b250420
Sort OWNERS and add ihf.
Apr 17, 2020
d2c2843
amdgpu: Set USWC for SCANOUT images.
Apr 6, 2020
659719a
minigbm: synaptics: add texture source format support
Apr 14, 2020
91d3697
Revert "amdgpu: Set USWC for SCANOUT images."
Apr 27, 2020
778e21d
Fix YV12 dumb buffer plane sizes
jmacnak Apr 28, 2020
3c53003
Merge 'goog/mirror-aosp-master' into 'goog/rvc-dev'
jmacnak May 6, 2020
6c504b8
Snap for 6469672 from 3c53003fca19ccb70b0275059bb583b095780f8c to rvc…
May 7, 2020
b03fc14
minigbm: virtio_gpu: add BO_USE_HW_VIDEO_DECODER usage to R8 format.
May 7, 2020
a03926e
minigbm: Fix cast to avoid null pointer arithmetic
jmacnak May 14, 2020
01b2926
Merge 'aosp/upstream-master' into 'aosp/master'
jmacnak May 18, 2020
3d80415
Merge 'goog/mirror-aosp-master' into 'goog/rvc-dev'
jmacnak May 19, 2020
1d184c5
Snap for 6516174 from 3d804156b07dc4124b1235e9a3dcf7305fd665e9 to rvc…
May 21, 2020
1476c7e
gralloc4: adds gralloc4 support
tf-marissaw Jan 24, 2020
3f25655
Snap for 6542686 from 1476c7ea85c1e0334e86ab49b0d7dea59f003e3c to rvc…
May 30, 2020
06d77b4
gralloc: Use YVU420_ANDROID for YCbCr flex
jmacnak Jun 11, 2020
21c2f42
Snap for 6582636 from 06d77b4e7d0b75cc894117ecb63859a2b69c10b5 to rvc…
Jun 12, 2020
5be4e4a
INTERNAL: Rename *.so name in Android.bp
renchenglei Dec 9, 2020
e598e06
INTERNAL: Add Gralloc 1.0 support
renchenglei Dec 9, 2020
c191635
INTERNAL: Add information required for media.
renchenglei Dec 16, 2020
4aade8d
INTERNAL: Add support to easily add new formats
renchenglei Dec 16, 2020
c759269
INTERNAL: Add BO_USAGE_RENDERING to YUYV/VYUY formats
renchenglei Dec 16, 2020
d19e06f
INTERNAL: Add P010 support
renchenglei Dec 17, 2020
7a15f86
INTERNAL: Fix errors after rebase.
renchenglei Dec 10, 2020
f1edc31
INTERNAL: Add API to set Modifier
renchenglei Dec 16, 2020
531f6c1
INTERNAL: Add support to query tiling mode
renchenglei Dec 16, 2020
ee7ce53
INTERNAL: Remove the reject checking for HAL_PIXEL_FORMAT_YCbCr_420_888
renchenglei Dec 16, 2020
61c3593
INTERNAL: Add getByteStride to support Media
renchenglei Dec 16, 2020
dec4fd7
INTERNAL: Fix format_modifiers not found in handle
renchenglei Dec 16, 2020
f5b23f3
INTERNAL: Add fourcc defines
renchenglei Dec 16, 2020
8c213d2
INTERNAL: Add getPrime API to support media
renchenglei Dec 16, 2020
0c5a2aa
INTERNAL: Add setInterlace and setProtectionInfo function
renchenglei Dec 16, 2020
aeb5cf5
INTERNAL: Yf tiled and Yf tiled CCS should be set Y Tile
renchenglei Dec 16, 2020
7ff5a0c
INTERNAL: Mitigate GRALLOC1_PFN_LOCK_FLEX multithread issue
renchenglei Dec 16, 2020
dad3540
INTERNAL: Add mapper 2.1 functions support
renchenglei Dec 16, 2020
4fe7fe7
INTERNAL: Add the flex format check
renchenglei Dec 16, 2020
ed6a8ce
INTERNAL: Fix lockFlex issues
renchenglei Dec 26, 2020
58f2ab1
INTERNAL: Add Intel private video format support
renchenglei Dec 26, 2020
337832b
INTERNAL: Fix non 1080P video green issue on bottom
renchenglei Dec 26, 2020
530ea58
INTERNAL: add more usage flag for DRM_FORMAT_ABGR2101010
dyang23 Dec 30, 2020
8af45a3
INTERNAL: Fix HWC crash issue when playing video on GVT-d
renchenglei Dec 30, 2020
5af42ff
UPSTREAM: Fix PlaneLayout width/height metadata
renchenglei Dec 30, 2020
2722410
INTERNAL: Fix camera preview & record issues
renchenglei Dec 30, 2020
d1a0ac0
INTERNAL: Fix CTS CtsNativeHardwareTestCases failures
renchenglei Jan 4, 2021
60be15c
INTERNAL: Fix CtsGraphicsTestCases failures
renchenglei Jan 4, 2021
12c5aef
INTERNAL: Fix CtsNNAPITestCases failures
renchenglei Jan 12, 2021
13c5c1d
INTERNAL: Fix CtsHardwareTestCases failures
renchenglei Jan 14, 2021
caefa6c
INTERNAL: Add freeBuffer function support for gralloc1
renchenglei Feb 2, 2021
5e4d60a
INTERNAL: Align 263 video back to 32
renchenglei Apr 6, 2021
107d9ef
INTERNAL: Add camera usage for RGBA format
renchenglei Apr 6, 2021
a0ae9c6
INTERNAL: Add NV12_Y_TILED_INTEL format for PlaneLayoutsMap
renchenglei Apr 6, 2021
2935160
INTERNAL: Refine importBuffer & freeBuffer
renchenglei Apr 16, 2021
1bed61b
INTERNAL: fix of suspend/resume issue
May 5, 2021
ed5e8ad
INTERNAL: getBackingStore() return unique value
dyang23 May 13, 2021
c41a734
Add i915 private format convert
Shao-Feng Nov 25, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
188 changes: 188 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

cc_defaults {
name: "minigbm_defaults_celadon",

srcs: [
"amdgpu.c",
"drv.c",
"evdi.c",
"exynos.c",
"helpers_array.c",
"helpers.c",
"i915.c",
"marvell.c",
"mediatek.c",
"meson.c",
"msm.c",
"nouveau.c",
"radeon.c",
"rockchip.c",
"tegra.c",
"udl.c",
"vc4.c",
"vgem.c",
"virtio_gpu.c",
"i915_private.c",
],

cflags: [
"-D_GNU_SOURCE=1",
"-D_FILE_OFFSET_BITS=64",
"-Wall",
"-Wsign-compare",
"-Wpointer-arith",
"-Wcast-qual",
"-Wcast-align",
"-Wno-unused-parameter",
"-Wno-switch",
"-Wno-format",
"-Wno-unused-variable",
"-DDRV_I915",
"-DUSE_GRALLOC1",
"-Wno-cast-qual",
],
cppflags: ["-std=c++14"],

vendor: true,

header_libs: [
"libhardware_headers",
"libnativebase_headers",
"libnativewindow_headers",
"libsystem_headers",
],

export_header_lib_headers: [
"libhardware_headers",
"libnativebase_headers",
"libnativewindow_headers",
"libsystem_headers",
],

shared_libs: [
"libcutils",
"libdrm",
"libnativewindow",
"libsync",
"liblog",
],

static_libs: ["libarect"],

export_static_lib_headers: ["libarect"],
}

cc_defaults {
name: "minigbm_cros_gralloc_defaults_celadon",

defaults: ["minigbm_defaults_celadon"],

local_include_dirs: [
"cros_gralloc",
],

cflags: [
"-DDRV_I915",
"-DUSE_GRALLOC1",
],

srcs: [
"cros_gralloc/cros_gralloc_buffer.cc",
"cros_gralloc/cros_gralloc_helpers.cc",
"cros_gralloc/cros_gralloc_driver.cc",
"cros_gralloc/i915_private_android.cc",
]
}

cc_library_static {
name: "libminigbm_celadon",
defaults: ["minigbm_defaults_celadon"],
shared_libs: ["liblog"],
static_libs: ["libdrm"],

srcs: [
"gbm.c",
"gbm_helpers.c",
],

export_include_dirs: ["."],
}

cc_library_static {
name: "libminigbm_cros_gralloc_celadon",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
shared_libs: ["liblog"],
static_libs: ["libdrm"],

export_include_dirs: ["."],
}

cc_library_shared {
name: "gralloc.minigbm_celadon",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
enabled: false,
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
}

cc_library_shared {
name: "gralloc.minigbm_intel_celadon",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
enabled: false,
arch: {
x86: {
enabled: true,
},
x86_64: {
enabled: true,
},
},
cflags: ["-DDRV_I915"],
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
}

cc_library_shared {
name: "gralloc.intel",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
arch: {
x86: {
enabled: true,
},
x86_64: {
enabled: true,
},
},
cflags: [
"-DDRV_I915",
"-DUSE_GRALLOC1",
],
relative_install_path: "hw",
srcs: ["cros_gralloc/gralloc1/cros_gralloc1_module.cc"],
}

cc_library_shared {
name: "gralloc.celadon",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
arch: {
x86: {
enabled: true,
},
x86_64: {
enabled: true,
},
},
cflags: [
"-DDRV_I915",
"-DUSE_GRALLOC1",
],
relative_install_path: "hw",
srcs: ["cros_gralloc/gralloc1/cros_gralloc1_module.cc"],
}

cc_library_shared {
name: "gralloc.minigbm_meson_celadon",
defaults: ["minigbm_cros_gralloc_defaults_celadon"],
cflags: ["-DDRV_MESON"],
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
}
59 changes: 0 additions & 59 deletions Android.mk

This file was deleted.

17 changes: 17 additions & 0 deletions METADATA
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "minigbm"
description:
""

third_party {
url {
type: HOMEPAGE
value: "https://www.chromium.org/"
}
url {
type: GIT
value: "https://chromium.googlesource.com/chromiumos/platform/minigbm/"
}
version: ""
last_upgrade_date { year: 2018 month: 6 day: 25 }
license_type: NOTICE
}
Empty file added MODULE_LICENSE_BSD
Empty file.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,26 @@ CFLAGS += -std=c99 -Wall -Wsign-compare -Wpointer-arith -Wcast-qual \

ifdef DRV_AMDGPU
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_amdgpu)
LDLIBS += -lamdgpuaddr
LDLIBS += -ldrm_amdgpu -ldl
endif
ifdef DRV_EXYNOS
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_exynos)
endif
ifdef DRV_I915
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_intel)
endif
ifdef DRV_MESON
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_meson)
endif
ifdef DRV_RADEON
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_radeon)
endif
ifdef DRV_ROCKCHIP
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_rockchip)
endif
ifdef DRV_VC4
CFLAGS += $(shell $(PKG_CONFIG) --cflags libdrm_vc4)
endif

CPPFLAGS += $(PC_CFLAGS)
LDLIBS += $(PC_LIBS)
Expand Down
11 changes: 11 additions & 0 deletions OWNERS
2 changes: 2 additions & 0 deletions OWNERS.android
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[email protected]
[email protected]
Loading