[PATCH v4 00/27] drm/i915: Convert to atomic, part 2.

Maarten Lankhorst
2015-06-01T10:50:31Z

The goal of this patch series is to implement hardware readout using
atomic state, and restore sw state with a single call to intel_set_mode.

After that's done intel_crtc_control can be safely converted to
atomic modeset, because nothing relies on transitional state any
more.

This patch series slightly reduces some uses of crtc->config and
crtc->active, but doesn't remove it completely.

Changes since previous versions are noted in each commit, but roughly:
- Add intel_display_suspend helper function.
- Move 'Zap call to drm_plane_helper_disable' to some place later
where it doesn't introduce warnings.
- Add some more patches to silence some warnings:
+ drm/i915: Make sure all planes and connectors are added on modeset.
+ drm/i915: update plane state during init
+ drm/i915: do not wait for vblank when crtc is off
- Make sure plane_mask is kept closer to reality, so plane disabling
will work correctly later on.

Ander Conselvan de Oliveira (6):
drm/i915: Make __intel_set_mode() take only atomic state as argument
drm/i915: Set mode_changed for audio in intel_modeset_pipe_config()
drm/i915: Support modeset across multiple pipes
drm/i915: Use global atomic state for staged pll config, v2.
drm/i915: Move cdclk and pll setup to intel_modeset_compute_config(), v2.
drm/i915: Read hw state into an atomic state struct, v2.

Maarten Lankhorst (21):
drm/i915: get rid of put_shared_dpll
drm/i915: get rid of intel_crtc_disable and related code, v3
drm/i915: add intel_display_suspend, v2
drm/i915: use intel_crtc_control everywhere, v3.
drm/i915: Use drm_atomic_helper_update_legacy_modeset_state, v2.
drm/i915: Use crtc_state->active instead of crtc_state->enable
drm/i915: Make sure all planes and connectors are added on modeset.
drm/i915: update plane state during init
drm/i915: do not wait for vblank when crtc is off
drm/i915: calculate primary visibility changes instead of calling from set_config
drm/i915: Zap call to drm_plane_helper_disable, v2.
drm/i915: Use drm_atomic_helper_swap_state in intel_atomic_commit.
drm/i915: Swap planes on each crtc separately, v2.
drm/i915: Implement intel_crtc_control using atomic state, v4
drm/i915: Make intel_display_suspend atomic, v2.
drm/i915: move swap state to the right place
drm/i915: Use crtc->hwmode for vblanks, v2.
drm/i915: Remove use of crtc->config from i915_debugfs.c
drm/i915: Calculate haswell plane workaround, v5.
drm/i915: Use atomic state for calculating DVO_2X_MODE on i830.
drm/i915: use calculated state for vblank evasion

drivers/gpu/drm/i915/i915_debugfs.c | 50 +-
drivers/gpu/drm/i915/i915_drv.c | 7 +-
drivers/gpu/drm/i915/i915_drv.h | 2 -
drivers/gpu/drm/i915/i915_irq.c | 13 +-
drivers/gpu/drm/i915/intel_atomic.c | 96 ++-
drivers/gpu/drm/i915/intel_display.c | 1248 +++++++++++++++++-----------------
drivers/gpu/drm/i915/intel_drv.h | 35 +-
7 files changed, 744 insertions(+), 707 deletions(-)