1. 16 Aug, 2024 1 commit
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2024-08-13' of... · a809b92e
      Dave Airlie authored
      Merge tag 'drm-intel-next-2024-08-13' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
      
      - Type-C programming fix for MTL+ (Gustavo)
       - Fix display clock workaround (Mitul)
       - Fix DP LTTPR detection (Imre)
       - Calculate vblank delay more accurately (Ville)
       - Make vrr_{enabling,disabling}() usable outside intel_display.c (Ville)
       - FBC clean-up (Ville)
       - DP link-training fixes and clean-up (Imre)
       - Make I2C terminology more inclusive (Easwar)
       - Make read-only array bw_gbps static const (Colin)
       - HDCP fixes and improvements (Suraj)
       - DP VSC SDP fixes and clean-ups (Suraj, Mitul)
       - Fix opregion leak in Xe code (Lucas)
       - Fix possible int overflow in skl_ddi_calculate_wrpll (Nikita)]
       - General display clean-ups and conversion towards intel_display (Jani)
       - On DP MST, Enable LT fallback for UHBR<->non-UHBR rates (Imre)
       - Add VRR condition for DPKGC Enablement (Suraj)
       - Use backlight power constants (Zimmermann)
       - Correct dual pps handling for MTL_PCH+ (Dnyaneshwar)
       - Dump DSC HW state (Imre)
       - Replace double blank with single blank after comma (Andi)
       - Read display register timeout on BMG (Mitul)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZruWsyTv3nzdArDk@intel.com
      a809b92e
  2. 13 Aug, 2024 1 commit
  3. 12 Aug, 2024 5 commits
  4. 09 Aug, 2024 6 commits
  5. 08 Aug, 2024 6 commits
  6. 07 Aug, 2024 1 commit
  7. 06 Aug, 2024 15 commits
  8. 05 Aug, 2024 3 commits
    • José Expósito's avatar
      drm/connector: Document destroy hook in drmm init functions · a99aff26
      José Expósito authored
      Document that the drm_connector_funcs.destroy hook must be NULL in
      drmm_connector_init() and drmm_connector_hdmi_init().
      Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240804170551.33971-2-jose.exposito89@gmail.com
      a99aff26
    • Dnyaneshwar Bhadane's avatar
      drm/i915/display: correct dual pps handling for MTL_PCH+ · da1878b6
      Dnyaneshwar Bhadane authored
      On the PCH side the second PPS was introduced in ICP+.Add condition
      On MTL_PCH and greater platform also having the second PPS.
      
      Note that DG1/2 south block only has the single PPS, so need
      to exclude the fake DG1/2 PCHs
      
      Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11488
      Fixes: 93cbc1ac ("drm/i915/mtl: Add fake PCH for Meteor Lake")
      Cc: <stable@vger.kernel.org> # v6.9+
      Signed-off-by: default avatarDnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
      Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240801111141.574854-1-dnyaneshwar.bhadane@intel.com
      da1878b6
    • Dave Airlie's avatar
      Merge tag 'drm-xe-next-2024-07-30' of https://gitlab.freedesktop.org/drm/xe/kernel into drm-next · a4172af3
      Dave Airlie authored
      drm-xe-next for 6.12
      
      UAPI Changes:
      - Rename xe perf layer as xe observation layer, but was
        also made available via fixes to previous verison (Ashutosh)
      - Use write-back caching mode for system memory on DGFX,
        but was also mad available via fixes to previous version (Thomas)
      - Expose SIMD16 EU mask in topology query for userspace to know
        the type of EU, as available in PVC, Lunar Lake and Battlemage
        (Lucas)
      - Return ENOBUFS instead of ENOMEM in vm_bind if failure is tied
        to an array of binds (Matthew Brost)
      
      Driver Changes:
      - Log cleanup moving messages to debug priority (Michal Wajdeczko)
      - Add timeout to fences to adhere to dma_buf rules (Matthew Brost)
      - Rename old engine nomenclature to exec_queue (Matthew Brost)
      - Convert multiple bind ops to 1 job (Matthew Brost)
      - Add error injection for vm bind to help testing error path
        (Matthew Brost)
      - Fix error handling in page table to propagate correctly
        to userspace (Matthew Brost)
      - Re-organize and cleanup SR-IOV related registers (Michal Wajdeczko)
      - Make the device write barrier compatible with VF (Michal Wajdeczko)
      - New display workarounds for Battlemage (Matthew  Auld)
      - New media workarounds for Lunar Lake and Battlemage (Ngai-Mint Kwan)
      - New graphics workarounds for Lunar Lake (Bommu Krishnaiah)
      - Tracepoint updates (Matthew Brost, Nirmoy Das)
      - Cleanup the header generation for OOB workarounds (Lucas De Marchi)
      - Fix leaking HDCP-related object (Nirmoy Das)
      - Serialize L2 flushes to avoid races (Tejas Upadhyay)
      - Log pid and comm on job timeout (José Roberto de Souza)
      - Simplify boilerplate code for live kunit (Michal Wajdeczko)
      - Improve kunit skips for live kunit (Michal Wajdeczko)
      - Fix xe_sync cleanup when handling xe_exec ioctl (Ashutosh Dixit)
      - Limit fair VF LMEM provisioning (Michal Wajdeczko)
      - New workaround to fence mmio writes in Lunar Lake (Tejas Upadhyay)
      - Warn on writes inaccessible register in VF (Michal Wajdeczko)
      - Fix register lookup in VF (Michal Wajdeczko)
      - Add GSC support for Battlemage (Alexander Usyskin)
      - Fix wedging only the GT in which timeout occurred (Matthew Brost)
      - Block device suspend when wedging (Matthew Brost)
      - Handle compression and migration changes for Battlemage
        (Akshata Jahagirdar)
      - Limit access of stolen memory for Lunar Lake (Uma Shankar)
      - Fail invalid addresses during user fence creation (Matthew Brost)
      - Refcount xe_file to safely and accurately store fdinfo stats
        (Umesh Nerlige Ramappa)
      - Cleanup and fix PM reference for TLB invalidation code
        (Matthew Brost)
      - Fix PM reference handling when communicating with GuC (Matthew Brost)
      - Add new BO flag for 2 MiB alignement and use in VF (Michal Wajdeczko)
      - Simplify MMIO setup for multi-tile platforms (Lucas De Marchi)
      - Add check for uninitialized access to OOB workarounds
        (Lucas De Marchi)
      - New GSC and HuC firmware blobs for Lunar Lake and Battlemage
        (Daniele Ceraolo Spurio)
      - Unify mmio wait logic (Gustavo Sousa)
      - Fix off-by-one when processing RTP rules (Lucas De Marchi)
      - Future-proof migrate logic with compressed PAT flag (Matt Roper)
      - Add WA kunit tests for Battlemage (Lucas De Marchi)
      - Test active tracking for workaorunds with kunit (Lucas De Marchi)
      - Add kunit tests for RTP with no actions (Lucas De Marchi)
      - Unify parse of OR rules in RTP (Lucas De Marchi)
      - Add performance tuning for Battlemage (Sai Teja Pottumuttu)
      - Make bit masks unsigned (Geert Uytterhoeven)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Lucas De Marchi <lucas.demarchi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/k7xuktfav4zmtxxjr77glu2hszypvzgmzghoumh757nqfnk7kn@ccfi4ts3ytbk
      a4172af3
  9. 04 Aug, 2024 2 commits
    • Linus Torvalds's avatar
      Linux 6.11-rc2 · de9c2c66
      Linus Torvalds authored
      de9c2c66
    • Tetsuo Handa's avatar
      profiling: remove profile=sleep support · b88f5538
      Tetsuo Handa authored
      The kernel sleep profile is no longer working due to a recursive locking
      bug introduced by commit 42a20f86 ("sched: Add wrapper for get_wchan()
      to keep task blocked")
      
      Booting with the 'profile=sleep' kernel command line option added or
      executing
      
        # echo -n sleep > /sys/kernel/profiling
      
      after boot causes the system to lock up.
      
      Lockdep reports
      
        kthreadd/3 is trying to acquire lock:
        ffff93ac82e08d58 (&p->pi_lock){....}-{2:2}, at: get_wchan+0x32/0x70
      
        but task is already holding lock:
        ffff93ac82e08d58 (&p->pi_lock){....}-{2:2}, at: try_to_wake_up+0x53/0x370
      
      with the call trace being
      
         lock_acquire+0xc8/0x2f0
         get_wchan+0x32/0x70
         __update_stats_enqueue_sleeper+0x151/0x430
         enqueue_entity+0x4b0/0x520
         enqueue_task_fair+0x92/0x6b0
         ttwu_do_activate+0x73/0x140
         try_to_wake_up+0x213/0x370
         swake_up_locked+0x20/0x50
         complete+0x2f/0x40
         kthread+0xfb/0x180
      
      However, since nobody noticed this regression for more than two years,
      let's remove 'profile=sleep' support based on the assumption that nobody
      needs this functionality.
      
      Fixes: 42a20f86 ("sched: Add wrapper for get_wchan() to keep task blocked")
      Cc: stable@vger.kernel.org # v5.16+
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b88f5538