Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-libdrm: List of commits

external/libdrm


RSS
Rev. Time Author
2616542 q-x86 2019-11-25 14:42:56 Chih-Wei Huang

Merge tag libdrm-2.4.100 into q-x86

Conflicts:
Makefile.am
configure.ac
tests/Makefile.am
xf86drm.c

8eb2828 pie-x86 android-x86-9.0-r1 android-x86-9.0-r2 2019-10-18 03:11:23 Mauro Rossi

libsync.h: fix missing braces in (struct sync_merge_data) data

Fixes the following build error in IA-HardwareComposer when using clang:

In file included from external/IA-Hardware-Composer/common/core/hwclayer.cpp:18:
external/libdrm/libsync.h:88:33:
error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
struct sync_merge_data data = {0};
^
{}

Using -Wno-missing-braces in external/IA-Hardware-Composer/common/core/Android.mk
LOCAL_CPPFLAGS did not solve the issue, this change in external/libdrm/libsync.h
was necessary

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>

7b98c6b 2019-10-18 03:11:23 Mauro Rossi

android: libdrm_platform: add liblog shared dependency

Fixes the following building error:

FAILED: $(OUT)/obj/SHARED_LIBRARIES/libdrm_platform_intermediates/LINKED/libdrm_platform.so
...
external/libdrm/xf86drm.c:146: error: undefined reference to '__android_log_vprint'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>

4ee3818 2019-10-18 03:11:23 Chih-Wei Huang

xf86drm: add drmOpenByFB

The new function looks up the DRM device with specified type
associated with the specified framebuffer and opens it.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

834f73c 2019-10-18 03:11:23 Chih-Wei Huang

Android: redirect debug messages to logcat

d389332 2019-10-18 03:07:53 Mauro Rossi

intel: annotate the intel genx helpers as public

intel_is_genx() and intel_get_genx() which are now private
were actually being used by drm_gralloc_intel,
this patch annotates them as drm_public

be3ec74 2019-10-18 03:07:53 Jiyong Park

android: make libdrm*.so available to the vendor partition

libdrm_<vendor>.so are moved to the vendor partition (/vendor/lib or
/system/vendor/lib if there is no dedicated vendor partition), since
they are vendor-specific extension that must not be in the system
partition which should be generic.

libdrm.so (which is generic) is built/installed twice: once to
/vendor/lib to satisfy the dependency for the libdrm_<vendor>.so libs
and once to /system/lib for platform clients such as the recovery
executable.

The platform variant of libdrm is named as libdrm_platform.so since
in Android.mk we can't have two different shared libs having
same soname. In the near future, this will be fixed by converting these
Android.mk files to Android.bp and mark the module libdrm as
'vendor_available: true'. (See
https://android-review.googlesource.com/c/368372/ for further detail on
the property)

Signed-off-by: Jiyong Park <jiyong@google.com>

283839b 2019-10-18 03:07:53 Chih-Wei Huang

Android: update CleanSpec.mk

The libraries are moved to /vendor since commit 011fd913.
Clean all old files for incremental builds.

Fixes: 011fd913 (Android: move libraries to /vendor)

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

604756f 2019-10-18 03:07:53 Piotr Luc

Adding VLV PCI IDs.

Change-Id: Id1d1d563d52b8e897b72a68ac3976cd2635d6477
Signed-off-by: Piotr Luc <piotr.luc@intel.com>

0190f49 2019-10-17 06:35:55 Marek Olšák

Bump the version to 2.4.100 for autotools

51e3bb5 2019-10-17 06:33:28 Marek Olšák

Revert "libdrm: remove autotools support"

This reverts commit f057dc91e93ae21e11ab48a26127d569972f3eae.

0573495 2019-10-17 04:27:05 Marek Olšák

Bump the version to 2.4.100

00320d7 2019-10-16 04:20:38 Marek Olšák

amdgpu: add amdgpu_cs_query_reset_state2 for AMDGPU_CTX_OP_QUERY_STATE2

This is a better GPU reset query.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>

9a61cf4 2019-10-16 03:30:31 Marek Olšák

include: update amdgpu_drm.h

Generated from kernel commit:
815fb4c9d7da862 "drm/amdgpu: return tcc_disabled_mask to userspace"

Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>

3b0a41d 2019-10-15 20:18:12 Nirmoy Das

