1. 27 Jun, 2024 30 commits
  2. 24 Jun, 2024 1 commit
  3. 21 Jun, 2024 5 commits
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2024-06-19' of... · 4552a6a4
      Dave Airlie authored
      Merge tag 'drm-intel-next-2024-06-19' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next
      
      drm/i915 feature pull for v6.11:
      
      Features and functionality:
      - Battlemage (BMG) Xe2 HPD display enabling (Balasubramani, Clint, Gustavo,
        José, Matt, Anusha, Lucas, Ravi, Radhakrishna, Nirmoy, Ankit, Matthew)
      - Panel Replay enabling (Jouni, Animesh)
      - DP AUX-less ALPM (Advanced Link Power Management) and LOBF (Link off between
        frames) enabling (Animesh, Jouni)
      - Enable link training failure fallback for DP MST links (Imre)
      - CMRR (Content Match Refresh Rate) enabling (Mitul)
      - Allow the first async flip to change modifier (Ville)
      - Enable eDP AUX based HDR backlight (Suraj)
      - Increase ADL-S/ADL-P/DG2+ max TMDS bitrate to 6 Gbps (Ville)
      
      Refactoring and cleanups:
      - Stop using implicit dev_priv local variable in macros (Jani)
      - Expand and clean up VBT table definitions (Ville)
      - PSR/ALPM refactoring (Jouni, Animesh)
      - Plane fb refactoring (Ville)
      - Rawclk, FSB, and mem frequency refactoring (Jani)
      - GVT register macro usage cleanups (Jani, Ville)
      - Plane, cursor, wm and ddb register macro and usage cleanups (Ville)
      - Pipe CRC register macro cleanups (Ville)
      - PCI ID macro cleanups and refactoring to match xe style (Jani)
      - Move drm-intel repo to gitlab.freedesktop.org (Ryszard)
      - Identify all platforms/subplatforms in display probe (Jani)
      - Move Intel drm headers under include/drm/intel (Jani)
      - Drop local redundant W=1 warnings in favour of drm subsystem warnigs (Jani)
      - Include cleanups; include what you use (Jani)
      - Convert overlay and DMC error state printing to drm_printer (Jani)
      - Joiner renames (Stan)
      - DSB interface cleanups (Ville)
      - Improve workaround for disabling FBC when VT-d is active (Vinod)
      - State checker refactoring and cleanups for color, planes and cdclk (Ville)
      - Cleanups around scanline arithmetic (Ville)
      - Use drm_crtc_vblank_crtc() instead of open coding (Ville)
      - DSC cleanups (Ville)
      
      Fixes:
      - Improve VBT array bounds check (Luca)
      - LNL PSR fixes (Jouni)
      - Audio workaround, disable min hblank fix (Uma)
      - Stop selecting ACPI_BUTTON config (Jani)
      - Add MTL Cx0 PHY config compare (Mika)
      - Fix MTL C20 PHY port clock verification (Mika)
      - Fix static analyzer warning for uapi.event access (Luca)
      - HDCP fixes and workarounds (Suraj)
      - Fix DP MST DSC input BPP computation (Imre)
      - Fix assert on pending async-put power domain work (Imre)
      - Fix documentation build for DMC wakelocks (Luca)
      - Disable DSC on eDP when indicated by VBT (Ville)
      
      DRM Core changes:
      - Various DPCD register additions for panel replay and ALPM (Jouni)
      - Add target_rr_divider to adaptive sync SDP (Mitul)
      
      Xe driver changes:
      - Remove unused xe->enabled_irq_mask and xe->sb_lock members (Jani)
      - i915 display compat header cleanups (Jani)
      - Remove redundant copy of intel_fbdev_fb.h (Ville)
      - Add process name to devcoredump (José)
      - Add xe_gt_err_once() (Matthew)
      - Implement transient flush for BMG/Xe3 (Nirmoy)
      
      Merges:
      - Backmerges to sync with xe, drm-misc and upstream (Rodrigo, Jani)
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      From: Jani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/87y170eu80.fsf@intel.com
      4552a6a4
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2024-06-20' of... · ab3d8479
      Dave Airlie authored
      Merge tag 'drm-misc-next-2024-06-20' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
      
      drm-misc-next for 6.11:
      
      UAPI Changes:
        - New monochrome TV mode variant
      
      Cross-subsystem Changes:
        - dma heaps: Change slightly the allocation hook prototype
      
      Core Changes:
      
      Driver Changes:
       - ivpu: various improvements over firmware handling, clocks, power
         management, scheduling and logging.
       - mgag200: Add BMC output, enable polling
       - panfrost: Enable MT8188 support
       - tidss: drm_panic support
       - zynqmp_dp: IRQ cleanups, debugfs DP compliance testing API
       - bridge:
         - sii902x: state validation improvements
       - panel:
         - edp: Drop legacy panel compatibles
         - simple-bridge: Switch to devm_drm_bridge_add
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240620-heretic-honored-macaque-b40f8a@houat
      ab3d8479
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2024-06-13' of... · 91c93e47
      Dave Airlie authored
      Merge tag 'drm-misc-next-2024-06-13' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
      
      drm-misc-next for 6.11:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
      
      Core Changes:
       - Sprinkle MODULE_DESCRIPTIONS everywhere they are missing
       - bridge: Remove drm_bridge_chain_mode_fixup
       - ci: Require a more recent version of mesa, improve farm estup and
         test generation
       - mipi-dbi: Remove mipi_dbi_machine_little_endian, make SPI bits per
         word configurable, support RGB888, and allow pixel formats to be
         specified in the DT.
       - mm: Remove drm_mm_replace_node
       - panic: Allow to dump kmsg to the screen
       - print: Add a drm prefix to warn level messages too, remove
         ___drm_dbg, consolidate prefix handling
      
      Driver Changes:
       - sun4i: Rework the blender setup for DE2
       - bridges:
         - bridge-connector: Plumb in the new HDMI helpers
         - samsung-dsim: Fix timings calculation
         - tc358767: Plenty of small fixes
       - panels:
         - More cleanup of prepare / enable state tracking in drivers
         - New panel: PrimeView PM070WL4,
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240613-cicada-of-infinite-unity-0955ca@houat
      91c93e47
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2024-06-06' of... · 6dac1612
      Dave Airlie authored
      Merge tag 'drm-misc-next-2024-06-06' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
      
      drm-misc-next for 6.10:
      
      UAPI Changes:
      
      Cross-subsystem Changes:
        - dma-buf: Warn when reserving 0 fence slots, internal API
          enhancements for heaps
      
      Core Changes:
      
      Driver Changes:
        - atmel-hlcdc: Support XLCDC in sam9x7
        - msm: Validate registers XML description against schema in CI
        - v3d: Fix build warning
        - bridges:
          - analogix_dp: Various improvements
        - panels:
          - New panel: WL-355608-A8
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240606-vivid-amphibian-jackrabbit-40b1d1@houat
      6dac1612
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-2024-05-30' of... · f680df51
      Dave Airlie authored
      Merge tag 'drm-misc-next-2024-05-30' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
      
      drm-misc-next for 6.11:
      
      UAPI Changes:
        - Deprecate DRM date and return a 0 date in DRM_IOCTL_VERSION
      
      Core Changes:
        - connector: Create a set of helpers to help with HDMI support
        - fbdev: Create memory manager optimized fbdev emulation
        - panic: Allow to select fonts, improve drm_fb_dma_get_scanout_buffer
      
      Driver Changes:
        - Remove driver owner assignments
        - Allow more drivers to compile with COMPILE_TEST
        - Conversions to drm_edid
        - ivpu: hardware scheduler support, profiling support, improvements
          to the platform support layer
        - mgag200: general reworks and improvements
        - nouveau: Add NVreg_RegistryDwords command line option
        - rockchip: Conversion to the hdmi helpers
        - sun4i: Conversion to the hdmi helpers
        - vc4: Conversion to the hdmi helpers
        - v3d: Perf counters improvements
        - zynqmp: IRQ and debugfs improvements
        - bridge:
          - Remove redundant checks on bridge->encoder
        - panels:
          - Switch panels from register table initialization to proper code
          - Now that the panel code tracks the panel state, remove every
            ad-hoc implementation in the panel drivers
          - New panels: Lincoln Tech Sol LCD185-101CT, Microtips Technology
            13-101HIEBCAF0-C, Microtips Technology MF-103HIEB0GA0, BOE
            nv110wum-l60, IVO t109nw41
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      
      From: Maxime Ripard <mripard@redhat.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20240530-hilarious-flat-magpie-5fa186@houat
      f680df51
  4. 19 Jun, 2024 4 commits
    • Likun Gao's avatar
      drm/amdgpu: init TA fw for psp v14 · 1ecef558
      Likun Gao authored
      Add support to init TA firmware for psp v14.
      Signed-off-by: default avatarLikun Gao <Likun.Gao@amd.com>
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      1ecef558
    • Yang Wang's avatar
      drm/amdgpu: refine gfx6 firmware loading · 017d0b67
      Yang Wang authored
      refine gfx6 firmware loading
      Signed-off-by: default avatarYang Wang <kevinyang.wang@amd.com>
      Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      017d0b67
    • Mario Limonciello's avatar
      drm/amd/pm: powerplay: Add `__counted_by` attribute for flexible arrays · 0ca9f757
      Mario Limonciello authored
      This attribute is used to hint the length of flexible arrays to
      compiler and sanitizers.
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      0ca9f757
    • Yang Wang's avatar
      Revert "drm/amdgpu: change aca bank error lock type to spinlock" · a4fcb5f7
      Yang Wang authored
      This reverts commit f6bce954.
      
      Revert this patch to modify lock type back to 'mutex' to avoid kernel
      calltrace issue.
      
      [  602.668806] Workqueue: amdgpu-reset-dev amdgpu_ras_do_recovery [amdgpu]
      [  602.668939] Call Trace:
      [  602.668940]  <TASK>
      [  602.668941]  dump_stack_lvl+0x4c/0x70
      [  602.668945]  dump_stack+0x14/0x20
      [  602.668946]  __schedule_bug+0x5a/0x70
      [  602.668950]  __schedule+0x940/0xb30
      [  602.668952]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.668955]  ? hrtimer_reprogram+0x77/0xb0
      [  602.668957]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.668959]  ? hrtimer_start_range_ns+0x126/0x370
      [  602.668961]  schedule+0x39/0xe0
      [  602.668962]  schedule_hrtimeout_range_clock+0xb1/0x140
      [  602.668964]  ? __pfx_hrtimer_wakeup+0x10/0x10
      [  602.668966]  schedule_hrtimeout_range+0x17/0x20
      [  602.668967]  usleep_range_state+0x69/0x90
      [  602.668970]  psp_cmd_submit_buf+0x132/0x570 [amdgpu]
      [  602.669066]  psp_ras_invoke+0x75/0x1a0 [amdgpu]
      [  602.669156]  psp_ras_query_address+0x9c/0x120 [amdgpu]
      [  602.669245]  umc_v12_0_update_ecc_status+0x16d/0x520 [amdgpu]
      [  602.669337]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.669339]  ? stack_depot_save+0x12/0x20
      [  602.669342]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.669343]  ? set_track_prepare+0x52/0x70
      [  602.669346]  ? kmemleak_alloc+0x4f/0x90
      [  602.669348]  ? __kmalloc_node+0x34b/0x450
      [  602.669352]  amdgpu_umc_update_ecc_status+0x23/0x40 [amdgpu]
      [  602.669438]  mca_umc_mca_get_err_count+0x85/0xc0 [amdgpu]
      [  602.669554]  mca_smu_parse_mca_error_count+0x120/0x1d0 [amdgpu]
      [  602.669655]  amdgpu_mca_dispatch_mca_set.part.0+0x141/0x250 [amdgpu]
      [  602.669743]  ? kmemleak_free+0x36/0x60
      [  602.669745]  ? kvfree+0x32/0x40
      [  602.669747]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.669749]  ? kfree+0x15d/0x2a0
      [  602.669752]  amdgpu_mca_smu_log_ras_error+0x1f6/0x210 [amdgpu]
      [  602.669839]  amdgpu_ras_query_error_status_helper+0x2ad/0x390 [amdgpu]
      [  602.669924]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.669925]  ? __call_rcu_common.constprop.0+0xa6/0x2b0
      [  602.669929]  amdgpu_ras_query_error_status+0xf3/0x620 [amdgpu]
      [  602.670014]  ? srso_alias_return_thunk+0x5/0xfbef5
      [  602.670017]  amdgpu_ras_log_on_err_counter+0xe1/0x170 [amdgpu]
      [  602.670103]  amdgpu_ras_do_recovery+0xd2/0x2c0 [amdgpu]
      [  602.670187]  ? srso_alias_return_thunk+0x5/0
      Signed-off-by: default avatarYang Wang <kevinyang.wang@amd.com>
      Reviewed-by: default avatarYiPeng Chai <yipeng.chai@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      a4fcb5f7