Recent commits on external-drm_gralloc (git) - Android-x86 - OSDN https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/ Android-x86 https://static-cdn.osdn.net/thumb/g/5/887/36x36_0.png /projects/android-x86/ 004a01: nouveau: add support for Turing chipsets NV_TURING 0x160... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/004a0143b45c6a9862cd99e8090f6a9c085b00b8 Mauro Rossi Commit: 004a0143b45c6a9862cd99e8090f6a9c085b00b8
nouveau: add support for Turing chipsets

NV_TURING 0x160 chipsets handling is added in gralloc_drm_nouveau.c
]]>
132bf5: nouveau: add support for Volta chipsets NV_VOLTA 0x140 c... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/132bf5d82d3df60c04f50af3b59e6ce0d3cb172e Mauro Rossi Commit: 132bf5d82d3df60c04f50af3b59e6ce0d3cb172e
nouveau: add support for Volta chipsets

NV_VOLTA 0x140 chipsets handling is added in gralloc_drm_nouveau.c
]]>
603420: gralloc_drm_pipe: rename pipe_transfer_usage -> pipe_map_... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/60342016a90b977789a8b5777f6715f5eaa2deea pipe_map_flags Changes due to mesa 20.3 commit 358606855 ("gallium: rename pipe_transfer_usage -> pipe_map_flags") Fixes the following building error: external/drm_gralloc/gralloc_drm_pipe.c:246:28: error: variable has incomplete type 'enum pipe_transfer_usage' enum pipe_transfer_usage usage; ^ external/drm_gralloc/gralloc_drm_pipe.c:246:8: note: forward declaration of 'enum pipe_transfer_usage' enum pipe_transfer_usage usage; ^ 1 error generated. Signed-off-by: Mauro Rossi ]]> Mauro Rossi Commit: 60342016a90b977789a8b5777f6715f5eaa2deea
gralloc_drm_pipe: rename pipe_transfer_usage -> pipe_map_flags

Changes due to mesa 20.3 commit
358606855 ("gallium: rename pipe_transfer_usage -> pipe_map_flags")

Fixes the following building error:

external/drm_gralloc/gralloc_drm_pipe.c:246:28: error: variable has incomplete type 'enum pipe_transfer_usage'
                enum pipe_transfer_usage usage;
                                         ^
external/drm_gralloc/gralloc_drm_pipe.c:246:8: note: forward declaration of 'enum pipe_transfer_usage'
                enum pipe_transfer_usage usage;
                     ^
1 error generated.

Signed-off-by: Mauro Rossi 
]]>
1e8abc: gralloc_drm_pipe: rename PIPE_TRANSFER_* -> PIPE_MAP_* C... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/1e8abc11674635e2734ae3d7303b56e8bbdd1bc7 PIPE_MAP_* Changes due to mesa 20.3 commit 22253e6b6 ("gallium: rename PIPE_TRANSFER_* -> PIPE_MAP_*") Fixes the following building errors: external/drm_gralloc/gralloc_drm_pipe.c:248:11: error: use of undeclared identifier 'PIPE_TRANSFER_READ' usage = PIPE_TRANSFER_READ; ^ external/drm_gralloc/gralloc_drm_pipe.c:250:13: error: use of undeclared identifier 'PIPE_TRANSFER_WRITE' usage |= PIPE_TRANSFER_WRITE; ^ 2 errors generated. Signed-off-by: Mauro Rossi ]]> Mauro Rossi Commit: 1e8abc11674635e2734ae3d7303b56e8bbdd1bc7
gralloc_drm_pipe: rename PIPE_TRANSFER_* -> PIPE_MAP_*

Changes due to mesa 20.3 commit
22253e6b6 ("gallium: rename PIPE_TRANSFER_* -> PIPE_MAP_*")

Fixes the following building errors:

external/drm_gralloc/gralloc_drm_pipe.c:248:11: error: use of undeclared identifier 'PIPE_TRANSFER_READ'
                usage = PIPE_TRANSFER_READ;
                        ^
external/drm_gralloc/gralloc_drm_pipe.c:250:13: error: use of undeclared identifier 'PIPE_TRANSFER_WRITE'
                        usage |= PIPE_TRANSFER_WRITE;
                                 ^
