All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] drm/atomic: drm_dynarray and private obj cleanup
@ 2017-07-03 13:43 ville.syrjala
  2017-07-03 13:43 ` [PATCH 1/5] drm: Add drm_dynarray ville.syrjala
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: ville.syrjala @ 2017-07-03 13:43 UTC (permalink / raw)
  To: dri-devel; +Cc: Dhinakaran Pandiyan

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

This series refactors some of the atomic krealloc() stuff into a small helper
that avoids everyone having to do the krealloc() dance and memset() themselves.

Another thing we do is rework the private objects state handling to resemble
the normal crtc/plane/connector state handling more closely. Should make it
less cumbersome and error prone to deal with private objects.

Entire series available here:
git://github.com/vsyrjala/linux.git drm_dynarray

Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>

Ville Syrjälä (5):
  drm: Add drm_dynarray
  drm/atomic: Convert state->connectors to drm_dynarray
  drm/atomic: Remove pointless private object NULL state check
  drm/atomic: Convert private_objs to drm_dynarray
  drm/atomic: Make private objs proper objects

 Documentation/gpu/drm-utils.rst       |  15 +++
 Documentation/gpu/index.rst           |   1 +
 drivers/gpu/drm/Makefile              |   2 +-
 drivers/gpu/drm/drm_atomic.c          | 164 ++++++++++++++++++++------------
 drivers/gpu/drm/drm_atomic_helper.c   |  34 +++++--
 drivers/gpu/drm/drm_dp_mst_topology.c |  63 ++++++------
 drivers/gpu/drm/drm_dynarray.c        |  97 +++++++++++++++++++
 include/drm/drm_atomic.h              | 174 +++++++++++++++++++++-------------
 include/drm/drm_atomic_helper.h       |   4 +
 include/drm/drm_dp_mst_helper.h       |  10 ++
 include/drm/drm_dynarray.h            |  54 +++++++++++
 11 files changed, 454 insertions(+), 164 deletions(-)
 create mode 100644 Documentation/gpu/drm-utils.rst
 create mode 100644 drivers/gpu/drm/drm_dynarray.c
 create mode 100644 include/drm/drm_dynarray.h

-- 
2.13.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-07-03 17:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-03 13:43 [PATCH 0/5] drm/atomic: drm_dynarray and private obj cleanup ville.syrjala
2017-07-03 13:43 ` [PATCH 1/5] drm: Add drm_dynarray ville.syrjala
2017-07-03 13:43 ` [PATCH 2/5] drm/atomic: Convert state->connectors to drm_dynarray ville.syrjala
2017-07-03 13:43 ` [PATCH 3/5] drm/atomic: Remove pointless private object NULL state check ville.syrjala
2017-07-03 16:53   ` Daniel Vetter
2017-07-03 17:39     ` Ville Syrjälä
2017-07-03 13:43 ` [PATCH 4/5] drm/atomic: Convert private_objs to drm_dynarray ville.syrjala
2017-07-03 13:43 ` [PATCH 5/5] drm/atomic: Make private objs proper objects ville.syrjala
2017-07-03 17:00   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.