dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] prepare for preparing for atomic
@ 2014-05-28 23:57 Rob Clark
  2014-05-28 23:57 ` [PATCH 1/8] drm: add object property type Rob Clark
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Rob Clark @ 2014-05-28 23:57 UTC (permalink / raw)
  To: dri-devel

As suggested by Daniel, splitting out ww_mutex conversion and a few
other bits out.

Daniel Vetter (1):
  drm: Split connection_mutex out of mode_config.mutex (v2)

Rob Clark (6):
  drm: add object property type
  drm: add signed-range property type
  drm: helpers to find mode objects
  drm: spiff out FB refcnting traces
  drm: push locking down into restore_fbdev_mode (v2)
  drm: convert crtc and connection_mutex to ww_mutex

Ville Syrjälä (1):
  drm: Allow drm_mode_object_find() to look up an object of any type

 drivers/gpu/drm/Makefile                   |   2 +-
 drivers/gpu/drm/armada/armada_fbdev.c      |   4 +-
 drivers/gpu/drm/drm_crtc.c                 | 263 ++++++++++++++++++-----------
 drivers/gpu/drm/drm_crtc_helper.c          |   1 +
 drivers/gpu/drm/drm_edid.c                 |   2 +
 drivers/gpu/drm/drm_fb_cma_helper.c        |   9 +-
 drivers/gpu/drm/drm_fb_helper.c            |  33 +++-
 drivers/gpu/drm/drm_modeset_lock.c         | 187 ++++++++++++++++++++
 drivers/gpu/drm/drm_plane_helper.c         |   7 +
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c  |   4 +-
 drivers/gpu/drm/gma500/psb_drv.c           |   4 +-
 drivers/gpu/drm/i915/intel_crt.c           |   5 +-
 drivers/gpu/drm/i915/intel_display.c       |  55 ++++--
 drivers/gpu/drm/i915/intel_dp.c            |   1 +
 drivers/gpu/drm/i915/intel_drv.h           |   6 +-
 drivers/gpu/drm/i915/intel_fbdev.c         |   6 +-
 drivers/gpu/drm/i915/intel_sprite.c        |   2 +-
 drivers/gpu/drm/i915/intel_tv.c            |   5 +-
 drivers/gpu/drm/msm/msm_drv.c              |   7 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c        |  10 +-
 drivers/gpu/drm/omapdrm/omap_drv.c         |   4 +-
 drivers/gpu/drm/omapdrm/omap_fb.c          |   1 +
 drivers/gpu/drm/radeon/radeon_connectors.c |   1 +
 drivers/gpu/drm/tegra/fb.c                 |   7 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c        |   8 +-
 include/drm/drmP.h                         |   5 -
 include/drm/drm_crtc.h                     |  87 +++++++++-
 include/drm/drm_fb_helper.h                |   1 +
 include/drm/drm_modeset_lock.h             | 139 +++++++++++++++
 include/uapi/drm/drm_mode.h                |  18 ++
 30 files changed, 708 insertions(+), 176 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_modeset_lock.c
 create mode 100644 include/drm/drm_modeset_lock.h

-- 
1.9.3

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [PATCH 0/8] prepare for preparing for atomic (v2)
@ 2014-05-30 17:12 Rob Clark
  2014-05-30 17:12 ` [PATCH 5/8] drm: spiff out FB refcnting traces Rob Clark
  0 siblings, 1 reply; 24+ messages in thread
From: Rob Clark @ 2014-05-30 17:12 UTC (permalink / raw)
  To: dri-devel

As suggested by Daniel, splitting out ww_mutex conversion and a few
other bits out.  Updated connection_mutex which fixes a few things,
plus split up addition of extended property types from adding object
property and pull in addition of _restore_fbdev_mode_unlocked() as
it does not depend on atomic.

Can be found at:

  http://cgit.freedesktop.org/~robclark/linux/log/?h=atomic-prep
  git://people.freedesktop.org/~robclark/linux atomic-prep

Daniel Vetter (1):
  drm: Split connection_mutex out of mode_config.mutex (v3)