2 errors generated.

Signed-off-by: Mauro Rossi 
]]>
e643da: gralloc_drm_pipe: update winsys_handle.h include path Th... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/e643dac65d8bd7d8ef4633301baa0483869d2a59 ]]> Mauro Rossi Commit: e643dac65d8bd7d8ef4633301baa0483869d2a59
gralloc_drm_pipe: update winsys_handle.h include path

The change is necessary to compile with mesa 20.2 branch
after mesa following mesa commit

d6287a94 ("gallium: rename 'state tracker' to 'frontend'")

Signed-off-by: Mauro Rossi 
]]>
901492: freedreno: comment unused variables Used only to test bu... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/9014928278091c4c931c62aabca2b916ce46d252 Mauro Rossi Commit: 9014928278091c4c931c62aabca2b916ce46d252
freedreno: comment unused variables

Used only to test build with freedreno in BOARD_GPU_DRIVERS
]]>
1dab1b: gralloc_drm_kms: show the refresh rate of each mode https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/1dab1b97547d93995b85b4d73fcf0bb50681f5d3 Chih-Wei Huang Commit: 1dab1b97547d93995b85b4d73fcf0bb50681f5d3
gralloc_drm_kms: show the refresh rate of each mode
]]>
dbc8e6: Remove unused variables https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/dbc8e652bc7d1c9fd8a93a9bbf53c1faa1bf81ce Chih-Wei Huang Commit: dbc8e652bc7d1c9fd8a93a9bbf53c1faa1bf81ce
Remove unused variables
]]>
0f1c61: Include <string.h> To provide the prototypes of strcmp()... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/0f1c61e5bc67b2fec3506f45b76a9c2d8892cb50 To provide the prototypes of strcmp(), memset(), etc. ]]> Chih-Wei Huang Commit: 0f1c61e5bc67b2fec3506f45b76a9c2d8892cb50
Include 

To provide the prototypes of strcmp(), memset(), etc.
]]>
3a13a5: gralloc_drm: open the DRM device of the primary framebuff... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/3a13a52b1c6ef577bb41e256c28538a9b37f012d Chih-Wei Huang Commit: 3a13a52b1c6ef577bb41e256c28538a9b37f012d
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.
]]>
bf1265: gralloc_pipe_drm: support rework PIPE_HANDLE_USAGE_* flag... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/bf1265608b4cefa2cb1d7ecd074a0dcc22ea36ff ]]> Mauro Rossi Commit: bf1265608b4cefa2cb1d7ecd074a0dcc22ea36ff
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 
]]>
caeff7: Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86 https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/caeff7a31a33275abbb23cf44256bc4a1e6286d5 Chih-Wei Huang Commit: caeff7a31a33275abbb23cf44256bc4a1e6286d5
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
]]>
427ad9: gralloc_pipe_drm: add storage_sample_count parameter into... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/427ad9c9dc3eff1e561bef161b7d212f1b3852c9 Mauro Rossi Commit: 427ad9c9dc3eff1e561bef161b7d212f1b3852c9
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")
]]>
447b85: Remove radeonsi from the list of radeon_drivers The rade... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/447b85ed3ed60b4d5eba10446c980495127123e2 Chih-Wei Huang Commit: 447b85ed3ed60b4d5eba10446c980495127123e2
Remove radeonsi from the list of radeon_drivers

