1. 13 3月, 2021 4 次提交
  2. 03 3月, 2021 6 次提交
  3. 18 2月, 2021 1 次提交
  4. 08 2月, 2021 1 次提交
  5. 29 1月, 2021 1 次提交
  6. 26 1月, 2021 8 次提交
  7. 21 1月, 2021 1 次提交
  8. 15 1月, 2021 1 次提交
  9. 01 12月, 2020 1 次提交
  10. 17 11月, 2020 4 次提交
  11. 16 11月, 2020 2 次提交
  12. 13 11月, 2020 1 次提交
  13. 11 11月, 2020 1 次提交
  14. 29 10月, 2020 1 次提交
  15. 17 10月, 2020 1 次提交
    • V
      drm/i915: Apply WAC6entrylatency to kbl/cfl · 4d6bde58
      Ville Syrjälä 提交于
      WAC6entrylatency is trying to fix excessive rc6 entry latency caused
      by the extra delay from FBC_LLC_READ_CTRL, which is there for some
      extra sync with uncore for frame buffer caching in LLC.
      
      Reading through the hsd the recommendation was to set the FBC_LLC_FULLY_OPEN
      bit to disable this extra delay entirely. This can be done whenever fb LLC
      caching is not used. The alternative suggestion was to reduce the delay to
      eg. 0x5 via updated BIOS programming instructions. But all the kbl/cfl
      machines I've seen still have the default 0xff programmed. As we never use
      fb LLC caching let's just apply the w/a to all skl derivatives to get
      consistent rc6 latencies.
      
      I was able to measure the effect of FBC_LLC_READ_CTRL to rc6 latency
      via forcewake. Here's a graph of some of the results:
      
                   sleep;fw_req=1;wait fw_ack==1;sleep;fw_req=0;wait fw_ack==0
       fw_ack==1 duration
          160us +----------------------------------------------------------------+
                |          +          +        $$+         +          +          |
                |  $$           $    $   ******$$ **   $ $**$*  #########$$######|
          140us |-$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*$$$$$$$$$$$$$$$$ $$$$$$|
                | $                     *                       #                |
                | $                     *                       #                |
          120us |$+                     *                       #              +-|
                |$                      *                       #                |
                |$                      *                  #   #                 |
          100us |$+         ************########################               +-|
                |$          *          *#                                        |
                |$      *****   #########                                        |
           80us |$+     *    # ####   ##                                       +-|
                |$   **** ### # #                                                |
                |  ** ####                     FBC_LLC_READ_CTRL: 0x8000 ******* |
           60us |-######                       FBC_LLC_READ_CTRL: 0xffff #######-|
                |##        +          +    FBC_LLC_READ_CTRL: 0x400000ff $$$$$$$ |
                +----------------------------------------------------------------+
               0ms       10ms       20ms       30ms      40ms       50ms       60ms
                                         sleep duration
      
      The default FBC_LLC_READ_CTRL value of 0xff is documented to give us
      a 170usec delay. That tracks well with the knees at 0xffff->~44msec and
      0x8000->~22msec we see in the graph.
      
      We can see that if we sleep longer than the FBC_LLC_READ_CTRL delay
      we always observe the full (~145usec) rc6 wakeup latency. But if we sleep
      for less than the FBC_LLC_READ_CTRL delay we see a quicker fw wakeup,
      presumably due the hardware not having yet entered rc6 fully.
      The other plateaus in the graph I suspect correspond to some shallower
      internal rc states.
      
      v2: s/usec/msec/ typo in commit msg
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200716190426.17047-2-ville.syrjala@linux.intel.comReviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      4d6bde58
  16. 16 10月, 2020 1 次提交
  17. 28 9月, 2020 1 次提交
  18. 29 8月, 2020 1 次提交
    • J
      drm/i915/tgl: Fix stepping WA matching · c33298cb
      José Roberto de Souza 提交于
      TGL made stepping a litte mess, workarounds refer to the stepping of
      the IP(GT or Display) not of the GPU stepping so it would already
      require the same solution as used in commit 96c5a15f
      ("drm/i915/kbl: Fix revision ID checks").
      But to make things even more messy it have a different IP stepping
      mapping between SKUs and the same stepping revision of GT do not match
      the same HW between TGL U/Y and regular TGL.
      
      So it was required to have 2 different macros to check GT WAs while
      for Display we are able to use just one macro that uses the right
      revids table.
      
      All TGL workarounds checked and updated accordingly.
      
      v2:
      - removed TODO to check if WA 14010919138 applies to regular TGL.
      - fixed display stepping in regular TGL (Anusha)
      
      BSpec: 52890
      BSpec: 55378
      BSpec: 44455
      Reviewed-by: NAnusha Srivatsa <anusha.srivtsa@intel.com>
      Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
      Cc: Penne Lee <penne.y.lee@intel.com>
      Cc: Guangyao Bai <guangyao.bai@intel.com>
      Cc: Matt Roper <matthew.d.roper@intel.com>
      Signed-off-by: NJosé Roberto de Souza <jose.souza@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200827233943.400946-1-jose.souza@intel.com
      c33298cb
  19. 18 8月, 2020 2 次提交
  20. 09 7月, 2020 1 次提交