1. 24 Feb, 2022 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2022-02-23' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 7f44571b
      Dave Airlie authored
      Linux core:
      -----------
      iosys-map: Add offset to iosys_map_memcpy_to() (Lucas)
      iosys-map: Add a few more helpers (Lucas)
      
      i915 (display and core changes on drm-intel-next):
      --------------------------------------------------
      
      - Display's DBuf and watermark related fixes and improvements (Ville)
      - More i915 header and other code clean-up (Jani)
      - Display IPS fixes and improvements (Ville)
      - OPRegion fixes and cleanups (Jani)
      - Fix the plane end Y offset check for FBC (Ville)
      - DP 128b/132b updates (Jani)
      - Disable runtime pm wakeref tracking for the mock device selftest (Ville)
      - Many display code clean-up while targeting to fix up DP DFP 4:2:0 handling (Ville)
      - Bigjoiner state tracking and more bigjoiner related work (Ville)
      - Update DMC_DEBUG3 register for DG1 (Chuansheng)
      - SAGV fixes (Ville)
      - More GT register cleanup (Matt)
      - Fix build issue when using clang (Tong)
      - Display DG2 fixes (Matt)
      - ADL-P PHY related fixes (Imre)
      - PSR2 fixes (Jose)
      - Add PCH Support for Alder Lake N (Tejas)
      
      drm-intel-gt-next (drm-intel-gt-next-2022-02-17):
      -------------------------------------------------
      UAPI Changes:
      
      - Weak parallel submission support for execlists
      
        Minimal implementation of the parallel submission support for
        execlists backend that was previously only implemented for GuC.
        Support one sibling non-virtual engine.
      
      Core Changes:
      
      - Two backmerges of drm/drm-next for header file renames/changes and
        i915_regs reorganization
      
      Driver Changes:
      
      - Add new DG2 subplatform: DG2-G12 (Matt R)
      - Add new DG2 workarounds (Matt R, Ram, Bruce)
      - Handle pre-programmed WOPCM registers for DG2+ (Daniele)
      - Update guc shim control programming on XeHP SDV+ (Daniele)
      - Add RPL-S C0/D0 stepping information (Anusha)
      - Improve GuC ADS initialization to work on ARM64 on dGFX (Lucas)
      
      - Fix KMD and GuC race on accessing PMU busyness (Umesh)
      - Use PM timestamp instead of RING TIMESTAMP for reference in PMU with GuC (Umesh)
      - Report error on invalid reset notification from GuC (John)
      - Avoid WARN splat by holding RPM wakelock during PXP unbind (Juston)
      - Fixes to parallel submission implementation (Matt B.)
      - Improve GuC loading status check/error reports (John)
      - Tweak TTM LRU priority hint selection (Matt A.)
      - Align the plane_vma to min_page_size of stolen mem (Ram)
      
      - Introduce vma resources and implement async unbinding (Thomas)
      - Use struct vma_resource instead of struct vma_snapshot (Thomas)
      - Return some TTM accel move errors instead of trying memcpy move (Thomas)
      - Fix a race between vma / object destruction and unbinding (Thomas)
      - Remove short-term pins from execbuf (Maarten)
      - Update to GuC version 69.0.3 (John, Michal Wa.)
      - Improvements to GT reset paths in GuC backend (Matt B.)
      - Use shrinker_release_pages instead of writeback in shmem object hooks (Matt A., Tvrtko)
      - Use trylock instead of blocking lock when freeing GEM objects (Maarten)
      - Allocate intel_engine_coredump_alloc with ALLOW_FAIL (Matt B.)
      - Fixes to object unmapping and purging (Matt A)
      - Check for wedged device in GuC backend (John)
      - Avoid lockdep splat by locking dpt_obj around set_cache_level (Maarten)
      - Allow dead vm to unbind vma's without lock (Maarten)
      - s/engine->i915/i915/ for DG2 engine workarounds (Matt R)
      
      - Use to_gt() helper for GGTT accesses (Michal Wi.)
      - Selftest improvements (Matt B., Thomas, Ram)
      - Coding style and compiler warning fixes (Matt B., Jasmine, Andi, Colin, Gustavo, Dan)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/YhbDan8wNZBR6FzF@intel.com
      7f44571b
  2. 23 Feb, 2022 9 commits
  3. 22 Feb, 2022 1 commit
  4. 21 Feb, 2022 6 commits
  5. 20 Feb, 2022 3 commits
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-5.18-2022-02-18' of... · 0a131b69
      Dave Airlie authored
      Merge tag 'amd-drm-next-5.18-2022-02-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-next
      
      amd-drm-next-5.18-2022-02-18:
      
      amdgpu:
      - kerneldoc fixes
      - Expose IP discovery data via sysfs
      - RAS rework
      - SRIOV fixes
      - Display FP fix
      - RDNA2 SMU fixes
      - Display DSC fixes
      - Cyan Skillfish update
      - GC 10.3.7 updates
      - SDMA 5.2.7 updates
      - DCN 3.1.6 updates
      - Fix ASPM handling
      - GC 10.3.6 updates
      
      amdkfd:
      - SPDX header cleanups
      - SDMA queue handling fixes
      - Misc fixes
      
      radeon:
      - iMac backlight fix
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220218180920.5754-1-alexander.deucher@amd.com
      0a131b69
    • Lucas De Marchi's avatar
      iosys-map: Add a few more helpers · e62f25e8
      Lucas De Marchi authored
      First the simplest ones:
      
      	- iosys_map_memset(): when abstracting system and I/O memory,
      	  just like the memcpy() use case, memset() also has dedicated
      	  functions to be called for using IO memory.
      	- iosys_map_memcpy_from(): we may need to copy data from I/O
      	  memory, not only to.
      
      In certain situations it's useful to be able to read or write to an
      offset that is calculated by having the memory layout given by a struct
      declaration. Usually we are going to read/write a u8, u16, u32 or u64.
      
      As a pre-requisite for the implementation, add iosys_map_memcpy_from()
      to be the equivalent of iosys_map_memcpy_to(), but in the other
      direction. Then add 2 pairs of macros:
      
      	- iosys_map_rd() / iosys_map_wr()
      	- iosys_map_rd_field() / iosys_map_wr_field()
      
      The first pair takes the C-type and offset to read/write. The second
      pair uses a struct describing the layout of the mapping in order to
      calculate the offset and size being read/written.
      
      We could use readb, readw, readl, readq and the write* counterparts,
      however due to alignment issues this may not work on all architectures.
      If alignment needs to be checked to call the right function, it's not
      possible to decide at compile-time which function to call: so just leave
      the decision to the memcpy function that will do exactly that.
      
      Finally, in order to use the above macros with a map derived from
      another, add another initializer: IOSYS_MAP_INIT_OFFSET().
      
      v2:
        - Rework IOSYS_MAP_INIT_OFFSET() so it doesn't rely on aliasing rules
          within the union
        - Add offset to both iosys_map_rd_field() and iosys_map_wr_field() to
          allow the struct itself to be at an offset from the mapping
        - Add documentation to iosys_map_rd_field() with example and expected
          memory layout
      v3:
        - Drop kernel.h include as it's not needed anymore
      
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Reviewed-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
      Reviewed-by: default avatarMatt Atwood <matthew.s.atwood@intel.com>
      Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220216174147.3073235-3-lucas.demarchi@intel.com
      e62f25e8
    • Lucas De Marchi's avatar
      iosys-map: Add offset to iosys_map_memcpy_to() · cccd73d6
      Lucas De Marchi authored
      In certain situations it's useful to be able to write to an
      offset of the mapping. Add a dst_offset to iosys_map_memcpy_to().
      
      Cc: Sumit Semwal <sumit.semwal@linaro.org>
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Thomas Zimmermann <tzimmermann@suse.de>
      Cc: dri-devel@lists.freedesktop.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220216174147.3073235-2-lucas.demarchi@intel.com
      cccd73d6
  6. 19 Feb, 2022 3 commits
  7. 18 Feb, 2022 17 commits