1. 19 12月, 2017 1 次提交
  2. 18 12月, 2017 1 次提交
  3. 12 12月, 2017 1 次提交
  4. 11 12月, 2017 2 次提交
  5. 09 12月, 2017 1 次提交
  6. 08 12月, 2017 1 次提交
  7. 22 11月, 2017 1 次提交
  8. 21 11月, 2017 3 次提交
  9. 17 11月, 2017 1 次提交
  10. 16 11月, 2017 2 次提交
  11. 14 11月, 2017 1 次提交
  12. 13 11月, 2017 2 次提交
  13. 11 11月, 2017 1 次提交
  14. 10 11月, 2017 1 次提交
    • V
      drm/i915: Nuke intel_digital_port->port · 8f4f2797
      Ville Syrjälä 提交于
      Remove intel_digital_port->port and replace its users with
      intel_encoder->port. intel_encoder->port is a superset of
      intel_digital_port->port, and it works correctly even for
      MST encoders.
      
      v2: Eliminate a few dp_to_dig_port()->base.port cases too (DK)
      
      Performed with cocci:
      @@
      @@
      struct intel_digital_port {
             ...
      -       enum port port;
             ...
      }
      
      @@
      struct intel_digital_port *D;
      expression E;
      @@
      - D->port = E;
      
      @@
      struct intel_digital_port *D;
      @@
      - D->port
      + D->base.port
      
      @
      expression E;
      @@
      (
      - dp_to_dig_port(E)->port
      + dp_to_dig_port(E)->base.port
      |
      - enc_to_dig_port(E)->port
      + to_intel_encoder(E)->port
      )
      
      @@
      expression E;
      @@
      - to_intel_encoder(&E->base)
      + E
      
      @@
      struct intel_digital_port *D;
      identifier I, M;
      @@
        I = &D->base
      <...
      (
      - D->base.M
      + I->M
      |
      - &D->base
      + I
      )
      ...>
      
      @@
      identifier D;
      expression E;
      identifier M;
      @@
       D = enc_to_dig_port(&E->base)
      <...
      (
      - D->base.M
      + E->M
      |
      - &D->base
      + E
      )
      ...>
      
      @@
      identifier D, DP;
      expression E;
      identifier M;
      @@
       DP = enc_to_intel_dp(&E->base)
      <...
      (
      - dp_to_dig_port(DP)->base.M
      + E->M
      |
      - &dp_to_dig_port(DP)->base
      + E
      )
      ...>
      
      @@
      expression E;
      identifier M;
      @@
      (
      - enc_to_dig_port(&E->base)->base.M
      + E->M
      |
      - enc_to_dig_port(&E->base)->base
      + E
      |
      - enc_to_mst(&E->base)->primary->base.port
      + E->port
      )
      
      @@
      expression E;
      identifier D;
      @@
      - struct intel_digital_port *D = E;
      ... when != D
      
      Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Reviewed-by: NDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Acked-by: NJani Nikula <jani.nikula@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171109152434.32074-1-ville.syrjala@linux.intel.com
      8f4f2797
  15. 31 10月, 2017 1 次提交
    • V
      drm/i915: Stop frobbing with DDI encoder->type · 7e732cac
      Ville Syrjälä 提交于
      Currently the DDI encoder->type will change at runtime depending on
      what kind of hotplugs we've processed. That's quite bad since we can't
      really trust that that current value of encoder->type actually matches
      the type of signal we're trying to drive through it.
      
      Let's eliminate that problem by declaring that non-eDP DDI port will
      always have the encoder type as INTEL_OUTPUT_DDI. This means the code
      can no longer try to distinguish DP vs. HDMI based on encoder->type.
      We'll leave eDP as INTEL_OUTPUT_EDP, since it'll never change and
      there's a bunch of code that relies on that value to identify eDP
      encoders.
      
      We'll introduce a new encoder .compute_output_type() hook. This allows
      us to compute the full output_types before any encoder .compute_config()
      hooks get called, thus those hooks can rely on output_types being
      correct, which is useful for cloning on oldr platforms. For now we'll
      just look at the connector type and pick the correct mode based on that.
      In the future the new hook could be used to implement dynamic switching
      between LS and PCON modes for LSPCON.
      
      v2: Fix BXT/GLK PPS explosion with DSI/MST encoders
      v3: Avoid the PPS warn on pure HDMI/DVI DDI encoders by checking dp.output_reg
      v4: Rebase
      v5: Populate output_types in .get_config() rather than in the caller
      v5: Split out populating output_types in .get_config() (Maarten)
      
      Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171027193128.14483-3-ville.syrjala@linux.intel.comReviewed-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      7e732cac
  16. 27 10月, 2017 2 次提交
    • D
      drm/i915/guc: Add a second client, to be used for preemption · e12ab169
      Dave Gordon 提交于
      This second client is created with priority KMD_HIGH, and marked
      as preemptive. This will allow us to request preemption using GuC actions.
      
      v2: Extract clients creation into a helper, debugfs fixups. (Michał)
      Recreate doorbell on init. (Daniele)
      Move clients into an array.
      
      v3: And move clients back from an array, to get rid of the enum (Michał)
      
      v4: Use is_high_priority, move DRM_ERROR into __create_doorbell, move
      GEM_BUG_ON inside guc_clients_create (Michał)
      
      v5: Split the BUG_ON (Michał)
      
      v6: Cleanup after error during doorbell reinit (Michał)
      Signed-off-by: NDave Gordon <david.s.gordon@intel.com>
      Signed-off-by: NMichał Winiarski <michal.winiarski@intel.com>
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Jeff McGee <jeff.mcgee@intel.com>
      Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
      Cc: Oscar Mateo <oscar.mateo@intel.com>
      Reviewed-by: NMichal Wajdeczko <michal.wajdeczko@intel.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171026141737.31656-1-michal.winiarski@intel.com
      e12ab169
    • R
      drm/i915/cnl: Fix SSEU Device Status. · f8c3dcf9
      Rodrigo Vivi 提交于
      CNL adds an extra register for slice/subslice information.
      Although no SKU is planed with an extra slice let's already
      handle this extra piece of information so we don't have the
      risk in future of getting a part that might have chosen this
      part of the die instead of other slices or anything like that.
      
      Also if subslice is disabled the information of eu ack for that
      is garbage, so let's skip checks for eu if subslice is disabled
      as we skip the subslice if slice is disabled.
      
      The rest is pretty much like gen9.
      
      v2: Remove IS_CANNONLAKE from gen9 status function.
      
      v3: Consider s_max = 6 and ss_max=4 to run over all possible
          slices and subslices possible by spec. Although no real
          hardware will have that many slices/subslices.
          To match with sseu info init.
      v4: Fix offset calculation for slices 4 and 5.
          Removed Oscar's rv-b since this change also needs review.
      v5: Let's consider only valid bits for SLICE*_PGCTL_ACK.
          This looks like wrong in Spec, but seems to be enough
          for now. Whenever Spec gets updated and fixed we come
          back and properly update the masks. Also add a FIXME,
          so we can revisit this later when we find some strange
          info on debugfs or when we noitce spec got updated.
      
      Cc: Oscar Mateo <oscar.mateo@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171026001546.28203-1-rodrigo.vivi@intel.com
      f8c3dcf9
  17. 18 10月, 2017 1 次提交
  18. 17 10月, 2017 6 次提交
  19. 11 10月, 2017 4 次提交
  20. 10 10月, 2017 2 次提交
  21. 07 10月, 2017 2 次提交
  22. 06 10月, 2017 1 次提交
  23. 26 9月, 2017 1 次提交
  24. 25 9月, 2017 1 次提交