[Intel-gfx] [PATCH v5 0/5] Adding driver-private objects to atomic state

Dhinakaran Pandiyan dhinakaran.pandiyan at intel.com
Thu Mar 30 08:42:05 UTC 2017


Changes in this version:
Included the 5 left over patches. Patches 1 and 5 have changed, so
I have removed Maarten's R-B for patch 5.

	1/5: Added NULL checks
	5/5: Fixed vcpi slot accounting when atomic_release() is called multiple
	times within an atomic_check()

This series introduces void * type driver-private objects in core and adds
helper functions that operate on these private objects. Drivers need to
implement object-specific functions to swap and clear object states. The
advantage of having void * for these objects in the core is objects of different
types can be managed in the same atomic state array. The series implements
DP-MST link bw tracking using the driver-private object infrastructure.

Pandiyan, Dhinakaran (5):
  drm: Add driver-private objects to atomic state
  drm/dp: Introduce MST topology state to track available link bandwidth
  drm/dp: Add DP MST helpers to atomically find and release vcpi slots
  drm: Connector helper function to release resources
  drm/dp: Track MST link bandwidth

 drivers/gpu/drm/drm_atomic.c             |  65 ++++++++++++++
 drivers/gpu/drm/drm_atomic_helper.c      |  24 +++++
 drivers/gpu/drm/drm_dp_mst_topology.c    | 150 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_dp_mst.c      |  48 ++++++++--
 include/drm/drm_atomic.h                 |  92 +++++++++++++++++++
 include/drm/drm_dp_mst_helper.h          |  26 ++++++
 include/drm/drm_modeset_helper_vtables.h |  16 ++++
 7 files changed, 414 insertions(+), 7 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list