2023-07-21 03:51:46

by Dave Airlie

[permalink] [raw]
Subject: [git pull] drm fixes for 6.5-rc3

Hi Linus,

This week's fixes pull, just realise the tag says for rc2, but it's
meant to be rc3. Mostly amdgpu fixes, a couple of i915 fixes, some
nouveau and then a few misc accel and other fixes.

Dave.

drm-fixes-2023-07-21:
drm fixes for 6.5-rc2

client:
- memory leak fix

dma-buf:
- memory leak fix

qaic:
- bound check fixes
- map_user_pages leak
- int overflow fixes

habanalabs:
- debugfs stub helper

nouveau:
- aux event slot fixes
- anx9805 cards fixes

i915:
- Add sentinel to xehp_oa_b_counters
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

amdgpu:
- More PCIe DPM fixes for Intel platforms
- DCN3.0.1 fixes
- Virtual display timer fix
- Async flip fix
- SMU13 clock reporting fixes
- Add missing PSP firmware declaration
- DP MST fix
- DCN3.1.x fixes
- Slab out of bounds fix
The following changes since commit fdf0eaf11452d72945af31804e2a1048ee1b574c:

Linux 6.5-rc2 (2023-07-16 15:10:37 -0700)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-07-21

for you to fetch changes up to 28801cc85906ea62043e62c71def7f9daaf1c168:

Merge tag 'amd-drm-fixes-6.5-2023-07-20' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2023-07-21
12:16:47 +1000)

----------------------------------------------------------------
drm fixes for 6.5-rc2

client:
- memory leak fix

dma-buf:
- memory leak fix

qaic:
- bound check fixes
- map_user_pages leak
- int overflow fixes

habanalabs:
- debugfs stub helper

nouveau:
- aux event slot fixes
- anx9805 cards fixes

i915:
- Add sentinel to xehp_oa_b_counters
- Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

amdgpu:
- More PCIe DPM fixes for Intel platforms
- DCN3.0.1 fixes
- Virtual display timer fix
- Async flip fix
- SMU13 clock reporting fixes
- Add missing PSP firmware declaration
- DP MST fix
- DCN3.1.x fixes
- Slab out of bounds fix

----------------------------------------------------------------
Alex Deucher (2):
drm/amdgpu/pm: make gfxclock consistent for sienna cichlid
drm/amdgpu/pm: make mclk consistent for smu 13.0.7

Andrzej Hajda (1):
drm/i915/perf: add sentinel to xehp_oa_b_counters

Arnd Bergmann (1):
accel/habanalabs: add more debugfs stub helpers

Aurabindo Pillai (2):
drm/amd/display: export some optc function for reuse
drm/amd/display: add DCN301 specific logic for OTG programming

Ben Skeggs (3):
drm/nouveau/i2c: fix number of aux event slots
drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts
drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP

Candice Li (1):
drm/amdgpu: Allow the initramfs generator to include psp_13_0_6_ta

Dan Carpenter (4):
accel/qaic: tighten bounds checking in encode_message()
accel/qaic: tighten bounds checking in decode_message()
accel/qaic: Add consistent integer overflow checks
accel/qaic: Fix a leak in map_user_pages()

Daniel Miess (1):
drm/amd/display: Prevent vtotal from being set to 0

Dave Airlie (3):
Merge tag 'drm-misc-fixes-2023-07-20' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2023-07-20' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge tag 'amd-drm-fixes-6.5-2023-07-20' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes

Guchun Chen (5):
drm/amdgpu/vkms: relax timer deactivation by hrtimer_try_to_cancel
drm/amdgpu: Allocate root PD on correct partition
drm/amdgpu: fix slab-out-of-bounds issue in amdgpu_vm_pt_create
drm/amdgpu/vm: use the same xcp_id from root PD
drm/amdgpu: use a macro to define no xcp partition case

Jani Nikula (1):
Revert "drm/i915: use localized __diag_ignore_all() instead of per file"

Jocelyn Falempe (2):
drm/client: Fix memory leak in drm_client_target_cloned
drm/client: Fix memory leak in drm_client_modeset_probe

Mario Limonciello (1):
drm/amd: Use amdgpu_device_pcie_dynamic_switching_supported() for SMU7

Nicholas Kazlauskas (1):
drm/amd/display: Keep PHY active for DP displays on DCN31

Simon Ser (1):
drm/amd/display: only accept async flips for fast updates

Srinivasan Shanmugam (1):
drm/amd/display: Clean up errors & warnings in amdgpu_dm.c

Taimur Hassan (1):
drm/amd/display: check TG is non-null before checking if enabled

Ville Syrjälä (1):
dma-buf/dma-resv: Stop leaking on krealloc() failure

Wayne Lin (1):
drm/amd/display: Add polling method to handle MST reply packet

Zhikai Zhai (1):
drm/amd/display: Disable MPC split by default on special asic

drivers/accel/habanalabs/common/habanalabs.h | 9 +
drivers/accel/qaic/qaic_control.c | 39 ++--
drivers/dma-buf/dma-resv.c | 13 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 12 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.h | 2 +
.../gpu/drm/amd/amdgpu/aqua_vanjaram_reg_init.c | 4 +-
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c | 1 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 256 +++++++++------------
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 7 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 12 +
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 110 +++++++++
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 11 +
.../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 5 +
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 3 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c | 4 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h | 3 +
drivers/gpu/drm/amd/display/dc/dcn301/Makefile | 3 +-
.../gpu/drm/amd/display/dc/dcn301/dcn301_optc.c | 185 +++++++++++++++
.../gpu/drm/amd/display/dc/dcn301/dcn301_optc.h | 36 +++
.../drm/amd/display/dc/dcn301/dcn301_resource.c | 4 +-
.../drm/amd/display/dc/dcn303/dcn303_resource.c | 2 +-
.../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c | 6 +-
.../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 14 +-
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 8 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +-
drivers/gpu/drm/drm_client_modeset.c | 6 +
drivers/gpu/drm/i915/Makefile | 5 +
.../gpu/drm/i915/display/intel_display_device.c | 5 -
drivers/gpu/drm/i915/display/intel_fbdev.c | 5 -
drivers/gpu/drm/i915/i915_pci.c | 5 -
drivers/gpu/drm/i915/i915_perf.c | 1 +
drivers/gpu/drm/nouveau/dispnv50/disp.c | 4 +
drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h | 4 +-
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 27 ++-
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c | 11 +-
42 files changed, 612 insertions(+), 242 deletions(-)
create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.c
create mode 100644 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.h