Skip to content

dri3+gallium patch series

Keith Packard dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18Remove glBlendColor and glBlendEquations decls from glext.hinclude/GL/glext.h+0 -23 replies
2/18dri/swrast: Passing dri_context * instead of gl_context* to driContextSetFlagssrc/mesa/drivers/dri/swrast/swrast.c+1 -10 replies
3/18Don't use libudev for glx/dri3configure.ac src/glx/dri3_common.c+50 -430 replies
4/18dri3: Switch to libxshmfence version 1.1configure.ac src/glx/dri3_glx.c src/glx/dri3_priv.h+4 -42 replies
5/18dri3: Free resources when drawable is destroyed.src/glx/dri3_glx.c src/glx/dri3_priv.h+20 -20 replies
6/18dri3: Clean up struct dri3_drawablesrc/glx/dri3_priv.h+1 -50 replies
7/18dri3: Track full 64-bit SBC numbers, instead of just 32-bitssrc/glx/dri3_glx.c src/glx/dri3_priv.h+30 -200 replies
8/18dri3: Fix dri3_wait_for_sbc to wait for completion of requested SBCsrc/glx/dri3_glx.c+39 -160 replies
9/18dri3: Enable GLX_INTEL_swap_eventsrc/glx/dri3_glx.c+1 -170 replies
10/18i965: Correct check for re-bound buffer in intel_update_image_buffersrc/mesa/drivers/dri/i965/brw_context.c+15 -40 replies
11/18i965: Set fast color clear mcs_state on newly allocated image miptreessrc/mesa/drivers/dri/i965/intel_mipmap_tree.c+7 -30 replies
12/18dri3: Rename DRI3_MAX_BACK to DRI3_NUM_BACKsrc/glx/dri3_glx.c src/glx/dri3_priv.h+7 -70 replies
13/18dri3: Flush XCB before blocking for special eventssrc/glx/dri3_glx.c+2 -00 replies
14/18dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888include/GL/internal/dri_interface.h src/glx/dri3_glx.c src/mesa/drivers/dri/i915/intel_screen.c +1 more+8 -00 replies
15/18gallium: Add __DRIimageDriverExtension support to galliumsrc/gallium/state_trackers/dri/drm/dri2.c+230 -83 replies
16/18gallium/dri: fix unsetting of format when encountering depth/stencilsrc/gallium/state_trackers/dri/drm/dri2.c+11 -110 replies
17/18nvc0: fix segfault if nv50_miptree_from_handle() failssrc/gallium/drivers/nouveau/nvc0/nvc0_resource.c+2 -10 replies
18/18gallium: Use base.stamp for all drawable invalidation checks.src/gallium/state_trackers/dri/common/dri_drawable.c src/gallium/state_trackers/dri/drm/dri2.c+3 -30 replies

Reviews trailers per patch

6 of 18 patches have a Reviewed-by or Acked-by.

PatchKenneth GraunkeEric AnholtMarek Olšák
1/18
2/18
3/18
4/18R-b
5/18
6/18R-b
7/18
8/18
9/18
10/18R-b
11/18R-b
12/18
13/18
14/18R-b
15/18
16/18
17/18
18/18R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/18] dri3+gallium patch series

This series has a bunch of DRI3 cleanups and fixes followed by a few patches that finish up DRI3 support in gallium.

The first two patches have nothing to do with DRI3, just some warning fixes:

[PATCH 01/18] Remove glBlendColor and glBlendEquations decls from [PATCH 02/18] dri/swrast: Passing dri_context * instead of

DRI3 cleanups

[PATCH 03/18] Don't use libudev for glx/dri3
[PATCH 04/18] dri3: Switch to libxshmfence version 1.1 [PATCH 05/18] dri3: Free resources when drawable is destroyed. [PATCH 06/18] dri3: Clean up struct dri3_drawable
[PATCH 07/18] dri3: Track full 64-bit SBC numbers, instead of just [PATCH 08/18] dri3: Fix dri3_wait_for_sbc to wait for completion of [PATCH 09/18] dri3: Enable GLX_INTEL_swap_event
[PATCH 10/18] i965: Correct check for re-bound buffer in [PATCH 11/18] i965: Set fast color clear mcs_state on newly allocated [PATCH 12/18] dri3: Rename DRI3_MAX_BACK to DRI3_NUM_BACK [PATCH 13/18] dri3: Flush XCB before blocking for special events [PATCH 14/18] dri3, i915, i965: Add __DRI_IMAGE_FOURCC_SARGB8888

And the gallium patches: The middle two are from Ben Skeggs, but haven't been reviewed and not in an area of the code I feel comfortable reviewing.

[PATCH 15/18] gallium: Add __DRIimageDriverExtension support to [PATCH 16/18] gallium/dri: fix unsetting of format when encountering [PATCH 17/18] nvc0: fix segfault if nv50_miptree_from_handle() fails [PATCH 18/18] gallium: Use base.stamp for all drawable invalidation