All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/22] drm/i915: Fix pre-g4x GPU reset, again (v2)
@ 2017-07-06 20:24 ville.syrjala
  2017-07-06 20:24 ` [PATCH 01/22] drm/i915: Pass the new crtc state to color management code ville.syrjala
                   ` (23 more replies)
  0 siblings, 24 replies; 41+ messages in thread
From: ville.syrjala @ 2017-07-06 20:24 UTC (permalink / raw)
  To: intel-gfx; +Cc: dri-devel

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

OK, so here's the full version of my rw_semaphore GPU vs. display reset
fix.

The only issue I'm aware of is that SKL watermark code still uses
obj->state and thus I have no clue what would happen if one tries to
run this on SKL. Untangling that would likely mean making the SKL wm
code more in line with the g4x/vlv/chv code (ie. track things in the
crtc state). I decided not to embark on that quest at this time.

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

Ville Syrjälä (22):
  drm/i915: Pass the new crtc state to color management code
  drm/i915: Pass the crtc state explicitly to
    intel_pipe_update_start/end()
  drm/i915: Eliminate obj->state usage in g4x/vlv/chv wm computation
  drm/i915: Pass proper old/new states to
    intel_plane_atomic_check_with_state()
  drm/i915: Eliminate obj->state usage from pre/post plane update
  drm/i915: Eliminate crtc->state usage from intel_update_pipe_config()
  drm/i915: Eliminate crtc->state usage from intel_atomic_commit_tail
    and .crtc_update()
  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
  drm/atomic: Pass old state to
    __drm_atomic_helper_crtc_duplicate_state() & co. explicitly
  drm/arm: s/old_state/old_mali_state/
  drm/mediatek: s/old_state/old_mtk_state/
  drm/atomic: Pass old state explicitly to .atomic_duplicate_state()
  drm/atomic: Fix up the kernel docs for the state duplication functions
  drm: Return the connector from drm_connector_get()
  drm/i915% Store vma gtt offset in plane state
  drm/i915: Refactor __intel_atomic_commit_tail()
  drm/atomic: Introduce drm_atomic_helper_duplicate_commited_state()
  drm/i915: Solve the GPU reset vs. modeset deadlocks with an
    rw_semaphore

 Documentation/gpu/drm-utils.rst                 |  15 ++
 Documentation/gpu/index.rst                     |   1 +
 drivers/gpu/drm/Makefile                        |   2 +-
 drivers/gpu/drm/arm/malidp_crtc.c               |  18 +-
 drivers/gpu/drm/arm/malidp_planes.c             |  10 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c  |  10 +-
 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c |   5 +-
 drivers/gpu/drm/drm_atomic.c                    | 174 +++++++-----
 drivers/gpu/drm/drm_atomic_helper.c             | 318 ++++++++++++++++++++--
 drivers/gpu/drm/drm_crtc_helper.c               |  12 +-
 drivers/gpu/drm/drm_dp_mst_topology.c           |  65 +++--
 drivers/gpu/drm/drm_dynarray.c                  |  97 +++++++
 drivers/gpu/drm/drm_fb_helper.c                 |   7 +-
 drivers/gpu/drm/drm_plane_helper.c              |  12 +-
 drivers/gpu/drm/exynos/exynos_drm_plane.c       |   8 +-
 drivers/gpu/drm/i915/i915_drv.h                 |  11 +
 drivers/gpu/drm/i915/intel_atomic.c             |  16 +-
 drivers/gpu/drm/i915/intel_atomic_plane.c       |  47 ++--
 drivers/gpu/drm/i915/intel_display.c            | 342 ++++++++++++++++--------
 drivers/gpu/drm/i915/intel_drv.h                |  52 +++-
 drivers/gpu/drm/i915/intel_pm.c                 |  30 +--
 drivers/gpu/drm/i915/intel_sdvo.c               |   9 +-
 drivers/gpu/drm/i915/intel_sprite.c             |  37 +--
 drivers/gpu/drm/imx/ipuv3-crtc.c                |   6 +-
 drivers/gpu/drm/imx/ipuv3-plane.c               |   8 +-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c         |   6 +-
 drivers/gpu/drm/mediatek/mtk_drm_plane.c        |  10 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c        |  10 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c       |  14 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c     |   8 +-
 drivers/gpu/drm/nouveau/nouveau_connector.h     |   3 +-
 drivers/gpu/drm/nouveau/nv50_display.c          |  16 +-
 drivers/gpu/drm/rcar-du/rcar_du_plane.c         |  10 +-
 drivers/gpu/drm/rcar-du/rcar_du_vsp.c           |  10 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c     |   6 +-
 drivers/gpu/drm/tegra/dc.c                      |  16 +-
 drivers/gpu/drm/tegra/dsi.c                     |   8 +-
 drivers/gpu/drm/tegra/sor.c                     |   8 +-
 drivers/gpu/drm/vc4/vc4_crtc.c                  |   6 +-
 drivers/gpu/drm/vc4/vc4_plane.c                 |  10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c             |  26 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h             |   9 +-
 include/drm/drm_atomic.h                        | 179 ++++++++-----
 include/drm/drm_atomic_helper.h                 |  31 ++-
 include/drm/drm_connector.h                     |  23 +-
 include/drm/drm_crtc.h                          |  16 +-
 include/drm/drm_dp_mst_helper.h                 |  10 +
 include/drm/drm_dynarray.h                      |  54 ++++
 include/drm/drm_plane.h                         |  16 +-
 49 files changed, 1324 insertions(+), 493 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] 41+ messages in thread

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

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-06 20:24 [PATCH v2 00/22] drm/i915: Fix pre-g4x GPU reset, again (v2) ville.syrjala
2017-07-06 20:24 ` [PATCH 01/22] drm/i915: Pass the new crtc state to color management code ville.syrjala
2017-07-06 20:24 ` [PATCH 02/22] drm/i915: Pass the crtc state explicitly to intel_pipe_update_start/end() ville.syrjala
2017-07-06 20:24 ` [PATCH 03/22] drm/i915: Eliminate obj->state usage in g4x/vlv/chv wm computation ville.syrjala
2017-07-06 20:24 ` [PATCH 04/22] drm/i915: Pass proper old/new states to intel_plane_atomic_check_with_state() ville.syrjala
2017-07-10  9:04   ` Maarten Lankhorst
2017-07-10 13:30     ` Ville Syrjälä
2017-07-10 14:59   ` [PATCH v2 " ville.syrjala
2017-07-06 20:24 ` [PATCH 05/22] drm/i915: Eliminate obj->state usage from pre/post plane update ville.syrjala
2017-07-06 20:24 ` [PATCH 06/22] drm/i915: Eliminate crtc->state usage from intel_update_pipe_config() ville.syrjala
2017-07-06 20:24 ` [PATCH 07/22] drm/i915: Eliminate crtc->state usage from intel_atomic_commit_tail and .crtc_update() ville.syrjala
2017-07-10  9:20   ` [Intel-gfx] " Maarten Lankhorst
2017-07-06 20:24 ` [PATCH 08/22] drm: Add drm_dynarray ville.syrjala
2017-07-06 20:24 ` [PATCH 09/22] drm/atomic: Convert state->connectors to drm_dynarray ville.syrjala
2017-07-06 20:24 ` [PATCH 10/22] drm/atomic: Remove pointless private object NULL state check ville.syrjala
2017-07-06 20:24 ` [PATCH 11/22] drm/atomic: Convert private_objs to drm_dynarray ville.syrjala
2017-07-06 20:24 ` [PATCH 12/22] drm/atomic: Make private objs proper objects ville.syrjala
2017-07-06 20:24 ` [PATCH 13/22] drm/atomic: Pass old state to __drm_atomic_helper_crtc_duplicate_state() & co. explicitly ville.syrjala
2017-07-06 20:24 ` [PATCH 14/22] drm/arm: s/old_state/old_mali_state/ ville.syrjala
2017-07-06 20:24 ` [PATCH 15/22] drm/mediatek: s/old_state/old_mtk_state/ ville.syrjala
2017-07-06 20:24 ` [PATCH 16/22] drm/atomic: Pass old state explicitly to .atomic_duplicate_state() ville.syrjala
2017-07-06 20:24 ` [PATCH 17/22] drm/atomic: Fix up the kernel docs for the state duplication functions ville.syrjala
2017-07-06 20:24 ` [PATCH 18/22] drm: Return the connector from drm_connector_get() ville.syrjala
2017-07-10  9:21   ` [Intel-gfx] " Maarten Lankhorst
2017-07-06 20:24 ` [PATCH 19/22] drm/i915% Store vma gtt offset in plane state ville.syrjala
2017-07-06 20:24 ` [PATCH 20/22] drm/i915: Refactor __intel_atomic_commit_tail() ville.syrjala
2017-07-06 20:24 ` [PATCH v3 21/22] drm/atomic: Introduce drm_atomic_helper_duplicate_commited_state() ville.syrjala
2017-07-07 12:03   ` [Intel-gfx] " Daniel Vetter
2017-07-07 13:21     ` Ville Syrjälä
2017-07-07 14:05       ` Daniel Vetter
2017-07-07 15:18         ` Ville Syrjälä
2017-07-10  6:43           ` Daniel Vetter
2017-07-10  9:31             ` Maarten Lankhorst
2017-07-10 12:18               ` Ville Syrjälä
2017-07-10 13:26                 ` [Intel-gfx] " Maarten Lankhorst
2017-07-10 13:56                   ` Ville Syrjälä
2017-07-10 14:47                   ` Daniel Vetter
2017-07-06 20:24 ` [PATCH v5 22/22] drm/i915: Solve the GPU reset vs. modeset deadlocks with an rw_semaphore ville.syrjala
2017-07-10  6:48   ` Daniel Vetter
2017-07-06 21:31 ` ✓ Fi.CI.BAT: success for drm/i915: Fix pre-g4x GPU reset, again (rev3) Patchwork
2017-07-10 15:17 ` ✓ Fi.CI.BAT: success for drm/i915: Fix pre-g4x GPU reset, again (rev4) Patchwork

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.