The radeonsi uses the pipe driver.
]]>
9c5e72: gralloc_drm_pipe: add support for winsys handle types Ch... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/9c5e72db266c0cb1f16e2b8d06304642366480e4 Mauro Rossi Commit: 9c5e72db266c0cb1f16e2b8d06304642366480e4
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_*")
]]>
c4f64a: Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86 https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/c4f64abb5eff50b8d10399fca2374ce67935d65c Chih-Wei Huang Commit: c4f64abb5eff50b8d10399fca2374ce67935d65c
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
]]>
f7e84b: Fix insignificant warnings https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/f7e84b80a7cd138d0d84c462b3a1d6a0ee04e6d6 Chih-Wei Huang Commit: f7e84b80a7cd138d0d84c462b3a1d6a0ee04e6d6
Fix insignificant warnings
]]>
2f9d13: gralloc_drm_kms: use local buffer for uevent_desc I can'... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/2f9d132ae56e7b7cffffb86c3f416e5269041b60 Chih-Wei Huang Commit: 2f9d132ae56e7b7cffffb86c3f416e5269041b60
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.
]]>
6963f5: gralloc_drm_kms: try to find more primary display Consid... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/6963f5a3793cd41add831fe5b09dfdf81521f681 Chih-Wei Huang Commit: 6963f5a3793cd41add831fe5b09dfdf81521f681
gralloc_drm_kms: try to find more primary display

Consider DSI as the primary display as well as LVDS.
]]>
d4e2d5: gralloc_drm_kms: fix possible segfault Check if the outp... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/d4e2d52eb8b12bef573e8de795194a65514b27e5 Chih-Wei Huang Commit: d4e2d52eb8b12bef573e8de795194a65514b27e5
gralloc_drm_kms: fix possible segfault

Check if the output is valid before using it.
]]>
d8fcf4: gralloc_drm_kms: fix connector leak Always free the conn... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/d8fcf4bbafaeb574c6bb0d5176ef8c64a0e13046 Chih-Wei Huang Commit: d8fcf4bbafaeb574c6bb0d5176ef8c64a0e13046
gralloc_drm_kms: fix connector leak

Always free the connector resource.
]]>
3a843a: Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86 https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/3a843a41cc3a39c098abda160f89bb0d3fa74f69 Chih-Wei Huang Commit: 3a843a41cc3a39c098abda160f89bb0d3fa74f69
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86
]]>
1ffd2c: gralloc_drm: search the correct drm device Instead of us... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/1ffd2c8a4208b4eef1cdbbfcc060952260317510 Chih-Wei Huang Commit: 1ffd2c8a4208b4eef1cdbbfcc060952260317510
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.
]]>
1052a5: Continue using BGRA_8888 for pipe drivers vmwgfx and amd... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/1052a521c6f2c0c421c7cc3e4e6b100f3818451e Mauro Rossi Commit: 1052a521c6f2c0c421c7cc3e4e6b100f3818451e
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.
]]>
7490e0: Remove obsolete code We don't use any prebuilt GPU libra... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/7490e03a1047125b432c8487811bda04f2c5d8a3 Chih-Wei Huang Commit: 7490e03a1047125b432c8487811bda04f2c5d8a3
Remove obsolete code

We don't use any prebuilt GPU libraries.
]]>
b4dcfd: gralloc_drm_pipe: update DRI_LIBRARY_PATH to /vendor Wit... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/b4dcfdeffdf2be1411a50c798382551d9a0281e9 Mauro Rossi Commit: b4dcfdeffdf2be1411a50c798382551d9a0281e9
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
]]>
6bf3ad: Move libraries to /vendor As part of Treble project in A... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/6bf3ad68513925d00dd843c5f004f0529cfeef43 Chih-Wei Huang Commit: 6bf3ad68513925d00dd843c5f004f0529cfeef43
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.
]]>
ce9b5e: gralloc_drm_intel: only use RGBA_8888 in flip mode For o... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/ce9b5e1b0edc540ef26795ca47d4d913eb9c7336 Chih-Wei Huang Commit: ce9b5e1b0edc540ef26795ca47d4d913eb9c7336
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.
]]>
1602cb: Avoid duplicated macro definition The common used macro ... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/1602cb4574d56ffb40ad43f9c5d653d049ecc62e Chih-Wei Huang Commit: 1602cb4574d56ffb40ad43f9c5d653d049ecc62e
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.
]]>
951054: nouveau: add support for Pascal chipsets NV_PASCAL 0x130... https://ko.osdn.net/projects/android-x86/scm/git/external-drm_gralloc/commits/951054cdb3fe0cd703a8a3e3aa9fc4082c441642 Mauro Rossi Commit: 951054cdb3fe0cd703a8a3e3aa9fc4082c441642
nouveau: add support for Pascal chipsets

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