All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] drm/atomic: Add encoder_mask and connector_mask to crtc_state.
@ 2015-11-24  9:34 Maarten Lankhorst
  2015-11-24  9:34 ` [PATCH 1/9] drm/i915: Set connector_state->connector correctly Maarten Lankhorst
                   ` (8 more replies)
  0 siblings, 9 replies; 37+ messages in thread
From: Maarten Lankhorst @ 2015-11-24  9:34 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

First 2 patches are fixes for a missing connector_state->connector. The atomic code
doesn't use it currently but with these patches it causes a null pointer dereference.

It's useful to know from the crtc_state what connectors and encoders are attached.
This makes it possible to do iterations over connectors and encoders with just the
crtc_state.

The drm/tegra patch is compile tested only.

Maarten Lankhorst (9):
  drm/i915: Set connector_state->connector correctly.
  drm/tegra: Assign conn_state->connector when allocating connector
    state.
  drm/core: Add drm_encoder_index.
  drm/core: Add drm_for_each_encoder_mask.
  drm/atomic: add connector mask to drm_crtc_state.
  drm/i915: Update connector_mask during readout.
  drm/atomic: Small documentation fix.
  drm/atomic: Remove drm_atomic_connectors_for_crtc.
  drm/atomic: Add encoder_mask to crtc_state.

 drivers/gpu/drm/drm_atomic.c         | 42 +++++++++++-------------------------
 drivers/gpu/drm/drm_atomic_helper.c  | 13 ++++++-----
 drivers/gpu/drm/drm_crtc.c           | 23 ++++++++++++++++++++
 drivers/gpu/drm/i915/intel_display.c | 16 +++++++++++---
 drivers/gpu/drm/tegra/dsi.c          |  4 +++-
 drivers/gpu/drm/vc4/vc4_crtc.c       |  2 +-
 include/drm/drm_atomic.h             |  4 ----
 include/drm/drm_crtc.h               | 17 +++++++++++++++
 8 files changed, 75 insertions(+), 46 deletions(-)

-- 
2.1.0

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

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

end of thread, other threads:[~2015-12-17  9:52 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24  9:34 [PATCH 0/9] drm/atomic: Add encoder_mask and connector_mask to crtc_state Maarten Lankhorst
2015-11-24  9:34 ` [PATCH 1/9] drm/i915: Set connector_state->connector correctly Maarten Lankhorst
2015-11-24  9:34 ` [PATCH 2/9] drm/tegra: Assign conn_state->connector when allocating connector state Maarten Lankhorst
2015-11-24  9:37   ` Thierry Reding
2015-11-24 10:37   ` Daniel Vetter
2015-11-24 10:51     ` Thierry Reding
2015-11-24 11:26       ` Maarten Lankhorst
2015-11-24 13:35       ` [PATCH 1/3] drm/i915: Set connector_state->connector using the helper Maarten Lankhorst
2015-11-24 13:35         ` [PATCH 2/3] drm/atomic: Add __drm_atomic_helper_connector_reset Maarten Lankhorst
2015-12-07  9:58           ` Thierry Reding
2015-12-07  9:58           ` Thierry Reding
2015-11-24 13:35         ` [PATCH 3/3] drm/tegra: Use __drm_atomic_helper_reset_connector for subclassing connector state Maarten Lankhorst
2015-12-07 10:02           ` Thierry Reding
2015-12-08  8:13             ` Maarten Lankhorst
2015-11-24  9:34 ` [PATCH 3/9] drm/core: Add drm_encoder_index Maarten Lankhorst
2015-11-24  9:34 ` [PATCH 4/9] drm/core: Add drm_for_each_encoder_mask Maarten Lankhorst
2015-11-24 18:00   ` [Intel-gfx] " Jani Nikula
2015-11-24 18:07     ` David Herrmann
2015-11-24  9:34 ` [PATCH 5/9] drm/atomic: add connector mask to drm_crtc_state Maarten Lankhorst
2015-12-07 10:24   ` Thierry Reding
2015-11-24  9:34 ` [PATCH 6/9] drm/i915: Update connector_mask during readout Maarten Lankhorst
2015-11-24 10:38   ` Daniel Vetter
2015-11-24 11:30     ` [Intel-gfx] " Maarten Lankhorst
2015-12-07 10:36   ` Thierry Reding
2015-11-24  9:34 ` [PATCH 7/9] drm/atomic: Small documentation fix Maarten Lankhorst
2015-11-24 10:48   ` Daniel Vetter
2015-11-24  9:34 ` [PATCH 8/9] drm/atomic: Remove drm_atomic_connectors_for_crtc Maarten Lankhorst
2015-12-07 10:34   ` Thierry Reding
2015-12-08  8:30     ` Maarten Lankhorst
2015-11-24  9:34 ` [PATCH 9/9] drm/atomic: Add encoder_mask to crtc_state Maarten Lankhorst
2015-12-03  9:53   ` [Intel-gfx] " Daniel Vetter
2015-12-03 11:01     ` Maarten Lankhorst
2015-12-04  8:12       ` [Intel-gfx] " Daniel Vetter
2015-12-14 12:06         ` Maarten Lankhorst
2015-12-15  9:17           ` Daniel Vetter
2015-12-17  9:06             ` Maarten Lankhorst
2015-12-17  9:52               ` [Intel-gfx] " 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.