Skip to content

FBC (+stolen) locking, v5

Paulo Zanoni intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/i915: add simple wrappers for stolen node insertion/removaldrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_stolen.c+37 -161 reply
2/8drm/i915: move FBC code out of i915_gem_stolen.cdrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_stolen.c +2 more+128 -1321 reply
3/8drm/i915: add dev_priv->mm.stolen_lockdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_gem_stolen.c+18 -21 reply
4/8drm/i915: add the FBC mutexdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c +2 more+96 -190 replies
5/8drm/i915: intel_frontbuffer_flip_prepare() doesn't need struct_mutexdrivers/gpu/drm/i915/intel_display.c+1 -10 replies
6/8drm/i915: intel_unregister_dsm_handler() doesn't need struct_mutexdrivers/gpu/drm/i915/intel_display.c+1 -30 replies
7/8drm/i915: FBC doesn't need struct_mutex anymoredrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_fbc.c+3 -170 replies
8/8drm/i915: protect FBC functions with HAS_FBC checksdrivers/gpu/drm/i915/intel_fbc.c+18 -94 replies
8/8drm/i915: protect FBC functions with FBC checksdrivers/gpu/drm/i915/intel_fbc.c+18 -92 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchChris Wilson
1/8Requested-by R-b
2/8Requested-by R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b R-b
8/8R-b R-b

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 0/8] FBC (+stolen) locking, v5

From: Paulo Zanoni <[email protected]>

The big difference in this series is the fact that stolen_lock got much simpler. I was previously afraid of doing the CFB release and realloc operations in a non-atomic way, but I redebugged things and realized that, after we fixed the CFB size checks, we're not trying to free+allocate the CFB with FBC enabled, so we can make stolen_lock become much simpler.

Thanks Chris for the suggestions and reviews!

Paulo Zanoni (8):
drm/i915: add simple wrappers for stolen node insertion/removal drm/i915: move FBC code out of i915_gem_stolen.c drm/i915: add dev_priv->mm.stolen_lock
drm/i915: add the FBC mutex
drm/i915: intel_frontbuffer_flip_prepare() doesn't need struct_mutex drm/i915: intel_unregister_dsm_handler() doesn't need struct_mutex drm/i915: FBC doesn't need struct_mutex anymore
drm/i915: protect FBC functions with HAS_FBC checks

 drivers/gpu/drm/i915/i915_debugfs.c    |   8 +-
 drivers/gpu/drm/i915/i915_dma.c        |   1 +
 drivers/gpu/drm/i915/i915_drv.h        |  14 +-
 drivers/gpu/drm/i915/i915_gem_stolen.c | 171 +++++------------------
 drivers/gpu/drm/i915/intel_display.c   |  20 +--
 drivers/gpu/drm/i915/intel_drv.h       |   2 +
 drivers/gpu/drm/i915/intel_fbc.c       | 241 ++++++++++++++++++++++++++++++---
 7 files changed, 280 insertions(+), 177 deletions(-)
Signature · 6 lines
2.1.4

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx