1. 11 5月, 2022 1 次提交
  2. 07 5月, 2022 7 次提交
  3. 04 5月, 2022 1 次提交
  4. 30 4月, 2022 1 次提交
  5. 22 4月, 2022 2 次提交
  6. 30 3月, 2022 1 次提交
  7. 24 2月, 2022 1 次提交
  8. 20 2月, 2022 2 次提交
  9. 14 2月, 2022 1 次提交
  10. 02 2月, 2022 1 次提交
    • M
      drm/i915: Only include i915_reg.h from .c files · ce2fce25
      Matt Roper 提交于
      Several of our i915 header files, have been including i915_reg.h.  This
      means that any change to i915_reg.h will trigger a full rebuild of
      pretty much every file of the driver, even those that don't have any
      kind of register access.  Let's delete the i915_reg.h include from all
      headers and add an explicit include from the .c files that truly
      need the register definitions; those that need a definition of
      i915_reg_t for a function definition can get it from i915_reg_defs.h
      instead.
      
      We also remove two non-register #define's (VLV_DISPLAY_BASE and
      GEN12_SFC_DONE_MAX) into i915_reg_defs.h to allow us to drop the
      i915_reg.h include from a couple of headers.
      
      There's probably a lot more header dependency optimization possible, but
      the changes here roughly cut the number of files compiled after 'touch
      i915_reg.h' in half --- a good first step.
      
      Cc: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NLucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220127234334.4016964-7-matthew.d.roper@intel.com
      ce2fce25
  11. 27 1月, 2022 1 次提交
    • D
      drm/i915/wopcm: Handle pre-programmed WOPCM registers · db3b3f3e
      Daniele Ceraolo Spurio 提交于
      Starting from DG2, some of the programming previously done by i915 and
      the GuC has been moved to the GSC and the relevant registers are no
      longer writable by either CPU or GuC. This is also referred to as GuC
      deprivilege.
      On the i915 side, this affects the WOPCM registers: these are no longer
      programmed by the driver and we do instead expect to find them already
      set. This can lead to verification failures because in i915 we cheat a bit
      with the WOPCM size defines, to keep the code common across platforms, by
      sometimes using a smaller WOPCM size that the actual HW support (which isn't
      a problem because the extra size is not needed if the FW fits in the smaller
      chunk), while the pre-programmed values can use the actual size.
      Given tha the new programming entity is trusted, relax the amount of the
      checks done on the pre-programmed values by not limiting the max
      programmed size. In the extremely unlikely scenario that the registers
      have been misprogrammed, we will still fail later at DMA time.
      
      v2: drop special case for DG2 G10 A0 (Alan)
      Signed-off-by: NDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Cc: Stuart Summers <stuart.summers@intel.com>
      Cc: John Harrison <john.c.harrison@intel.com>
      Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
      Reviewed-by: NAlan Previn <alan.previn.teres.alexis@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220120212947.3440448-1-daniele.ceraolospurio@intel.com
      db3b3f3e
  12. 20 12月, 2021 1 次提交
  13. 15 12月, 2021 1 次提交
  14. 13 12月, 2021 1 次提交
  15. 10 12月, 2021 1 次提交
  16. 09 12月, 2021 2 次提交
  17. 07 12月, 2021 1 次提交
  18. 04 12月, 2021 1 次提交
  19. 24 11月, 2021 1 次提交
  20. 23 11月, 2021 1 次提交
  21. 19 11月, 2021 2 次提交
  22. 17 11月, 2021 1 次提交
  23. 15 11月, 2021 1 次提交
  24. 03 11月, 2021 1 次提交
  25. 05 10月, 2021 1 次提交
  26. 07 9月, 2021 1 次提交
  27. 31 8月, 2021 1 次提交
  28. 26 8月, 2021 1 次提交
  29. 21 8月, 2021 1 次提交
  30. 13 8月, 2021 1 次提交