Rob Clark (7):
  drm: helpers to find mode objects
  drm: add extended property types
  drm: add object property type
  drm: add signed-range property type
  drm: spiff out FB refcnting traces
  drm: convert crtc and connection_mutex to ww_mutex (v3)
  drm: add drm_fb_helper_restore_fbdev_mode_unlocked()

 drivers/gpu/drm/Makefile                   |   2 +-
 drivers/gpu/drm/armada/armada_fbdev.c      |   4 +-
 drivers/gpu/drm/drm_crtc.c                 | 295 +++++++++++++++++++----------
 drivers/gpu/drm/drm_crtc_helper.c          |   1 +
 drivers/gpu/drm/drm_edid.c                 |   2 +
 drivers/gpu/drm/drm_fb_cma_helper.c        |   9 +-
 drivers/gpu/drm/drm_fb_helper.c            |  55 ++++--
 drivers/gpu/drm/drm_modeset_lock.c         | 179 +++++++++++++++++
 drivers/gpu/drm/drm_plane_helper.c         |   7 +
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c  |   4 +-
 drivers/gpu/drm/gma500/psb_drv.c           |   4 +-
 drivers/gpu/drm/i915/i915_debugfs.c        |   4 +-
 drivers/gpu/drm/i915/i915_drv.c            |   4 +-
 drivers/gpu/drm/i915/intel_crt.c           |   5 +-
 drivers/gpu/drm/i915/intel_display.c       |  60 ++++--
 drivers/gpu/drm/i915/intel_dp.c            |  15 +-
 drivers/gpu/drm/i915/intel_drv.h           |   6 +-
 drivers/gpu/drm/i915/intel_fbdev.c         |   6 +-
 drivers/gpu/drm/i915/intel_opregion.c      |   4 +-
 drivers/gpu/drm/i915/intel_overlay.c       |   4 +-
 drivers/gpu/drm/i915/intel_panel.c         |   8 +-
 drivers/gpu/drm/i915/intel_sprite.c        |   2 +-
 drivers/gpu/drm/i915/intel_tv.c            |   5 +-
 drivers/gpu/drm/msm/msm_drv.c              |   7 +-
 drivers/gpu/drm/omapdrm/omap_crtc.c        |  10 +-
 drivers/gpu/drm/omapdrm/omap_drv.c         |   4 +-
 drivers/gpu/drm/omapdrm/omap_fb.c          |   1 +
 drivers/gpu/drm/radeon/radeon_connectors.c |   1 +
 drivers/gpu/drm/tegra/fb.c                 |   7 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c        |   8 +-
 include/drm/drmP.h                         |   5 -
 include/drm/drm_crtc.h                     |  81 +++++++-
 include/drm/drm_fb_helper.h                |   1 +
 include/drm/drm_modeset_lock.h             | 103 ++++++++++
 include/uapi/drm/drm_mode.h                |  15 ++
 35 files changed, 716 insertions(+), 212 deletions(-)
 create mode 100644 drivers/gpu/drm/drm_modeset_lock.c
 create mode 100644 include/drm/drm_modeset_lock.h

-- 
1.9.3

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

end of thread, other threads:[~2014-05-30 17:12 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-28 23:57 [PATCH 0/8] prepare for preparing for atomic Rob Clark
2014-05-28 23:57 ` [PATCH 1/8] drm: add object property type Rob Clark
2014-05-29  8:01   ` David Herrmann
2014-05-29 11:45     ` Rob Clark
2014-05-30  7:57   ` Thierry Reding
2014-05-30 12:00     ` Rob Clark
2014-05-28 23:57 ` [PATCH 2/8] drm: add signed-range " Rob Clark
2014-05-29  8:29   ` David Herrmann
2014-05-29 11:51     ` Rob Clark
2014-05-28 23:57 ` [PATCH 3/8] drm: helpers to find mode objects Rob Clark
2014-05-28 23:57 ` [PATCH 4/8] drm: Allow drm_mode_object_find() to look up an object of any type Rob Clark
2014-05-29 11:18   ` Daniel Vetter
2014-05-29 12:01     ` Rob Clark
2014-05-29 12:17       ` Daniel Vetter
2014-05-28 23:57 ` [PATCH 5/8] drm: spiff out FB refcnting traces Rob Clark
2014-05-29  8:36   ` David Herrmann
2014-05-28 23:57 ` [PATCH 6/8] drm: push locking down into restore_fbdev_mode (v2) Rob Clark
2014-05-28 23:57 ` [PATCH 7/8] drm: Split connection_mutex out of mode_config.mutex (v2) Rob Clark
2014-05-28 23:57 ` [PATCH 8/8] drm: convert crtc and connection_mutex to ww_mutex Rob Clark
2014-05-29 11:22   ` Daniel Vetter
2014-05-29 12:07     ` Rob Clark
2014-05-29 12:59       ` [PATCH 1/2] v2 (Daniel): - Readd lost include. - Drop all the additional complexity which we only need later: The basic ww dance only requires the lock list and the contended pointer, nothing more. Some of the stuff also looks very suspicious. - Improve the contended checks a bit to make sure we only get an -EALREADY when we expect it. - Add an interruptible backoff function just to be complete (since otherwise the interruptible locking function makes 0 sense at all). - Inline the slowpath (due to the above). - Move ww_acquire_fini into drm_modeset_acquire_fini. I suspect this has been due to the confusion about the lifetime of the acquire ctx wrt the locking retry loop. - Drop uapi changes, they really shouldn't be in this patch. - s/!ret/ret == 0/ because I got confused - I tend to use !ret only for booleans or pointers, not for errno integer return values Daniel Vetter
2014-05-29 12:59         ` [PATCH 2/2] Revert "v2 (Daniel):" Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2014-05-30 17:12 [PATCH 0/8] prepare for preparing for atomic (v2) Rob Clark
2014-05-30 17:12 ` [PATCH 5/8] drm: spiff out FB refcnting traces Rob Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox