1. 23 Aug, 2023 1 commit
  2. 22 Aug, 2023 1 commit
    • John Harrison's avatar
      drm/i915/guc: Force a reset on internal GuC error · b2edc414
      John Harrison authored
      If GuC hits an internal error (and survives long enough to report it
      to the KMD), it is basically toast and will stop until a GT reset and
      subsequent GuC reload is performed. Previously, the KMD just printed
      an error message and then waited for the heartbeat to eventually kick
      in and trigger a reset (assuming the heartbeat had not been disabled).
      Instead, force the reset immediately to guarantee that it happens and
      to eliminate the very long heartbeat delay. The captured error state
      is also more likely to be useful if captured at the time of the error
      rather than many seconds later.
      
      Note that it is not possible to trigger a reset from with the G2H
      handler itself. The reset prepare process involves flushing
      outstanding G2H contents. So a deadlock could result. Instead, the G2H
      handler queues a worker thread to do the reset asynchronously.
      
      v2: Flush the worker on suspend and shutdown. Add rate limiting to
      prevent spam from a totally dead system (review feedback from Daniele).
      Signed-off-by: default avatarJohn Harrison <John.C.Harrison@Intel.com>
      Reviewed-by: default avatarDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230816003957.3572654-1-John.C.Harrison@Intel.com
      b2edc414
  3. 21 Aug, 2023 7 commits
  4. 17 Aug, 2023 3 commits
  5. 16 Aug, 2023 1 commit
  6. 15 Aug, 2023 2 commits
  7. 10 Aug, 2023 4 commits
  8. 07 Aug, 2023 5 commits
    • Joonas Lahtinen's avatar
      Merge drm/drm-next into drm-intel-gt-next · 9f771739
      Joonas Lahtinen authored
      Need to pull in b3e4aae6 ("drm/i915/hdcp: Modify hdcp_gsc_message msg sending mechanism") as
      a dependency for https://patchwork.freedesktop.org/series/121735/Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
      9f771739
    • Dave Airlie's avatar
      Merge tag 'drm-intel-gt-next-2023-08-04' of... · d9aa1da9
      Dave Airlie authored
      Merge tag 'drm-intel-gt-next-2023-08-04' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      Driver Changes:
      
      - Avoid infinite GPU waits by avoidin premature release of request's
        reusable memory (Chris, Janusz)
      - Expose RPS thresholds in sysfs (Tvrtko)
      - Apply GuC SLPC min frequency softlimit correctly (Vinay)
      - Restore SLPC efficient freq earlier (Vinay)
      - Consider OA buffer boundary when zeroing out reports (Umesh)
      - Extend Wa_14015795083 to TGL, RKL, DG1 and ADL (Matt R)
      - Fix context workarounds with non-masked regs on MTL/DG2 (Lucas)
      - Enable the CCS_FLUSH bit in the pipe control and in the CS for MTL+ (Andi)
      - Update MTL workarounds 14018778641, 22016122933 (Tejas, Zhanjun)
      - Ensure memory quiesced before AUX CCS invalidation (Jonathan)
      
      - Add a gsc_info debugfs (Daniele)
      - Invalidate the TLBs on each GT on multi-GT device (Chris)
      - Fix a VMA UAF for multi-gt platform (Nirmoy)
      - Do not use stolen on MTL due to HW bug (Nirmoy)
      - Check HuC and GuC version compatibility on MTL (Daniele)
      - Dump perf_limit_reasons for slow GuC init debug (Vinay)
      - Replace kmap() with kmap_local_page() (Sumitra, Ira)
      - Add sentinel to xehp_oa_b_counters for KASAN (Andrzej)
      - Add the gen12_needs_ccs_aux_inv helper (Andi)
      - Fixes and updates for GSC memory allocation (Daniele)
      - Fix one wrong caching mode enum usage (Tvrtko)
      - Fixes for GSC wakeref (Alan)
      
      - Static checker fixes (Harshit, Arnd, Dan, Cristophe, David, Andi)
      - Rename flags with bit_group_X according to the datasheet (Andi)
      - Use direct alias for i915 in requests (Andrzej)
      - Replace i915->gt0 with to_gt(i915) (Andi)
      - Use the i915_vma_flush_writes helper (Tvrtko)
      - Selftest improvements (Alan)
      - Remove dead code (Tvrtko)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # Conflicts:
      #	drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZMy6kDd9npweR4uy@jlahtine-mobl.ger.corp.intel.com
      d9aa1da9
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2023-08-03' of git://anongit.freedesktop.org/drm/drm-intel into drm-next · 7c9aa0f7
      Dave Airlie authored
      - Removing unused declarations (Arnd, Gustavo)
      - ICL+ DSI modeset sequence fixes (Ville)
      - Improvements on HDCP (Suraj)
      - Fixes and clean up on MTL Display (Mika Kahola, Lee, RK, Nirmoy, Chaitanya)
      - Restore HSW/BDW PSR1 (Ville)
      - Other PSR Fixes (Jouni)
      - Fixes around DC states and other Display Power (Imre)
      - Init DDI ports in VBT order (Ville)
      - General documentation fixes (Jani)
      - General refactor for better organization (Jani)
      - Bigjoiner fix (Stanislav)
      - VDSC Fixes and improvements (Stanialav, Suraj)
      - Hotplug fixes and improvements (Simon, Suraj)
      - Start using plane scale factor for relative data rate (Stanislav)
      - Use shmem for dpt objects (RK)
      - Simplify expression &to_i915(dev)->drm (Uwe)
      - Do not access i915_gem_object members from frontbuffer tracking (Jouni)
      - Fix uncore race around i915->params.mmio_debug (Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Rodrigo Vivi <rodrigo.vivi@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/ZMv4RCzGyCmG/BDe@intel.com
      7c9aa0f7
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2023-08-03' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · ca9e70f5
      Dave Airlie authored
      drm-misc-next for v6.6:
      
      UAPI Changes:
      
       * virtio:
         * Support sync objects
      
      Cross-subsystem Changes:
      
       * dt-bindings:
         * Move several panel bindings to the correct files
      
       * fbcon:
         * Cleanups
      
       * fbdev:
         * Use _IOMEM_, _SYSMEM_, _DMAMEM_ infixes for initializer macros
           and Kconfig tokens, update drivers accordingly
         * ps3fb: Build fix
      
       * hid/i2c:
         * Allow panels and touchscreens to power sequence together
      
       * host1x:
         * Fixes
      
       * video:
         * Fix Kconfig dependencies for boot-up logo
      
      Core Changes:
      
       * Documentation updates and fixes
      
       * Fixes
      
       * MIPI-DBI:
         * Allow using same the D/C GPIO for multiple displays plus
           driver updates
      
       * Tests:
         * Convert to kunit actions
         * Fix NULL-deref in drm_exec tests
      
      Driver Changes:
      
       * armada:
         * Fixes
      
       * ast:
         * Represent BMV as virtual connector
         * Report DP connection status
      
       * bridge:
         * dw-hdmi: Support CEC suspend/resume
         * Support debugfs for chains
         * Fixes
      
       * i915:
         * Fixes
      
       * imx:
         * Convert to dev_error_probe()
         * Cleanups
      
       * ipu-v3:
         * Convert to devm_platform_ioremap_resource() in several places
      
       * nouveau:
         * Workaround DPCD issues
      
       * panel:
         * Convert to of_device_get_match_data()
         * Fix Kconfig dependencies
         * simple: Set bpc value to fix warning; Set connector type for AUO T215HVN01;
           Support Innolux G156HCE-L01 plus DT bindings
         * ili9881: Support TDO TL050HDV35 LCD panel plus DT bindings
         * startek: Support KD070FHFID015 MIPI-DSI panel plus DT bindings
         * sitronix-st7789v: Support Inanbo T28CP45TN89 plus DT bindings;
           Support EDT ET028013DMA plus DT bindings; Various cleanups
         * edp: Add timings for N140HCA-EAC
         * Allow panels and touchscreens to power sequence together
         * Documentation fixes
      
       * qaic:
         * Cleanups
      
       * repaper:
         * Fixes
      
       * ssd130x
         * Fix shadow-plane allocation
         * Cleanups
      
       * tegra:
         * Convert to devm_platform_ioremap_resource() in several places
         * Support bridge/connector
         * Enable PM
         * Fixes
      
       * udl:
         * Cleanups
      
       * v3d:
         * Fixes
      
       * vc4:
         * Convert tests to kunit actions
      
       * virtio:
         * Support sync objects
      
       * vkms:
         * Support gamma LUT
         * Fixes
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      # -----BEGIN PGP SIGNATURE-----
      #
      # iQEzBAABCAAdFiEEchf7rIzpz2NEoWjlaA3BHVMLeiMFAmTLwPUACgkQaA3BHVML
      # eiNRBwf8CTjJJpSppitI6YEDyjG5JjpJPOrw4gmyjPCLMRhIa+ddtz8c6eiAJQTX
      # Q4RWz4LWF0j/aRdXzxbhCJxLmgMoSbcZYN+jDSoaNbX4Fyi1KXw9eum/HZeMODBO
      # ScZQFC5iyiCeKHRXZU4+WefqIFTEkEJJll92g3JYlvy793S2TQsA9LB1RIkbwK6x
      # 0R+TtKSxAq9Gtwn4H0z4ACIzBTuIACxwNQRd6FTIeT4yrd7t+JY3WiBz9M96S6dK
      # npHyjvJ3Brb88rEzv2eZZUey3fxp7sO7U7DruQVOKkgi4FsltPWxs6Ze9iylXQZr
      # KcKfW7sxlF2JZlJwT4u0Ur6DMl60eQ==
      # =K1nU
      # -----END PGP SIGNATURE-----
      # gpg: Signature made Fri 04 Aug 2023 01:00:05 AEST
      # gpg:                using RSA key 7217FBAC8CE9CF6344A168E5680DC11D530B7A23
      # gpg: Can't check signature: No public key
      From: Thomas Zimmermann <tzimmermann@suse.de>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230803150149.GA16884@linux-uq9g
      ca9e70f5
    • Dave Airlie's avatar
      Merge tag 'drm-next-xilinx-20230802' of... · 2d3563e5
      Dave Airlie authored
      Merge tag 'drm-next-xilinx-20230802' of git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into drm-next
      
      Miscellaneous fixes for the Xilinx zynqmp-dpsub driver
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230801224454.GB335@pendragon.ideasonboard.com
      2d3563e5
  9. 04 Aug, 2023 1 commit
    • Daniel Vetter's avatar
      Merge tag 'amd-drm-next-6.6-2023-07-28' of https://gitlab.freedesktop.org/agd5f/linux into drm-next · 3d00c59d
      Daniel Vetter authored
      amd-drm-next-6.6-2023-07-28:
      
      amdgpu:
      - Lots of checkpatch cleanups
      - GFX 9.4.3 updates
      - Add USB PD and IFWI flashing documentation
      - GPUVM updates
      - RAS fixes
      - DRR fixes
      - FAMS fixes
      - Virtual display fixes
      - Soft IH fixes
      - SMU13 fixes
      - Rework PSP firmware loading for other IPs
      - Kernel doc fixes
      - DCN 3.0.1 fixes
      - LTTPR fixes
      - DP MST fixes
      - DCN 3.1.6 fixes
      - SubVP fixes
      - Display bandwidth calculation fixes
      - VCN4 secure submission fixes
      - Allow building DC on RISC-V
      - Add visible FB info to bo_print_info
      - HBR3 fixes
      - Add PSP 14.0 support
      - GFX9 MCBP fix
      - GMC10 vmhub index fix
      - GMC11 vmhub index fix
      - Create a new doorbell manager
      - SR-IOV fixes
      
      amdkfd:
      - Cleanup CRIU dma-buf handling
      - Use KIQ to unmap HIQ
      - GFX 9.4.3 debugger updates
      - GFX 9.4.2 debugger fixes
      - Enable cooperative groups fof gfx11
      - SVM fixes
      
      radeon:
      - Lots of checkpatch cleanups
      
      Merge conflicts:
      - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
      	The switch to drm eu helpers in 8a206685 ("drm/amdgpu: use
      	drm_exec for GEM and CSA handling v2") clashed with the
      	cosmetic cleanups from 30953c4d ("drm/amdgpu: Fix style
      	issues in amdgpu_gem.c"). I
      	kept the former since the cleanup up code is gone.
      - drivers/gpu/drm/amd/amdgpu/atom.c.
      	adf64e21 ("drm/amd: Avoid reading the VBIOS part number
      	twice") removed code that 992b8fe1 ("drm/radeon: Replace
      	all non-returning strlcpy with strscpy") polished.
      
      From: Alex Deucher <alexander.deucher@amd.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20230728214228.8102-1-alexander.deucher@amd.com
      [sima: some merge conflict wrangling as noted]
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      3d00c59d
  10. 03 Aug, 2023 14 commits
  11. 02 Aug, 2023 1 commit