Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gvt active #21

Open
wants to merge 5,821 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5821 commits
Select commit Hold shift + click to select a range
f1df65c
intel: Add Cannonlake PCI IDs for U-skus.
rodrigovivi Dec 13, 2016
d200405
intel: Add Cannonlake PCI IDs for Y-skus.
rodrigovivi Dec 13, 2016
695d3b8
intel/gen10: Add missed gen10 stuff
bwidawsk Aug 24, 2016
8816ffc
intel: add GEN10 to IS_9XX.
pzanoni-intel Apr 27, 2017
fbdbde3
intel/intel_chipset: Move IS_9XX below IS_GEN10.
rodrigovivi Jun 30, 2017
1bcb70c
etnaviv: submit full struct drm_etnaviv_gem_submit
austriancoder Jun 9, 2017
5f74148
Remove redundant memclear
coypoop Jun 30, 2017
d6ea984
drm/amdgpu: add syncobj create/destroy/import/export apis
airlied Jul 16, 2017
f1dd74b
drm/amdgpu: add new low overhead command submission API. (v2)
airlied Jul 18, 2017
7f96b75
amdgpu: add new symbols to tests.
airlied Jul 18, 2017
9d26072
configure.ac: bump version for release
lynxeye-dev Jul 19, 2017
9774d48
xf86drm: continue after drmProcessPlatformDevice failure
gurchetansingh Jul 19, 2017
d2bc9d7
xf86drm: continue with next device if drmProcessUsbDevice fails
evelikov-work Jul 20, 2017
faa6bed
radeon: add fallthrough annotation
1ace Jul 30, 2017
8882dc6
amdgpu: Add FX-9800P Bristol Ridge iGPU id
jvesely Jul 28, 2017
372abf4
tests/amdgpu: bypass UVD CS tests on raven
May 27, 2017
35e5e76
tests/amdgpu: bypass VCE tests on raven
May 27, 2017
5f7e418
test/amdgpu: fix test failure for SI
Jul 19, 2017
a62c4d8
freedreno: remove dead error path
1ace Jul 30, 2017
1bff3f6
freedreno/msm: remove dead error path
1ace Jul 30, 2017
32a139f
freedreno: prevent deadlock in error path
1ace Jul 30, 2017
111d82c
amdgpu: fix missing mutex unlock before return
ljymonk Aug 7, 2017
ca54b5c
amdgpu: fix race issue between two bo functions(v2)
ljymonk Aug 8, 2017
cd0f850
amdgpu: merge and cleanup amdgpu_bo_free
ljymonk Aug 8, 2017
fe52572
drm: Pull new modifier uapi into drm_fourcc and drm_mode
gfxstrand Aug 14, 2017
5db86c8
tests/amdgpu: add uvd encode unit tests
Boyz-Radeon Aug 15, 2017
1dade57
drmsltest: Check expected neighbours
jvesely Jul 28, 2017
9b13a4b
android: add rules to build amdgpu.ids
android-x86 Jul 27, 2017
9c2fe81
android: amdgpu: fix build break
android-x86 Jul 27, 2017
09e2f16
etnaviv: fix etna_bo_from_name
pH5 Aug 21, 2017
543a33b
configure.ac: Bump version to 2.4.83
fooishbar Aug 24, 2017
6fce6a9
tests/amdgpu: add missing header to SOURCES
alexdeucher Aug 30, 2017
955ef1f
amdgpu: Do not write beyond allocated memory when parsing ids
jvesely Sep 1, 2017
ac1bd4d
etnaviv: prevent deadlock in error path
pH5 Sep 13, 2017
1c68d3e
freedreno/kgsl: fix pointer-to-int cast
1ace Sep 14, 2017
1c70b5d
intel: Change a KBL pci id to GT2 from GT1.5
aphogat Sep 20, 2017
bf6be4c
amdgpu: print error messages when amdgpu_device_initialize is failing
Sep 4, 2017
ee2af87
amdgpu: make userptr unit test more interesting
ChristianKoenigAMD Sep 7, 2017
e545264
amdgpu: Add deadlock detection test suit.
Oct 2, 2017
1617f86
tests/amdgpu: add new uvd enc support check
Oct 5, 2017
1f8a07c
tests/amdgpu: fix uvd enc data corruption issue
Oct 5, 2017
87fa0d8
Android: move libraries to /vendor
robherring Sep 15, 2017
d0c033b
headers: sync DRM_MODE_ROTATE/REFLECT defines from kernel v4.14-rc1
robherring Oct 6, 2017
ce34367
headers: sync syncobj ioctl defines.
airlied Oct 11, 2017
7f8ea16
include: sync drm.h and amdgpu_drm.h with airlied/drm-next
Oct 12, 2017
bce0b7e
amdgpu: add sync_file import and export functions
Sep 11, 2017
cc9b1e6
drm: add drmSyncobjWait wrapper
Sep 11, 2017
6624c6d
amdgpu: add amdgpu_cs_syncobj_wait
Sep 11, 2017
2fd9835
amdgpu: add amdgpu_cs_fence_to_handle
Sep 8, 2017
e626c6d
configure.ac: bump version to 2.4.84
Oct 12, 2017
ad7e474
modetest: Decode IN_FORMATS plane blob property
Sep 28, 2017
c01a506
modetest: Allow full testing of primary planes
vsyrjala Oct 11, 2017
18be3d4
headers: Sync amdgpu_drm.h with drm-next
lostgoat Oct 20, 2017
26985aa
amdgpu: implement context priority for amdgpu_cs_ctx_create2 v3
lostgoat Oct 20, 2017
b13abcc
Add const qualifier to arguments of drmModeAddFB2()
tobiasjakobi Oct 10, 2017
e0618b7
amdgpu: add padding to the fence to handle ioctl
Oct 20, 2017
62d4b33
configure.ac: bump version to 2.4.85
Oct 20, 2017
df8ad79
drm: sync drm headers from drm-next.
airlied Oct 25, 2017
d8e38c2
drm/syncobj: fix some whitespace issues
airlied Oct 25, 2017
419d812
amdgpu: Add wrappers for AMDGPU_VM IOCTL.
Oct 27, 2017
401fe73
amdgpu: Add VMID reservation per GPU context test.
Oct 27, 2017
3876db1
configure.ac: bump version for release
Oct 31, 2017
37a44d5
amdgpu: fix 32-bit build
Oct 31, 2017
0aa71e1
configure.ac: bump version for release
Oct 31, 2017
d8e6d6d
amdgpu: Fix wrappers for AMDGPU_VM IOCTL.
Nov 2, 2017
53ac986
configure.ac: bump version for release
Nov 3, 2017
42ad43a
freedreno: sync uapi header (driver version 1.3.0)
freedreno-zz Aug 23, 2017
afe0757
freedreno: submit-queue context priority
freedreno-zz Aug 23, 2017
b1800c3
exynos: change the license to X11/MIT
daeinki Aug 10, 2017
aa482c5
freedreno: add the API fd_pipe_new2 to the symbol test
evelikov Nov 7, 2017
2a232cf
amdpgu: fix coding style in amdgpu_vamgr.c
ChristianKoenigAMD Nov 2, 2017
eb049e7
amdgpu: sanitize 64bit VA manager
ChristianKoenigAMD Nov 2, 2017
1e64015
amdgpu: fix 32bit VA manager max address
ChristianKoenigAMD Nov 2, 2017
4c99e1b
amdgpu: use the high VA range if possible
ChristianKoenigAMD Nov 7, 2017
04852d8
Revert "amdgpu: use the high VA range if possible"
ChristianKoenigAMD Nov 9, 2017
300a101
Revert "amdgpu: fix 32bit VA manager max address"
ChristianKoenigAMD Nov 9, 2017
088dd7a
headers: Sync vc4 header from drm-next.
anholt Nov 8, 2017
1192c82
headers: Sync up some header guard changes from drm-next.
anholt Nov 8, 2017
975f24a
headers: Sync up some comment spelling and whitespace fixes from drm-…
anholt Nov 8, 2017
a8777bc
headers: Sync up mga_drm.h from drm-next.
anholt Nov 8, 2017
11e96ee
headers: Sync up kernel changes to use kernel types instead of stdint.h.
anholt Nov 8, 2017
6922faf
headers: Drop outdated node about a delta in drm_mode.h.
anholt Nov 8, 2017
8676ff5
amdgpu: Add functions to disable suites and tests.
Nov 10, 2017
ec85244
amdgpu: Use new suite/test disabling functionality.
Nov 10, 2017
a8ba7ee
amdgpu: Move memory alloc tests in bo suite.
Nov 10, 2017
985b33e
amdgpu: Add memory over allocation test.
Nov 13, 2017
68058cf
amdgpu: Disable deadlock test suite for Vega 10
Nov 14, 2017
e2f1f43
Android: disable warnings causing errors
robherring Nov 27, 2017
42596c4
amdgpu: Switch amdgpu CS tests enabling to the new way.
Nov 24, 2017
96bd7d9
amdgpu: Dynamicly disable BO suite "Metadata" test.
Nov 27, 2017
016185b
amdgpu: Adding amdgpu_cs_create_syncobj2 to create syncobj as signale…
davidmaoamd Nov 28, 2017
ab58aea
amdgpu: Add amdgpu_cs_create_syncobj2 to amdgpu-symbol-check
Nov 30, 2017
e9adfac
amdgpu: Add explicit dependency test.
Nov 24, 2017
1088a85
amdgpu: Clean up amdgpu_parse_asic_ids error handling
Nov 30, 2017
8db3ccc
amdgpu: Simplify error handling in parse_one_line
Dec 1, 2017
8915a8e
amdgpu: Only remember the device's marketing name
Nov 30, 2017
f1be013
amdgpu.ids: Refresh from AMD 17.40 release
Dec 5, 2017
e897e43
amdgpu: Remove dummy CU_ASSERT_EQUAL.
Dec 12, 2017
10e7dcf
etnaviv: sync uapi header
austriancoder Dec 15, 2017
af38519
etnaviv: add permon support
austriancoder Dec 15, 2017
6e58c00
etnaviv: support performance monitor requests
austriancoder Dec 15, 2017
5faab71
tests/amdgpu: Add return CUE_SUCCESS to suite_vcn_tests_clean.
Dec 15, 2017
84e28ab
etnaviv: fix BO cache to properly work with different flags
lynxeye-dev Dec 15, 2017
2c641c8
drm: Add drmSyncobjReset & drmSyncobjSignal wrappers.
BNieuwenhuizen Dec 16, 2017
87bf61d
amdgpu: Add syncobj reset & signal wrappers.
BNieuwenhuizen Dec 16, 2017
91edcca
drm: Add drm mode lease ioctl wrappers [v3]
keith-packard Mar 17, 2017
ddf8090
drm: Add CrtcGetSequence and CrtcQueueSequence IOCTLs [v2]
keith-packard Jul 1, 2017
b36cfde
configure.ac: bump version for release
airlied Dec 18, 2017
420dad0
amdgpu: fix not to add amdgpu.ids when building without amdgpu
devusr-sw-kim Jan 4, 2018
df5b7dc
amdgpu: fix 32bit VA manager max address
ChristianKoenigAMD Nov 2, 2017
5784ba2
headers: sync up amdgpu_drm.h with drm-next
ChristianKoenigAMD Nov 7, 2017
6da05a6
amdgpu: use the high VA range if possible v2
ChristianKoenigAMD Nov 7, 2017
ab6643b
test/amdgpu: fix compiler warnings
ChristianKoenigAMD Jan 7, 2018
71dca3b
intel: Add more Coffeelake PCI IDs
aphogat Jan 10, 2018
0b2b1cb
tests/amdgpu: execute write linear on all the available rings
Jan 8, 2018
5a2e2dc
tests/amdgpu: execute const fill on all the available rings
Jan 8, 2018
e793928
tests/amdgpu: execute copy linear on all the available rings
Jan 8, 2018
ff06157
Add meson build system
dcbaker Sep 13, 2017
a32abe8
autotools: Include meson.build files in tarball
dcbaker Dec 15, 2017
6644a44
README: Add note about meson
dcbaker Dec 15, 2017
0626b2b
amdgpu: Don't print error message if parse_one_line returned -EAGAIN
Jan 8, 2018
48eda19
amdgpu: Don't dereference device_handle after amdgpu_device_deinitialize
Jan 16, 2018
3f9423c
amdgpu: Symlink .editorconfig to tests/amdgpu
Jan 17, 2018
49e4aed
meson: fix the install path of amdgpu.ids
ChristophHaag Jan 18, 2018
ff926d7
amdgpu: fix high VA mask
ChristianKoenigAMD Jan 22, 2018
8085f5f
modetest: Fix to check return value of asprintf()
devusr-sw-kim Jan 10, 2018
bcc43fc
meson: set proper pkg-config version for libdrm_freedreno
dcbaker Jan 12, 2018
7263ff0
meson: set the minimum version correctly
dcbaker Jan 12, 2018
32a5b6c
amdgpu: Update deadlock test to not assert on ECANCELED
Jan 25, 2018
727781e
amdgpu: Fix segfault in deadlock test.
Jan 25, 2018
9a67d72
amdgpu: Disable deadlock test suite by default for SI ASICs
Jan 16, 2018
b4dde82
amdgpu: Disable VM test suite by default for SI ASICs
Jan 16, 2018
84ee2df
freedreno: clamp priority based on # of rings
freedreno-zz Jan 24, 2018
b055e1a
remove unnecessary double-semicolon
1ace Jan 5, 2018
5fa7129
tests/amdgpu: add parentheses to make operation priority explicit
1ace Jan 26, 2018
bf013f4
tests/amdgpu: drop unused variables
1ace Jan 25, 2018
d26fb75
tests/util: fix signed/unsigned comparisons
1ace Jan 26, 2018
b45403c
tests/util: drop unused parameters
1ace Jan 26, 2018
06e5959
tests/etnaviv: drop unused `return 0`
1ace Jan 26, 2018
d7edf1f
meson: add missing HAVE_RADEON
1ace Jan 26, 2018
a121a94
configure: remove unused HAVE_CUNIT define
1ace Jan 26, 2018
52fbb52
configure: remove unused HAVE_INSTALL_TESTS define
1ace Jan 26, 2018
94d2681
meson,configure: remove unused HAVE_OMAP define
1ace Jan 26, 2018
e0dc4a6
meson,configure: remove unused HAVE_TEGRA define
1ace Jan 26, 2018
b472028
meson,configure: remove unused HAVE_FREEDRENO define
1ace Jan 26, 2018
3342e4b
meson,configure: remove unused HAVE_ETNAVIV define
1ace Jan 26, 2018
3447f33
meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,…
1ace Jan 26, 2018
5475e23
always define HAVE_FREEDRENO_KGSL
1ace Jan 26, 2018
363f10e
always define HAVE_CAIRO
1ace Jan 26, 2018
e970f61
always define HAVE_VALGRIND
1ace Jan 26, 2018
091567d
meson: sort HAVE_* defines
1ace Jan 26, 2018
b4235c9
xf86atomic: fix -Wundef warning
1ace Jan 26, 2018
851198d
meson: cleanup whitespace
1ace Jan 26, 2018
19d4fc2
meson,configure: add warning when using undefined preprocessor tokens
1ace Jan 26, 2018
137a582
xf86drmHash: remove always-false #if guards
1ace Jan 5, 2018
e8b1d07
configure: always define HAVE_LIBDRM_ATOMIC_PRIMITIVES and HAVE_LIB_A…
1ace Jan 5, 2018
09dec61
exynos/tests: use #ifdef for never-defined token
1ace Jan 5, 2018
504684f
meson,configure: turn undefined preprocessor tokens warnings into errors
1ace Jan 26, 2018
2afda3b
tests/amdgpu: add missing config.h include
evelikov-work Jan 29, 2018
1a6063c
meson: fix libdrm_nouveau pkgconfig include directories
dcbaker Jan 25, 2018
67b66dc
drm: Fix 32-bit drmSyncobjWait.
BNieuwenhuizen Feb 6, 2018
d2e075d
fix return value for syncobj wait
amingriyue Feb 7, 2018
a962593
amdgpu: fix inefficient vamgr algorithm
amingriyue Feb 8, 2018
41082a7
amdgpu: clean up non list code path for vamgr
amingriyue Feb 8, 2018
01bf247
tests/amdgpu: add bo eviction test
amingriyue Feb 8, 2018
bc43f70
Revert "amdgpu: clean up non list code path for vamgr"
Feb 8, 2018
6f7ea4f
amdgpu: clean up non list code path for vamgr v2
amingriyue Feb 8, 2018
ba24b33
meson: include headers in root directory in ext_libdrm
dcbaker Feb 7, 2018
77f3744
amdgpu: add amdgpu_query_sw_info for querying high bits of 32-bit add…
Feb 2, 2018
9f4ab92
amdgpu: Add amdgpu_query_sw_info to amdgpu-symbol-check
Feb 12, 2018
3c50f35
android: Move gralloc handle struct to libdrm
Dec 6, 2017
89faa7f
android: Add version variable to gralloc_handle_t
Jan 16, 2018
9436e43
android: Mark gralloc_handle_t magic variable as const
Jan 16, 2018
8dcd06a
android: Remove member name from gralloc_handle_t
Jan 16, 2018
82acc2e
android: Change gralloc_handle_t members to be fixed width
Jan 16, 2018
1fa967e
configure.ac: bump version to 2.4.90
Feb 17, 2018
c31b99b
meson: bump the version number
Feb 17, 2018
7c45f4a
RELEASING: mention meson
Feb 17, 2018
12afc7a
drm/fourcc: Fix fourcc_mod_code() definition
thierryreding Nov 14, 2017
2d208c4
drm/tegra: Sanitize format modifiers
thierryreding Nov 14, 2017
f9b4cde
amdgpu: Fix mistake in initial hole size calculation.
Feb 19, 2018
90173f1
meson: do not use cairo/valgrind if disabled
Feb 19, 2018
e9361ca
meson/configure.ac: pthread-stubs not present on OpenBSD
jonathangray Feb 20, 2018
663eaba
android: revert making handle magic and version members const
robherring Feb 14, 2018
62f3e0a
android: fix mis-named alloc_handle_t
robherring Feb 14, 2018
34dd24f
android: add helper to convert buffer_handle_t to gralloc_handle_t ptr
robherring Feb 14, 2018
bcd5e04
android: fix gralloc_handle_create() problems
robherring Feb 14, 2018
67f34d4
*-symbol-check: Don't hard-code nm executable
heirecka Feb 19, 2018
f98d49c
freedreno: add interface to get buffer address
freedreno-zz Feb 25, 2018
6b0eed6
amdgpu: mostly revert "use the high VA range if possible v2"
ChristianKoenigAMD Feb 26, 2018
e4f01dd
amdgpu: add AMDGPU_VA_RANGE_HIGH
ChristianKoenigAMD Feb 26, 2018
83291db
amdgpu: fix "add AMDGPU_VA_RANGE_HIGH"
ChristianKoenigAMD Feb 28, 2018
4315ba6
test/amdgpu: disable bo eviction test by default
amingriyue Mar 1, 2018
b299546
tests/amdgpu: Fix misspellings of "suite"
Mar 1, 2018
8653caf
meson: add configuration summary
1ace Feb 26, 2018
5176dde
bump version for release
freedreno-zz Mar 5, 2018
30b6645
intel/intel_chipset.h: Sync Cannonlake IDs.
rodrigovivi Feb 8, 2018
87231af
drm/atomic: Refuse to add invalid objects to requests
fooishbar Mar 7, 2018
c5b8549
freedreno: add missing symbols to symbol-check
1ace Mar 6, 2018
01e7f62
amdgpu:support 16 ibs per submit for PAL/SRIOV
yuq Mar 7, 2017
bccb7b5
Revert "amdgpu:support 16 ibs per submit for PAL/SRIOV"
Mar 9, 2018
3c2aed7
drm/amdgpu: Remove IB count checking
sabreshao Sep 8, 2017
5c3287c
meson: use pkg-config to detect libatomic_ops
1ace Feb 7, 2018
8915fc4
meson: don't use compiler.has_header
dcbaker Mar 12, 2018
c5c20ff
meson: make it easy to add headers to check
1ace Mar 12, 2018
c01e4ff
meson: detect alloca.h
1ace Mar 13, 2018
59ecd16
tests/exynos: remove dead condition
devusr-sw-kim Mar 14, 2018
7e8130f
libdrm: intel/Android.mk: Filter libdrm_intel library requirements on…
johnstultz-work Mar 14, 2018
bfa1a5f
tests: fix memory leak issue
daeinki Mar 20, 2018
19129d4
meson,configure: always define HAVE_OPEN_MEMSTREAM
1ace Jan 26, 2018
c4118e2
meson,configure: always define HAVE_VISIBILITY
1ace Mar 16, 2018
579917b
meson,configure: always define UDEV
1ace Mar 16, 2018
971f1e6
meson: replace `if(compiles) have=true` with `have=compiles`
1ace Mar 16, 2018
fdceb42
meson,configure: include config.h automatically
1ace Feb 1, 2018
47a774a
meson: drop unneeded dependency to libudev
1ace Mar 20, 2018
80d0efa
meson: move line to allow using `config` earlier
1ace Mar 20, 2018
254d436
meson: drop unnecessary variable
1ace Mar 20, 2018
f73ba0c
libdrm: amdgpu: Adding DRM_RDWR flag in amdgpu_bo_export
Feb 26, 2018
9f3fabc
omap: add Android build support
Feb 28, 2018
db8159c
android: Add missing include exports
stschake Mar 18, 2018
2a14aba
libdrm: Use readdir instead of readdir_r to avoid build warnings
johnstultz-work Mar 20, 2018
9298e6d
xf86drmMode: merge successive mutually-exclusive #ifs
1ace Mar 22, 2018
6293894
intel: Do not use libpciaccess on Android
Dec 14, 2015
61d5b23
Revert "libdrm: intel/Android.mk: Filter libdrm_intel library require…
evelikov Mar 20, 2018
3a64cc5
headers: sync up amdgpu_drm.h with drm-next
Mar 20, 2018
c6aeb14
headers: Sync with drm-next
fooishbar Mar 30, 2018
f73fbbe
headers: Update README
fooishbar Mar 30, 2018
61e541a
libdrm: gralloc_handle.h: Fix build issue with Android
johnstultz-work Apr 3, 2018
b8177f6
tests/amdgpu: add vce mv tests support and sets
Apr 4, 2018
4daebb5
amdgpu: enlarge the maximum number of cards supported
Apr 19, 2018
84f4e24
Intel: Add a Kaby Lake PCI ID
msatwood Apr 24, 2018
4000e94
amdgpu: Deinitialize vamgr_high{,_32}
Apr 27, 2018
75132a2
intel: add support for ICL 11
pzanoni-intel Apr 26, 2018
1e12a62
freedreno: add fd_pipe refcounting
freedreno-zz May 9, 2018
53f3009
bump version for release
freedreno-zz May 9, 2018
3837452
xf86drm: Be sure to closedir before return
strassek May 18, 2018
5af3397
Always pass O_CLOEXEC when opening DRM file descriptors
May 18, 2018
79b251e
amdgpu: Take a lock before removing devices from fd_tab hash table.
jvesely May 10, 2018
c92dc25
amdgpu/util_hash_table: Add helper function to count the number of en…
jvesely May 18, 2018
8668e66
amdgpu: Destroy fd_hash table when the last device is removed.
jvesely May 18, 2018
99a480f
Add Conditional check for compilation
Kishore409 Aug 14, 2017
cfbb141
Added support for travis ci
codernavi18 Aug 21, 2017
6a02243
drm-intel: use LOCAL_COPY_HEADERS to export headers
lizhuangzhi Sep 20, 2017
8bfecc6
Fix "missing-braces" compile warnings on Android
renchenglei Nov 20, 2017
0362b54
Add definition for gem_acess_usrdata
js0701 Sep 4, 2018
377f5ca
libkms: update list of intel_drivers for Android build
tpalli Dec 18, 2018
14834b8
remove duplicate amdgpu.ids
jennycao Apr 10, 2019
3cd85d6
Enable Virgl(Virtual 3D GPU)
renchenglei Nov 27, 2019
50fe7c6
Replace Android.mk by Android.bp
Dec 4, 2019
2f4367d
Add a API for query GVT active
Shao-Feng May 29, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To use this config with your editor, follow the instructions at:
# http://editorconfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true