test/amdgpu: don't free unused bo handle

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>

f057dc9 2019-10-15 01:07:20 Eric Engestrom

libdrm: remove autotools support

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>

e4f090f 2019-10-15 00:57:26 Eric Engestrom

RELEASING: update instructions to use meson instead of autotools

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Acked-by: Dylan Baker <dylan@pnwbakers.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>

25a0c56 2019-10-05 15:14:39 Chih-Wei Huang

Merge tag libdrm-2.4.99 into q-x86

Conflicts:
Android.mk
libkms/Android.mk

f6c94ee 2019-10-05 15:13:50 Chih-Wei Huang

Android: don't use logcat on building with recovery

Otherwise the recovery has to be linked with liblog.

89e8a63 2019-10-05 15:13:19 Mauro Rossi

libsync.h: fix missing braces in (struct sync_merge_data) data

Fixes the following build error in IA-HardwareComposer when using clang:

In file included from external/IA-Hardware-Composer/common/core/hwclayer.cpp:18:
external/libdrm/libsync.h:88:33:
error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
struct sync_merge_data data = {0};
^
{}

Using -Wno-missing-braces in external/IA-Hardware-Composer/common/core/Android.mk
LOCAL_CPPFLAGS did not solve the issue, this change in external/libdrm/libsync.h
was necessary

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>

e44d236 2019-10-04 18:15:44 Chih-Wei Huang

xf86drm: add drmOpenByFB

The new function looks up the DRM device with specified type
associated with the specified framebuffer and opens it.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

f215df6 2019-10-04 18:15:44 Chih-Wei Huang

Android: redirect debug messages to logcat

9d3b62f 2019-10-04 18:15:43 Mauro Rossi

Fix 32-bit app crashing in 64-bit Android (v2)

Seemingly the 64-bit int is always aligned to 8 in LP64.
But this is not hold in LP32.

Consequently sizeof(gralloc_drm_handle_t) are different
between LP64 (which is 18 ints) and LP32 (which is 16 ints).
As a result, 32-bit apps will crash in 64-bit OS since the
checking handle->base.numInts != GRALLOC_GBM_HANDLE_NUM_INTS
is true.

Fix it by always aligning 64-bit int to 8. Besides, to avoid
additional padding, just exchange the order of data_owner
and modifier. It aligns modifier to 8 natually.
This makes gralloc_drm_handle_t fit in 16 ints perfectly.

(v2) gralloc_drm_handle.h patch now applied in gralloc_handle.h
and GRALLOC_HANDLE_VERSION updated to 4

Reported-by: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

4bfab0c 2019-10-04 18:15:43 Mauro Rossi

intel: annotate the intel genx helpers as public

intel_is_genx() and intel_get_genx() which are now private
were actually being used by drm_gralloc_intel,
this patch annotates them as drm_public

cb1cfeb 2019-10-04 18:15:43 Piotr Luc

Adding VLV PCI IDs.

Change-Id: Id1d1d563d52b8e897b72a68ac3976cd2635d6477
Signed-off-by: Piotr Luc <piotr.luc@intel.com>

1a5047a 2019-10-04 18:15:04 Chih-Wei Huang

Merge tag libdrm-2.4.96 into q-x86

dddeff5 2019-10-04 17:43:00 Eric Engestrom

*-symbols-check: let meson figure out how to execute the scripts

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>

9b1e084 2019-10-04 17:42:46 Emil Velikov

*-symbols-check: use normal shell over bash

None of the tests are bash specific. Tested with bash, zsh, dash, mksh
and ksh.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Niclas Zeising <zeising@daemonic.se>
Reviewed-by: Niclas Zeising <zeising@daemonic.se>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>

4083e8f 2019-10-04 17:36:07 Niclas Zeising

meson.build: Fix header detection on FreeBSD

FreeBSD requires sys/types.h for sys/sysctl.h, add it as part of the
includes when checking for headers.
Instead of splitting out the check for sys/sysctl.h from the other
header checks, just add sys/types.h to all header checks.

v2 [Emil]
- add inline comment
- drop bash/sh hunk

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Niclas Zeising <zeising@daemonic.se>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>

7e46f4d 2019-09-28 20:04:57 Niclas Zeising

meson.build: Fix typo

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>

Show on old repository browser