1. 25 10月, 2017 2 次提交
    • R
      drm/i915/cnl: Get RC6 working. · 0aab201b
      Rodrigo Vivi 提交于
      On CNL, individual wake rate limit was added to each engine.
      
      GT can only go to RC6 if both Render and Media engines are
      individually qualified. So we need to set their individual
      wake rate limit.
      
      +-----------------+---------------+--------------+--------------+
      |                 |    GT RC6     |  Render C6   |   Media C6   |
      +-----------------+---------------+--------------+--------------+
      | Wake rate limit | 0xA09C[31:16] | 0xA09C[15:0] | 0xA0A0[15:0] |
      +-----------------+---------------+--------------+--------------+
      
      v2: - Tune Render and Media wake rate values according to some extra
            info I got from HW engineers. Value can be tuned, but for now
            these are the recommended values.
          - Fix typos pointed by James.
      
      Cc: Nathan Ciobanu <nathan.d.ciobanu@intel.com>
      Cc: Wayne Boyer <wayne.boyer@intel.com>
      Cc: Joe Konno <joe.konno@linux.intel.com>
      Cc: David Weinehall <david.weinehall@linux.intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NJames Ausmus <james.ausmus@intel.com>
      Reviewed-by: NDavid Weinehall <david.weinehall@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171023224612.27208-1-rodrigo.vivi@intel.com
      0aab201b
    • R
      drm/i915/cnl: Force DDI_A_4_LANES when needed. · 436009b5
      Rodrigo Vivi 提交于
      As we faced in BXT, on CNL DDI_A_4_LANES is not
      set as expected when system is boot with multiple
      monitors connected. This result in wrong lane
      setup impacting the max data rate available and
      consequently blocking modeset on eDP, resulting
      in a blank screen.
      
      Most of CNL SKUs don't support DDI-E.
      The only SKU that supports DDI-E is the same
      that supports the full A/E split called DDI-F.
      
      Also when DDI-F is used DDI-E cannot be used because
      they share Interrupts. So DDI-E is almost useless.
      Anyways let's consider this is possible and rely on
      VBT for that.
      
      This patch was initialy start by Clint, but required
      many changes including full commit message. So
      Credits entirely to Clint for finding this.
      
      v2: Extract all messy conditions into a helper function
          as suggested by Ville.
          Along with simplification I removed the debug
          message on the working case since now all conditions
          are grouped.
      v3: Split the conditions even more as suggested by Ville.
          Get's cleaner and easier to add new cases in the
          future.
      Suggested-by: NClint Taylor <clinton.a.taylor@intel.com>
      Cc: Clint Taylor <clinton.a.taylor@intel.com>
      Cc: Mika Kahola <mika.kahola@intel.com>
      Cc: Jani Nikula <jani.nikula@intel.com>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171023173920.22890-1-rodrigo.vivi@intel.com
      436009b5
  2. 24 10月, 2017 5 次提交
  3. 23 10月, 2017 1 次提交
  4. 21 10月, 2017 2 次提交
  5. 20 10月, 2017 2 次提交
  6. 19 10月, 2017 13 次提交
  7. 18 10月, 2017 12 次提交
  8. 17 10月, 2017 3 次提交