nouveau: add support for Turing chipsets NV_TURING 0x160 chipsets handling is added in gralloc_drm_nouveau.c]]>
nouveau: add support for Volta chipsets NV_VOLTA 0x140 chipsets handling is added in gralloc_drm_nouveau.c]]>
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]]>
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]]>
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]]>
freedreno: comment unused variables Used only to test build with freedreno in BOARD_GPU_DRIVERS]]>
gralloc_drm_kms: show the refresh rate of each mode]]>
Remove unused variables]]>
Include]]>To provide the prototypes of strcmp(), memset(), etc.
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.]]>
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]]>
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86]]>
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")]]>
Remove radeonsi from the list of radeon_drivers The radeonsi uses the pipe driver.]]>
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_*")]]>
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86]]>
Fix insignificant warnings]]>
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.]]>
gralloc_drm_kms: try to find more primary display Consider DSI as the primary display as well as LVDS.]]>
gralloc_drm_kms: fix possible segfault Check if the output is valid before using it.]]>
gralloc_drm_kms: fix connector leak Always free the connector resource.]]>
Merge remote-tracking branch 'x86/nougat-x86' into oreo-x86]]>
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.]]>
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.]]>
Remove obsolete code We don't use any prebuilt GPU libraries.]]>
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]]>
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.]]>
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.]]>
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.]]>
nouveau: add support for Pascal chipsets NV_PASCAL 0x130 chipsets handling is added in gralloc_drm_nouveau.c.]]>