[PATCH 0/2] Handle dma fences in dirtyfb ioctl

Jouni Högander jouni.hogander at intel.com
Tue Apr 11 10:33:34 UTC 2023


Currently i915 dirtyfb ioctl is not taking dma fences into account. This works
with features like FBC, PSR, DRRS because our gem code is triggering flush again
when rendering completes. This wont be possible anymore with explicit sync.

This patch set is adding dma fence handling into i915 dirtyfb ioctl.

Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Jouni Högander (2):
  drm/i915: Add new frontbuffer tracking interface to queue flush
  drm/i915: Handle dma fences in dirtyfb callback

 drivers/gpu/drm/i915/display/intel_fb.c       | 53 +++++++++++++++++--
 .../gpu/drm/i915/display/intel_frontbuffer.c  | 34 ++++++++++++
 .../gpu/drm/i915/display/intel_frontbuffer.h  |  4 ++
 3 files changed, 88 insertions(+), 3 deletions(-)

-- 
2.34.1



More information about the Intel-gfx-trybot mailing list