1. 09 Oct, 2023 2 commits
    • Tomer Tayar's avatar
      accel/habanalabs: update pending reset flags with new reset requests · a35c9976
      Tomer Tayar authored
      If hl_device_cond_reset() is called while a reset is already pending but
      hasn't started, the reset request will be dropped.
      If the flags of the new request are more severe, e.g. a hard reset while
      the pending reset is a compute reset, the eventual reset won't be
      suitable for the device status.
      
      To prevent such cases, update the pending reset flags with the new
      requests flags before the requests are dropped.
      Signed-off-by: default avatarTomer Tayar <ttayar@habana.ai>
      Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      a35c9976
    • Tomer Tayar's avatar
      accel/habanalabs: prevent immediate hard reset due to 2 adjacent H/W events · 5d89ce6f
      Tomer Tayar authored
      When a H/W event is received while a user is registered to events, no
      immediate hard reset will happen, and instead the user will be notified
      and will have some time to handle it and eventually release the
      device, after which the reset will be done.
      If a user, as part of the handling and as part of the cleanup steps
      towards releasing the device, unregisters from receiving those events,
      and at that time an adjacent H/W event is received, it will be assumed
      that the user is not registered to events and thus an immediate hard
      reset is required.
      
      To prevent such an unwanted immediate reset, modify the driver to
      perform it if the user is not registered to events AND we don't already
      have a pending reset for a previous H/W event.
      Signed-off-by: default avatarTomer Tayar <ttayar@habana.ai>
      Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      5d89ce6f
  2. 04 Oct, 2023 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2023-09-29' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 389af786
      Dave Airlie authored
      drm/i915 feature pull for v6.7:
      
      Features and functionality:
      - Early Xe2 LPD / Lunarlake (LNL) display enabling (Lucas, Matt, Gustavo,
        Stanislav, Luca, Clint, Juha-Pekka, Balasubramani, Ravi)
      - Plenty of various DSC improvements and fixes (Ankit)
      - Add DSC PPS state readout and verification (Suraj)
      - Improve fastsets for VRR, LRR and M/N updates (Ville)
      - Use connector->ddc to create (non-DP MST) connector sysfs ddc symlinks (Ville)
      - Various DSB improvements, load LUTs using DSB (Ville)
      - Improve shared link bandwidth management, starting with FDI (Imre)
      - Optimize get param ioctl for PXP status (Alan)
      - Remove DG2 pre-production hardware workarounds (Matt)
      - Add more RPL P/U PCI IDs (Dnyaneshwar)
      - Add new DG2-G12 stepping (Swati)
      - Add PSR sink error status to debugfs (Jouni)
      - Add DP enhanced framing to crtc state checker (Ville)
      
      Refactoring and cleanups:
      - Simplify TileY/Tile4 tiling selftest enumeration (Matt)
      - Remove some unused power domain code (Gustavo)
      - Check stepping of display IP version rather than MTL platform (Matt)
      - DP audio compute config cleanups (Vinod)
      - SDVO cleanups and refactoring, more robust failure handling (Ville)
      - Color register definition and readout cleanups (Jani)
      - Reduce header interdependencies for frontbuffer tracking (Jani)
      - Continue replacing struct edid with struct drm_edid (Jani)
      - Use source physical address instead of EDID for CEC (Jani)
      - Clean up Type-C port lane count functions (Luca)
      - Clean up DSC PPS register definitions and readout (Jani)
      - Stop using GEM_BUG_ON()/GEM_WARN_ON() in display code (Jani)
      - Move more of the display probe to display code (Jani)
      - Remove redundant runtime suspended state flag (Jouni)
      - Move display info printing to display code (Balasubramani)
      - Frontbuffer tracking improvements (Jouni)
      - Add trailing newlines to debug logging (Jim Cromie)
      - Separate display workarounds from clock gating init (Matt)
      - Reduce dmesg log spamming for combo PHY, PLL state, FEC, DP MST (Ville, Imre)
      
      Fixes:
      - Fix hotplug poll detect loops via suspend/resume (Imre)
      - Fix hotplug detect for forced connectors (Imre)
      - Fix DSC first_line_bpg_offset calculation (Suraj)
      - Fix debug prints for SDP CRC16 (Arun)
      - Fix PXP runtime resume (Alan)
      - Fix cx0 PHY lane handling (Gustavo)
      - Fix frontbuffer tracking locking in debugfs (Juha-Pekka)
      - Fix SDVO detect on some models (Ville)
      - Fix SDP split configuration for DP MST (Vinod)
      - Fix AUX usage and reads for HDCP on DP MST (Suraj)
      - Fix PSR workaround (Jouni)
      - Fix redundant AUX power get/put in DP force (Imre)
      - Fix ICL DSI TCLK POST by letting hardware handle it (William)
      - Fix IRQ reset for XE LP+ (Gustavo)
      - Fix h/vsync_end instead of h/vtotal in VBT (Ville)
      - Fix C20 PHY msgbus timeout issues (Gustavo)
      - Fix pre-TGL FEC pipe A vs. DDI A mixup (Ville)
      - Fix FEC state readout for DP MST (Ville)
      
      DRM subsystem core changes:
      - Assume sink supports 8 bpc when DSC is supported (Ankit)
      - Add drm_edid_is_digital() helper (Jani)
      - Parse source physical address from EDID (Jani)
      - Add function to attach CEC without EDID (Jani)
      - Reorder connector sysfs/debugfs remove (Ville)
      - Register connector sysfs ddc symlink later (Ville)
      
      Media subsystem changes:
      - Add comments about CEC source physical address usage (Jani)
      
      Merges:
      - Backmerge drm-next to get v6.6-rc1 (Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # Conflicts:
      #	drivers/gpu/drm/i915/i915_drv.h
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87r0mhi7a6.fsf@intel.com
      389af786
  3. 02 Oct, 2023 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2023-09-28' of... · caacbdc2
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2023-09-28' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Driver Changes:
      
      Fixes/improvements/new stuff:
      
      - Fix TLB-Invalidation seqno store [mtl] (Alan Previn)
      - Force a reset on internal GuC error [guc] (John Harrison)
      - Define GSC fw [gsc] (Daniele Ceraolo Spurio)
      - Update workaround 14016712196 [dg2/mtl] (Tejas Upadhyay)
      - Mark requests for GuC virtual engines to avoid use-after-free (Andrzej Hajda)
      - Add Wa_14015150844 [dg2/mtl] (Shekhar Chauhan)
      - Prevent error pointer dereference (Dan Carpenter)
      - Add Wa_18022495364 [tgl,adl,rpl] (Dnyaneshwar Bhadane)
      - Fix GuC PMU by moving execlist stats initialization to execlist specific setup (Umesh Nerlige Ramappa)
      - Fix PXP firmware load [pxp/mtl] (Alan Previn)
      - Fix execution/context state of PXP contexts (Alan Previn)
      - Limit the length of an sg list to the requested length (Matthew Wilcox)
      - Fix reservation address in ggtt_reserve_guc_top [guc] (Javier Pello)
      - Add Wa_18028616096 [dg2] (Shekhar Chauhan)
      - Get runtime pm in busyness worker only if already active [guc/pmu] (Umesh Nerlige Ramappa)
      - Don't set PIPE_CONTROL_FLUSH_L3 for aux inval (Nirmoy Das)
      
      Future platform enablement:
      
      - Fix and consolidate some workaround checks, make others IP version based [mtl] (Matt Roper)
      - Replace Meteorlake subplatforms with IP version checks (Matt Roper)
      - Adding DeviceID for Arrowlake-S under MTL [mtl] (Nemesa Garg)
      - Run relevant bits of debugfs drop_caches per GT (Tvrtko Ursulin)
      
      Miscellaneous:
      
      - Remove Wa_15010599737 [dg2] (Shekhar Chauhan)
      - Align igt_spinner_create_request with hangcheck [selftests] (Jonathan Cavitt)
      - Remove pre-production workarounds [dg2] (Matt Roper)
      - Tidy some workaround definitions (Matt Roper)
      - Wait longer for tasks in migrate selftest [gt] (Jonathan Cavitt)
      - Skip WA verification for GEN7_MISCCPCTL on DG2 [gt] (Andrzej Hajda)
      - Silence injected failure in the load via GSC path [huc] (Daniele Ceraolo Spurio)
      - Refactor deprecated strncpy (Justin Stitt)
      - Update RC6 mask for mtl_drpc [debugfs/mtl] (Badal Nilawar)
      - Remove a static inline that requires including i915_drv.h [gt] (Jani Nikula)
      - Remove inlines from i915_gem_execbuffer.c [gem] (Jani Nikula)
      - Remove gtt_offset from stream->oa_buffer.head/.tail [perf] (Ashutosh Dixit)
      - Do not disable preemption for resets (Tvrtko Ursulin)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZRVzL02VFuwIkcGl@tursulin-desk
      caacbdc2
  4. 29 Sep, 2023 2 commits
  5. 28 Sep, 2023 13 commits
  6. 27 Sep, 2023 14 commits
  7. 26 Sep, 2023 4 commits
  8. 25 Sep, 2023 3 commits