1. Jun 16, 2018
  2. Jun 15, 2018
  3. Jun 14, 2018
  4. Jun 09, 2018
  5. Jun 08, 2018
  6. Jun 07, 2018
  7. Jun 05, 2018
  8. Jun 04, 2018
    • Archit Taneja's avatar
      drm/msm: Don't subclass drm_atomic_state anymore · c21c731d
      Archit Taneja authored
      
      
      With the addition of "private_objs" in drm_atomic_state, we no longer
      need to subclass drm_atomic_state to store state of share resources
      that don't perfectly fit within planes/crtc/connector state information.
      We can now save this state within drm_atomic_state itself using
      the private objects.
      
      Remove the infrastructure that allowed subclassing of drm_atomic_state
      in the driver.
      
      Changes in v3:
      - Added to the msm atomic helper patch set
      Changes in v4:
      - None
      
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      c21c731d
    • Archit Taneja's avatar
      drm/msm/mdp5: Use the new private_obj state · 7907a0d7
      Archit Taneja authored
      
      
      This replaces the usage of the subclassed atomic state (mdp5_state)
      with a private_obj state embedded within drm_atomic_state. The latter
      method is the preferred approach, since it's simpler to implement
      and less prone to errors.
      
      The new API replaces the older and equivalent mdp5_state usage in the
      following pattern:
      - References to "mdp5_kms->state" (i.e, the old/existing state) is
        replaced with mdp5_get_existing_global_state(). In the atomic_check
        path, this should be called with the glob_state_lock drm_modeset_lock
        alredy taken.
      - References to "mdp5_get_state()" are replaced with
        mdp5_get_global_state(). This acquires glob_state_lock and uses
        drm_atomic_get_private_obj_state() to create a new duplicated state.
      
      Changes in v3:
      - Acquire glob_state_lock in mdp5_smp.c
      - Added to the msm atomic helper patch set
      Changes in v4:
      - None
      
      Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
      Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
      Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
      7907a0d7