[*.{c,h}]
indent_style = space
indent_size = 4

[{Makefile.*,*.mk}]
indent_style = tab

[*.m4]
indent_style = space
indent_size = 2

[{meson.build,meson_options.txt}]
indent_style = space
indent_size = 2
108 changes: 108 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
bsd-core/*/@
bsd-core/*/machine
*~
*.1
*.3
*.5
*.7
*.flags
*.ko
*.ko.cmd
*.la
*.lo
*.log
*.mod.c
*.mod.o
*.o
*.o.cmd
*.sw?
*.trs
.depend
.deps
.libs
.tmp_versions
.*check*
.*install*
Makefile
Makefile.in
TAGS
aclocal.m4
autom4te.cache
build-aux
bus_if.h
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
configure.lineno
cscope.*
depcomp
device_if.h
drm.kld
drm_pciids.h
export_syms
i915.kld
install-sh
libdrm/config.h.in
libdrm.pc
libdrm_intel.pc
libdrm_nouveau.pc
libdrm_radeon.pc
libdrm_omap.pc
libdrm_exynos.pc
libdrm_freedreno.pc
libdrm_amdgpu.pc
libdrm_vc4.pc
libdrm_etnaviv.pc
libkms.pc
libtool
ltmain.sh
mach64.kld
man/.man_fixup
mga.kld
missing
mkinstalldirs
opt_drm.h
pci_if.h
r128.kld
radeon.kld
savage.kld
sis.kld
stamp-h1
tdfx.kld
via.kld
tests/auth
tests/amdgpu/amdgpu_test
tests/dristat
tests/drmdevice
tests/drmsl
tests/drmstat
tests/getclient
tests/getstats
tests/getversion
tests/hash
tests/lock
tests/openclose
tests/random
tests/setversion
tests/updatedraw
tests/modeprint/modeprint
tests/modetest/modetest
tests/name_from_fd
tests/proptest/proptest
tests/kms/kms-steal-crtc
tests/kms/kms-universal-planes
tests/kmstest/kmstest
tests/vbltest/vbltest
tests/radeon/radeon_ttm
tests/exynos/exynos_fimg2d_event
tests/exynos/exynos_fimg2d_perf
tests/exynos/exynos_fimg2d_test
tests/etnaviv/etnaviv_2d_test
tests/etnaviv/etnaviv_cmd_stream_test
tests/etnaviv/etnaviv_bo_cache_test
man/*.3
34 changes: 34 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
language: c++
sudo: required
dist: trusty
install:
- sudo apt-get update
- sudo apt-get install automake
- sudo apt-get install autoconf
- sudo apt-get install libtool
- sudo apt-get install xutils-dev
- sudo apt-get install libpciaccess-dev
- sudo apt-get install python-mako
- sudo dpkg -s python-mako
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install gcc-4.9
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 50
- sudo apt-get install g++-4.9
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
script:
- export HWC_BUILD_DIR=/tmp/
- export WLD=/tmp/hwc-install
- export LD_LIBRARY_PATH=$WLD/lib
- export PKG_CONFIG_PATH=$WLD/lib/pkgconfig/:$WLD/share/pkgconfig
- export PATH=$WLD/bin:$PATH
- export ACLOCAL_PATH=$WLD/share/aclocal
- export ACLOCAL="aclocal -I $ACLOCAL_PATH"
- export DRV_I915=1
- tar -xvf travisci/resources/libdrm-install.tar.bz2 -C $HWC_BUILD_DIR
- mkdir -p $WLD/share/aclocal
- ./autogen.sh --disable-radeon --disable-nouveau --disable-amdgpu --enable-udev --enable-libkms --prefix=$WLD
- make -j5 && make install
branches:
only:
- master
66 changes: 66 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
//
// Copyright © 2011-2012 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice (including the next
// paragraph) shall be included in all copies or substantial portions of the
// Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
// IN THE SOFTWARE.
//

subdirs = ["*"]
build = ["Android.sources.bp"]

cc_defaults {
name: "libdrm_defaults",
cflags: [
// XXX: Consider moving these to config.h analogous to autoconf.
"-DMAJOR_IN_SYSMACROS=1",
"-DHAVE_VISIBILITY=1",
"-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1",

"-Wall",
"-Werror",
"-Wno-deprecated-declarations",
"-Wno-format",
"-Wno-gnu-variable-sized-type-not-at-end",
"-Wno-pointer-arith",
"-Wno-unused-parameter",
"-Wno-unused-variable",
"-Wno-missing-field-initializers",
],
export_include_dirs: ["."],
}

// Library for the device
cc_library {
name: "libdrm",
recovery_available: true,
vendor_available: true,
defaults: [
"libdrm_defaults",
"libdrm_sources",
],

export_include_dirs: ["include/drm", "android"],

cflags: [
"-Wno-enum-conversion",
"-Wno-pointer-arith",
"-Wno-sign-compare",
"-Wno-tautological-compare",
],
}
12 changes: 12 additions & 0 deletions Android.sources.bp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Autogenerated with Android.sources.bp.mk

cc_defaults {
name: "libdrm_sources",
srcs: [
"xf86drm.c",
"xf86drmHash.c",
"xf86drmRandom.c",
"xf86drmSL.c",
"xf86drmMode.c",
],
}
25 changes: 25 additions & 0 deletions Android.sources.bp.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Usage: make -f path/to/Android.sources.bp.mk NAMES=<> >Android.sources.bp
#
# It will read the Makefile.sources in the current directory, and
# write <NAME>_FILES to stdout as an Android.bp cc_defaults module.

.PHONY: all
all:
@# Do nothing

include Makefile.sources

empty :=
indent := $(empty) $(empty)

$(info // Autogenerated with Android.sources.bp.mk)
$(foreach NAME,$(NAMES), \
$(eval lower_name := $(shell echo $(PREFIX)$(NAME) | tr 'A-Z' 'a-z')) \
$(info ) \
$(info cc_defaults {) \
$(info $(indent)name: "$(lower_name)_sources",) \
$(info $(indent)srcs: [) \
$(foreach f,$(filter %.c,$($(NAME)_FILES)), \
$(info $(indent)$(indent)"$(f)",)) \
$(info $(indent)],) \
$(info }))
4 changes: 4 additions & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/libdrm)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/include/freedreno)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libdrm_*intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libdrm_*intermediates)
Loading