1. 24 12月, 2019 3 次提交
    • J
      drm/i915/tgl: Select master transcoder for MST stream · 6671c367
      José Roberto de Souza 提交于
      On TGL the blending of all the streams have moved from DDI to
      transcoder, so now every transcoder working over the same MST port must
      send its stream to a master transcoder and master will send to DDI
      respecting the time slots.
      
      So here adding all the CRTCs that shares the same MST stream if
      needed and computing their state again, it will pick the lowest
      pipe/transcoder among the ones in the same stream to be master.
      
      Most of the time skl_commit_modeset_enables() enables pipes in a
      crescent order but due DDB overlapping it might not happen, this
      scenarios will be handled in the next patch.
      
      v2:
      - Using recently added intel_crtc_state_reset() to set
      mst_master_transcoder to invalid transcoder for all non gen12 & MST
      code paths
      - Setting lowest pipe/transcoder as master, previously it was the
      first one but setting a predictable one will help in future MST e
      port sync integration
      - Moving to intel type as much as we can
      
      v3:
      - Now intel_dp_mst_master_trans_compute() returns the MST master transcoder
      - Replaced stdbool.h by linux/types.h
      - Skip the connector being checked in
      intel_dp_mst_atomic_master_trans_check()
      - Using pipe instead of transcoder to compute MST master
      
      v4:
      - renamed connector_state to conn_state
      
      v5:
      - Improved the parameters of intel_dp_mst_master_trans_compute() to
      simply code
      - Added call drm_atomic_add_affected_planes() in
      intel_dp_mst_atomic_master_trans_check() as helper could not do it
      for us
      - Removed "if (ret)" left over from v3 changes
      
      v6:
      - handled ret == I915_MAX_PIPES case in compute
      
      BSpec: 50493
      BSpec: 49190
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191223010654.67037-2-jose.souza@intel.com
      6671c367
    • J
      drm/i915/display: Share intel_connector_needs_modeset() · ee36c7c0
      José Roberto de Souza 提交于
      intel_connector_needs_modeset() will be used outside of
      intel_display.c in a future patch so it would only be necessary to
      remove the state and add the prototype to the header file.
      
      But while at it, I simplified the arguments and moved it to a better
      place intel_atomic.c.
      
      No behavior changes intended here.
      
      v3:
      - removed digital from exported version of intel_connector_needs_modeset
      - rollback connector to drm type
      
      v4:
      - Renamed new_connector_state to new_conn_state
      - Going back to drm_connector_state in
      intel_encoders_update_prepare/complete as we also have
      intel_tv_connector_state
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Lucas De Marchi <lucas.demarchi@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20191223010654.67037-1-jose.souza@intel.com
      ee36c7c0
    • J
      drm/i915: Update DRIVER_DATE to 20191223 · 3446c63a
      Jani Nikula 提交于
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      3446c63a
  2. 23 12月, 2019 16 次提交
  3. 22 12月, 2019 7 次提交
  4. 21 12月, 2019 2 次提交
  5. 20 12月, 2019 12 次提交