Skip to content

glamor: Use GBM for BO allocation when possible

Michel Dänzer amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Drop unused drmmode_create_bo_pixmap surface parametersrc/drmmode_display.c+4 -60 replies
2/10EXA: Remove old RADEONEXACreatePixmap hooksrc/evergreen_exa.c src/evergreen_state.h src/r600_exa.c +3 more+0 -340 replies
3/10Only initialize libdrm_radeon surface manager for >= R600src/drmmode_display.c src/radeon_bo_helper.c src/radeon_kms.c+18 -120 replies
4/10glamor: Don't store radeon_surfaces in pixmapssrc/drmmode_display.c src/radeon.h src/radeon_bo_helper.c +2 more+55 -820 replies
5/10Factor out radeon_surface_initialize helpersrc/drmmode_display.c src/radeon.h src/radeon_bo_helper.c +1 more+131 -2060 replies
6/10Move flush from radeon_scanout_do_update to its callerssrc/drmmode_display.c src/radeon_kms.c+7 -30 replies
7/10Remove throttling from radeon_dri2_copy_region2src/radeon_dri2.c+0 -220 replies
8/10Refactor radeon_finish helpersrc/drmmode_display.c src/radeon.h src/radeon_bo_helper.c +4 more+30 -310 replies
9/10Add struct radeon_buffersrc/drmmode_display.c src/drmmode_display.h src/evergreen_exa.c +19 more+267 -2840 replies
10/10glamor: Use GBM for BO allocation when possibleconfigure.ac src/Makefile.am src/drmmode_display.c +8 more+266 -670 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlex Deucher
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH xf86-video-ati 00/10] glamor: Use GBM for BO allocation when possible

From: Michel Dänzer <[email protected]>

This series addresses https://bugs.freedesktop.org/105381 and is mostly inspired by the amdgpu driver.

Patches 1 & 2 clean up things I noticed being unused while working on this series.

Patches 3-5 are struct radeon_surface related cleanups.

Patches 6-8 are flush/finish related preparations.

Patch 9 lays the ground work for patch 10, which finally switches the glamor code to using GBM for BO allocation when possible.

Jammy Zhou (1):
Remove throttling from radeon_dri2_copy_region2

Michel Dänzer (9):
Drop unused drmmode_create_bo_pixmap surface parameter
EXA: Remove old RADEONEXACreatePixmap hook
Only initialize libdrm_radeon surface manager for >= R600
glamor: Don't store radeon_surfaces in pixmaps Factor out radeon_surface_initialize helper
Move flush from radeon_scanout_do_update to its callers Refactor radeon_finish helper
Add struct radeon_buffer
glamor: Use GBM for BO allocation when possible

 configure.ac                        |  10 +
 src/Makefile.am                     |   4 +-
 src/drmmode_display.c               | 252 ++++++-----------
 src/drmmode_display.h               |   2 +-
 src/evergreen_exa.c                 |  41 ++-
 src/evergreen_state.h               |   2 -
 src/evergreen_textured_videofuncs.c |   2 +-
 src/r600_exa.c                      |  41 ++-
 src/r600_state.h                    |   2 -
 src/r600_textured_videofuncs.c      |   2 +-
 src/radeon.h                        |  61 ++---
 src/radeon_bo_helper.c              | 404 ++++++++++++++++++----------
 src/radeon_bo_helper.h              |  55 +++-
 src/radeon_dri2.c                   |  49 +---
 src/radeon_dri3.c                   |  15 +-
 src/radeon_exa.c                    |  46 +---
 src/radeon_exa_funcs.c              |  44 +--
 src/radeon_exa_shared.c             |   2 +-
 src/radeon_exa_shared.h             |   3 +-
 src/radeon_glamor.c                 |  57 ++--
 src/radeon_glamor.h                 |  28 +-
 src/radeon_glamor_wrappers.c        |  27 +-
 src/radeon_kms.c                    | 202 ++++++--------
 src/radeon_present.c                |   4 +-
 src/radeon_textured_videofuncs.c    |  24 +-
 25 files changed, 705 insertions(+), 674 deletions(-)
Signature · 6 lines
2.18.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx