[v3 PATCH 0/3] Allow ASYNC flip with atomic helpers.

Andrey Grodzovsky Andrey.Grodzovsky at amd.com
Sun Jan 29 02:26:48 UTC 2017


This series is a folow-up on
https://patchwork.kernel.org/patch/9501787/

The first patch makes changes to atomic helpers to allow for 
drives with ASYNC flip support to use them.
Patch 2 is to use this in AMDGPU/DC.
Patch 3 is possible cleanup in nouveau/kms who seems to have to duplicate 
the helper as we did to support ASYNC flips. 

v2: 
Resend drm/atomic: Save flip flags in drm_plane_state since
the original patch was incomplete.
Squash 2 AMD changes into one to not break compilation.

v3:
Following Daniel's comments, save flip flags in crtc_state
instead of plane_state.

Andrey Grodzovsky (3):
  drm/atomic: Save flip flags in drm_crtct_state
  drm/nouveau/kms/nv50: Switch to using atomic helper for flip.
  drm/amd/display: Switch to using atomic_helper for flip.

 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h           |   1 -
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_types.c    | 109 ++++-----------------
 drivers/gpu/drm/drm_atomic_helper.c                |  19 +---
 drivers/gpu/drm/nouveau/nv50_display.c             |  84 ++--------------
 include/drm/drm_crtc.h                             |   8 +-
 include/drm/drm_plane.h                            |   1 +
 6 files changed, 42 insertions(+), 180 deletions(-)

-- 
1.9.1



More information about the amd-gfx mailing list