1. 07 Aug, 2023 9 commits
    • Lijo Lazar's avatar
      drm/amdgpu: Match against exact bootloader status · 161c908d
      Lijo Lazar authored
      On PSP v13.x ASICs, boot loader will set only the MSB to 1 and clear the
      least significant bits for any command submission. Hence match against
      the exact register value, otherwise a register value of all 0xFFs also
      could falsely indicate that boot loader is ready. Also, from PSP v13.0.6
      and newer, bits[7:0] will be used to indicate command error status.
      Signed-off-by: default avatarLijo Lazar <lijo.lazar@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      161c908d
    • Tim Huang's avatar
      drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11 · d68a1145
      Tim Huang authored
      For SMU v13.0.4/11, driver does not need to stop RLC for S0i3,
      the firmwares will handle that properly.
      Signed-off-by: default avatarTim Huang <Tim.Huang@amd.com>
      Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      d68a1145
    • Prike Liang's avatar
      drm/amdgpu/discovery: enable sdma6 for SDMA 6.1.0 · 99af9c95
      Prike Liang authored
      Add to IP discovery table.
      Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      99af9c95
    • Mario Limonciello's avatar
      drm/amd: Disable S/G for APUs when 64GB or more host memory · 70e64c4d
      Mario Limonciello authored
      Users report a white flickering screen on multiple systems that
      is tied to having 64GB or more memory.  When S/G is enabled pages
      will get pinned to both VRAM carve out and system RAM leading to
      this.
      
      Until it can be fixed properly, disable S/G when 64GB of memory or
      more is detected.  This will force pages to be pinned into VRAM.
      This should fix white screen flickers but if VRAM pressure is
      encountered may lead to black screens.  It's a trade-off for now.
      
      Fixes: 81d0bcf9 ("drm/amdgpu: make display pinning more flexible (v2)")
      Cc: Hamza Mahfooz <Hamza.Mahfooz@amd.com>
      Cc: Roman Li <roman.li@amd.com>
      Cc: <stable@vger.kernel.org> # 6.1.y: bf0207e1 ("drm/amdgpu: add S/G display parameter")
      Cc: <stable@vger.kernel.org> # 6.4.y
      Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2735
      Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2354Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      70e64c4d
    • Prike Liang's avatar
      drm/amdgpu/sdma6: initialize sdma 6.1.0 · 7a22c147
      Prike Liang authored
      Add firmware declaration.
      Signed-off-by: default avatarPrike Liang <Prike.Liang@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      7a22c147
    • 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
  2. 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
  3. 03 Aug, 2023 14 commits
  4. 02 Aug, 2023 9 commits
  5. 01 Aug, 2023 7 commits