Android-x86
Fork

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-drm_gralloc: コミット一覧

external/drm_gralloc


RSS
Rev. 日時 作者
1dab1b9 nougat-x86 oreo-x86 q-x86 android-x86-7.1-r5 android-x86-8.1-r6 2020-06-09 13:22:51 Chih-Wei Huang

gralloc_drm_kms: show the refresh rate of each mode

dbc8e65 android-x86-7.1-r4 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-9.0-r1 android-x86-9.0-r2 2019-02-23 12:58:29 Chih-Wei Huang

Remove unused variables

0f1c61e 2019-02-23 12:58:11 Chih-Wei Huang

Include <string.h>

To provide the prototypes of strcmp(), memset(), etc.

3a13a52 android-x86-8.1-r1 2019-01-14 09:19:29 Chih-Wei Huang

gralloc_drm: open the DRM device of the primary framebuffer

With the new added drmOpenByFB function in libdrm, it's easy to find
the correct DRM device of the primary framebuffer.

bf12656 2018-10-31 07:14:27 Mauro Rossi

gralloc_pipe_drm: support rework PIPE_HANDLE_USAGE_* flags

Changes due to commit 8ad12c8bec in mesa 18.3
("gallium: rework PIPE_HANDLE_USAGE_* flags")

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

caeff7a 2018-09-06 17:54:37 Chih-Wei Huang

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

427ad9c 2018-09-06 17:54:32 Mauro Rossi

gralloc_pipe_drm: add storage_sample_count parameter into is_format_supported

Apply changes to support mesa 18.2 branch commit
966f155623 ("gallium: add storage_sample_count parameter into is_format_supported")

447b85e android-x86-7.1-r3 2018-07-24 17:54:48 Chih-Wei Huang

Remove radeonsi from the list of radeon_drivers

The radeonsi uses the pipe driver.

9c5e72d 2018-07-15 07:15:54 Mauro Rossi

gralloc_drm_pipe: add support for winsys handle types

Changes due to the following commits in mesa:

d2eaff3 ("gallium: move winsys handle to it's own file.")
b7ac077 ("gallium/winsys: rename DRM_API_HANDLE_* to WINSYS_HANDLE_*")

c4f64ab 2018-01-04 12:35:58 Chih-Wei Huang

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

f7e84b8 android-x86-7.1-r1 android-x86-7.1-r2 2018-01-04 12:33:05 Chih-Wei Huang

Fix insignificant warnings

2f9d132 2018-01-04 12:13:50 Chih-Wei Huang

gralloc_drm_kms: use local buffer for uevent_desc

I can't see a reason why uevent_desc should be static.
Besides, 2KB size is usually enough.

6963f5a 2018-01-04 11:36:19 Chih-Wei Huang

gralloc_drm_kms: try to find more primary display

Consider DSI as the primary display as well as LVDS.

d4e2d52 2018-01-04 11:30:38 Chih-Wei Huang

gralloc_drm_kms: fix possible segfault

Check if the output is valid before using it.

d8fcf4b 2018-01-03 19:28:13 Chih-Wei Huang

gralloc_drm_kms: fix connector leak

Always free the connector resource.

3a843a4 2017-11-23 19:00:16 Chih-Wei Huang

Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86

1ffd2c8 2017-11-23 18:55:45 Chih-Wei Huang

gralloc_drm: search the correct drm device

Instead of using a hardcoded drm device path, find the correct
drm device according to the driver name.

1052a52 2017-11-20 12:41:30 Mauro Rossi

Continue using BGRA_8888 for pipe drivers

vmwgfx and amdgpu have issues with RGBA_8888.
Let's keep using the old format until support is improved.

It partially reverts commit e94fe60a71c18e5b238a2c5f62a93cef06b2cedf
and it's similar to commit 9220bea48b0b84d63960e179c6e7064d2ea39e51.

The patch should be reverted when support RGBA_8888 is OK.

7490e03 2017-11-20 12:38:05 Chih-Wei Huang

Remove obsolete code

We don't use any prebuilt GPU libraries.

b4dcfde 2017-11-20 12:38:05 Mauro Rossi

gralloc_drm_pipe: update DRI_LIBRARY_PATH to /vendor

With mesa 17.3 and later gallium_dri.so and driver symlinks
were moved to /vendor/{lib,lib64}/dri

DRI_LIBRARY_PATH in gralloc_drm_pipe is updated accordingly
in order to avoid error in opening driver for vmwgfx and admgpu

6bf3ad6 2017-11-20 12:38:05 Chih-Wei Huang

Move libraries to /vendor

As part of Treble project in Android O, all the device specific files
have to be located in the vendor partition.

ce9b5e1 2017-11-03 16:21:32 Chih-Wei Huang

gralloc_drm_intel: only use RGBA_8888 in flip mode

For older GPUs without flip mode support, using RGBA_8888 will cause
significant performance drop as reported by Michael Goffioul.

1602cb4 2017-09-10 01:10:13 Chih-Wei Huang

Avoid duplicated macro definition

The common used macro MAX() may be defined by other headers and
the compiler may complain. Only define it if it's not defined.

951054c 2017-08-23 20:05:06 Mauro Rossi

nouveau: add support for Pascal chipsets

NV_PASCAL 0x130 chipsets handling is added in gralloc_drm_nouveau.c.

d77e1c1 2017-08-23 17:34:39 Tomasz Figa

drm_gralloc: Enable allocation of flexible YUV420 buffers

This patch adds necessary switch cases to enable allocation of flexible
YUV420 buffers. They currently always map to NV12 buffers.

Change-Id: I57daba972698033240f9086b7badfad75335be2e

ea94cff 2017-08-23 17:33:55 Tomasz Figa

drm_gralloc: Implement lock_ycbcr method

It is needed for flexible YUV formats. Currently only flexible YUV420 is
supported and always maps to NV12 format.

Change-Id: I4b2f2d1cdd3f2495b63d84438130dc7ab99fbf8c

9220bea 2017-07-31 00:28:52 Chih-Wei Huang

Continue using BGRA_8888 for nouveau and radeon

These GPUs don't support RGBA_8888 well. Let's keep using the old
format.

It partially reverts commit e94fe60a71c18e5b238a2c5f62a93cef06b2cedf.

The patch should be reverted once they support RGBA_8888.

fc18e7e 2017-07-27 19:45:54 Chih-Wei Huang

gralloc_drm: allow GRALLOC_USAGE_HW_VIDEO_ENCODER buffers

Inspired by a similar patch of WuZhen <wuzhen@jidemail.com>
to enable screen recording.

Test: can pass PCMark for Android Video Editing tests of Work 2.0.

f07a539 2017-07-27 19:45:54 Chih-Wei Huang

Sync GRALLOC_MODULE_PERFORM_GET_DRM_FD definition with gbm_gralloc

The GRALLOC_MODULE_PERFORM_GET_DRM_FD definition of gbm_gralloc differs
from drm_gralloc. To make them coexist, let's sync the definition.

e94fe60 2017-07-03 15:29:29 Chih-Wei Huang

Change default pixel format to RGBA8888

This is a WIP patch to change the default pixel format to RGBA8888.
The corresponding patches for Mesa are also needed.
Only i965 is tested.

旧リポジトリブラウザで表示