1. 19 Oct, 2023 10 commits
  2. 18 Oct, 2023 1 commit
    • Dave Airlie's avatar
      Merge tag 'amd-drm-next-6.7-2023-10-13' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · 27442758
      Dave Airlie authored
      amd-drm-next-6.7-2023-10-13:
      
      amdgpu:
      - DC replay fixes
      - Misc code cleanups and spelling fixes
      - Documentation updates
      - RAS EEPROM Updates
      - FRU EEPROM Updates
      - IP discovery updates
      - SR-IOV fixes
      - RAS updates
      - DC PQ fixes
      - SMU 13.0.6 updates
      - GC 11.5 Support
      - NBIO 7.11 Support
      - GMC 11 Updates
      - Reset fixes
      - SMU 11.5 Updates
      - SMU 13.0 OD support
      - Use flexible arrays for bo list handling
      - W=1 Fixes
      - SubVP fixes
      - DPIA fixes
      - DCN 3.5 Support
      - Devcoredump fixes
      - VPE 6.1 support
      - VCN 4.0 Updates
      - S/G display fixes
      - DML fixes
      - DML2 Support
      - MST fixes
      - VRR fixes
      - Enable seamless boot in more cases
      - Enable content type property for HDMI
      - OLED fixes
      - Rework and clean up GPUVM TLB flushing
      - DC ODM fixes
      - DP 2.x fixes
      - AGP aperture fixes
      - SDMA firmware loading cleanups
      - Cyan Skillfish GPU clock counter fix
      - GC 11 GART fix
      - Cache GPU fault info for userspace queries
      - DC cursor check fixes
      - eDP fixes
      - DC FP handling fixes
      - Variable sized array fixes
      - SMU 13.0.x fixes
      - IB start and size alignment fixes for VCN
      - SMU 14 Support
      - Suspend and resume sequence rework
      - vkms fix
      
      amdkfd:
      - GC 11 fixes
      - GC 10 fixes
      - Doorbell fixes
      - CWSR fixes
      - SVM fixes
      - Clean up GC info enumeration
      - Rework memory limit handling
      - Coherent memory handling fixes
      - Use partial migrations in GPU faults
      - TLB flush fixes
      - DMA unmap fixes
      - GC 9.4.3 fixes
      - SQ interrupt fix
      - GTT mapping fix
      - GC 11.5 Support
      
      radeon:
      - Misc code cleanups
      - W=1 Fixes
      - Fix possible buffer overflow
      - Fix possible NULL pointer dereference
      
      UAPI:
      - Add EXT_COHERENT memory allocation flags.  These allow for system scope atomics.
        Proposed userspace: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/88
      - Add support for new VPE engine.  This is a memory to memory copy engine with advanced scaling, CSC, and color management features
        Proposed mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25713
      - Add INFO IOCTL interface to query GPU faults
        Proposed Mesa MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23238
        Proposed libdrm MR: https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/298Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20231013175758.1735031-1-alexander.deucher@amd.com
      27442758
  3. 17 Oct, 2023 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-habanalabs-next-2023-10-10' of... · 08057253
      Dave Airlie authored
      Merge tag 'drm-habanalabs-next-2023-10-10' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into drm-next
      
      This tag contains habanalabs driver changes for v6.7.
      
      The notable changes are:
      
      - uAPI changes:
        - Expose tsc clock sampling to better sync clock information in profiler.
        - Enhance engine error reporting in the info ioctl.
        - Block access to the eventfd operations through the control device.
        - Disable the option of the user to register multiple times with the same
          offset for timestamp dump by the driver. If a user wants to use the same
          offset in the timestamp buffer for different interrupt, it needs to first
          de-register the offset.
        - When exporting dma-buf (for p2p), force the user to specify size/offset
          in multiples of PAGE_SIZE. This is instead of the driver doing the
          rounding to PAGE_SIZE, which has caused the driver to map more memory
          than was intended by the user.
      
      - New features and improvements:
        - Complete the move of the driver to the accel subsystem by removing the
          custom habanalabs class and major and registering to accel subsystem.
        - Move the firmware interface files to include/linux/habanalabs. This is
          a pre-requisite for upstreaming the NIC drivers of Gaudi (as they need to
          include those files).
        - Perform device hard-reset upon PCIe AXI drain event to prevent the failure
          from cascading to different IP blocks in the SoC. In secured environments,
          this is done automatically by the firmware.
        - Print device name when it is removed for better debuggability.
        - Add support for trace of dma map sgtable operations.
        - Optimize handling of user interrupts by splitting the interrupts to two
          lists. One list for fast handling and second list for handling with
          timestamp recording, which is slower.
        - Prevent double device hard-reset due to 2 adjacent H/W events.
        - Set device status 'malfunction' while in rmmod.
      
      - Firmware related fixes:
        - Extend preboot timeout because preboot loading might take longer than
          expected in certain cases.
        - Add a protection mechanism for the Event Queue. In case it is full, the
          firmware will be able to notify about it through a dedicated interrupt.
        - Perform device hard-reset in case scrubbing of memory has failed.
      
      - Bug fixes and code cleanups:
        - Small fixes of dma-buf handling in Gaudi2, such as handling an offset != 0,
          using the correct exported size, creation of sg table.
        - Fix spmu mask creation.
        - Fix bug in wait for cs completion for decoder workloads.
        - Cleanup Greco name from documentation.
        - Fix bug in recording timestamp during cs completion interrupt handling.
        - Fix CoreSight ETF configuration and flush logic.
        - Fix small bug in hpriv_list handling (the list that contains the private
          data per process that opens our device).
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCgAdFiEE7TEboABC71LctBLFZR1NuKta54AFAmUlHoQACgkQZR1NuKta
      # 54DsXQf8CW+W4iWJf5UDTj/E/giu9rVRrsUsU0hhCcXbecIxRsLObYXtulENu5/u
      # VuEAo/tAvo0LUKi8pdIv6ernDKaxZ1+fimlfXMCzllAA/ts3yp1NgunprsIsx3tv
      # YgcJ2GNR8UlVZ1qYuZl+4dOTyD0yfRMROUXBe7wqKnUXOEepOiLBxq6W15tZiJnx
      # L+V0yGkNk6pAoADIXLW9EgEXiN/bJZCXGPWp06i/Nz7cHIHJGoV59wAqftqllCtk
      # 8ZMkLByjlQKPhc5AgWBtKE8EGVip3sm7b/Q2Gq0ZXdZiebyVJ+AjuuDOdtq1UCIw
      # Rcp2576E7rByIBu3RAFlrioWhuR5Zw==
      # =2ien
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Tue 10 Oct 2023 19:51:00 AEST
      # gpg:                using RSA key ED311BA00042EF52DCB412C5651D4DB8AB5AE780
      # gpg: Can't check signature: No public key
      From: Oded Gabbay <ogabbay@kernel.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZSUfiX4J7v4Wn0cU@ogabbay-vm-u22.habana-labs.com
      08057253
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2023-10-12' of... · 614351f4
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2023-10-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Driver Changes:
      
      Fixes/improvements/new stuff:
      
      - Register engines early to avoid type confusion (Mathias Krause)
      - Suppress 'ignoring reset notification' message [guc] (John Harrison)
      - Update 'recommended' version to 70.12.1 for DG2/ADL-S/ADL-P/MTL [guc] (John Harrison)
      - Enable WA 14018913170 [guc, dg2] (Daniele Ceraolo Spurio)
      
      Future platform enablement:
      
      - Clean steer semaphore on resume (Nirmoy Das)
      - Skip MCR ops for ring fault register [mtl] (Nirmoy Das)
      - Make i915_gem_shrinker multi-gt aware [gem] (Jonathan Cavitt)
      - Enable GGTT updates with binder in MTL (Nirmoy Das, Chris Wilson)
      - Invalidate the TLBs on each GT (Chris Wilson)
      
      Miscellaneous:
      
      - Clarify type evolution of uabi_node/uabi_engines (Mathias Krause)
      - Annotate struct ct_incoming_msg with __counted_by [guc] (Kees Cook)
      - More use of GT specific print helpers [gt] (John Harrison)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZSfKotZVdypU6NaX@tursulin-desk
      614351f4
  4. 16 Oct, 2023 2 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2023-10-12' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 7971debd
      Dave Airlie authored
      drm/i915 feature pull #2 for v6.7:
      
      Features and functionality:
      - Preparation for i915 display code reuse in upcoming Xe driver (Jani)
      - Drop the fastboot module parameter and use the platform defaults (Arun)
      - Enable new LNL FBC features (Vinod)
      - Add LNL display feature capability reads (Vinod)
      
      Refactoring and cleanups:
      - Locally enable W=1 warnings by default in i915 (Jani)
      - Move HDCP GSC message code to a separate file (Suraj)
      - GVT include cleanups (Jani)
      - Move more display init under display/ (Jani)
      - DPLL ID refactoring (Ville)
      - Better abstraction of GT0 (Jani)
      - Move VGA decode function to GMCH code (Uma)
      - Use local64_try_cmpxchg() to optimize PMU event read (Uros Bizjak)
      - Clean up FBC checks (Ville)
      - Constify and unify state checker calling conventions (Ville)
      - Add display step name helper (Chaitanya)
      
      Documentation:
      - Update CCS and GSC CS documentation (Rodrigo)
      - Fix a number of documentation typos (Randy Dunlap)
      
      Fixes:
      - VLV DSI fixes and quirks (Hans)
      - Fix crtc state memory leaks (Suraj)
      - Increase LSPCON mode settle timeout (Niko Tsirakis)
      - Stop clobbering old crtc state during state check (Ville)
      - Fix VLV color state readout (Ville)
      - Fix cx0 PHY pipe reset to allow S0iX (Khaled)
      - Ensure DP MST pbn_div is up-to-date after sink reconnect (Imre)
      - Drop an unnecessary NULL check to fix static analyzer warning (Suraj)
      - Use an explicit rather than implicit include for frontbuffer tracking (Jouni)
      
      Merges:
      - Backmerge drm-next to fix a conflict (Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87r0m00xew.fsf@intel.com
      7971debd
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2023-10-12' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · d32ce5ab
      Dave Airlie authored
      drm-misc-next for v6.7-rc1:
      
      Contains the previous pull request drm-misc-next-2023-10-06 + following:
      
      Cross-subsystem Changes:
      - Rename fb_pgprot to pgprot_framebuffer and remove file argument/
      - Update iosys-map documentation typos.
      
      Core Changes:
      - Assorted fixes to drm/panel.
      - Add HPD state to drm_connector_oob_hotplug_event(), and implement
        oob hotplug events in bridge connector.
      - Replace drm_framebuffer_plane_width/height  with calls to
        drm_format_info_plane_width/height.
      
      Driver Changes:
      - Clock and debug fixes for bridge/samsung-dsim.
      - More btree -> maple tree conversions.
      - Assorted bugfixes in rockchip, panel-tpo-tpg110,
      - Add LTK050H3148W-CTA6 panel support.
      - Assorted small fixes in host1x, tegra, simpledrm.
      - Suspend fixes for host1x.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/3812345e-b086-4d72-8504-f58d84e8feab@linux.intel.com
      d32ce5ab
  5. 13 Oct, 2023 25 commits