[git pull] drm fixes for 6.2-rc1

From: Dave Airlie
Date: Thu Dec 22 2022 - 23:03:00 EST


Hi Linus,

Holiday fixes!. Two batches from amd, and one group of i915 changes. I
don't think there should be anything new, and it should all be fixes.

Dave.

drm-next-2022-12-23:
drm fixes for 6.2-rc1

amdgpu:
- Spelling fix
- BO pin fix
- Properly handle polaris 10/11 overlap asics
- GMC9 fix
- SR-IOV suspend fix
- DCN 3.1.4 fix
- KFD userptr locking fix
- SMU13.x fixes
- GDS/GWS/OA handling fix
- Reserved VMID handling fixes
- FRU EEPROM fix
- BO validation fixes
- Avoid large variable on the stack
- S0ix fixes
- SMU 13.x fixes
- VCN fix
- Add missing fence reference

amdkfd:
- Fix init vm error handling
- Fix double release of compute pasid

i915
- Documentation fixes
- OA-perf related fix
- VLV/CHV HDMI/DP audio fix
- Display DDI/Transcoder fix
- Migrate fixes
The following changes since commit 66efff515a6500d4b4976fbab3bee8b92a1137fb:

Merge tag 'amd-drm-next-6.2-2022-12-07' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-12-09
12:08:33 +1000)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-next-2022-12-23

for you to fetch changes up to fe8f5b2f7bec504021b395d24f7efca415d21e2b:

Merge tag 'amd-drm-fixes-6.2-2022-12-21' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-12-22
11:02:56 +1000)

----------------------------------------------------------------
drm fixes for 6.2-rc1

amdgpu:
- Spelling fix
- BO pin fix
- Properly handle polaris 10/11 overlap asics
- GMC9 fix
- SR-IOV suspend fix
- DCN 3.1.4 fix
- KFD userptr locking fix
- SMU13.x fixes
- GDS/GWS/OA handling fix
- Reserved VMID handling fixes
- FRU EEPROM fix
- BO validation fixes
- Avoid large variable on the stack
- S0ix fixes
- SMU 13.x fixes
- VCN fix
- Add missing fence reference

amdkfd:
- Fix init vm error handling
- Fix double release of compute pasid

i915
- Documentation fixes
- OA-perf related fix
- VLV/CHV HDMI/DP audio fix
- Display DDI/Transcoder fix
- Migrate fixes

----------------------------------------------------------------
Alex Deucher (3):
drm/amdgpu: make display pinning more flexible (v2)
drm/amdgpu: handle polaris10/11 overlap asics (v2)
drm/amdgpu: skip MES for S0ix as well since it's part of GFX

Arnd Bergmann (1):
drm/amd/pm: avoid large variable on kernel stack

Chris Wilson (1):
drm/i915/migrate: Account for the reserved_space

Christian König (8):
drm/amdgpu: fixx NULL pointer deref in gmc_v9_0_get_vm_pte
drm/amdgpu: WARN when freeing kernel memory during suspend
drm/amdgpu: fix GDS/GWS/OA switch handling
drm/amdgpu: cleanup SPM support a bit
drm/amdgpu: stop waiting for the VM during unreserve
drm/amdgpu: rework reserved VMID handling
drm/amdgpu: revert "generally allow over-commit during BO allocation"
drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency

Colin Ian King (1):
drm/amd/display: Fix spelling mistake: "dram_clk_chanage" ->
"dram_clk_change"

Dave Airlie (3):
Merge tag 'amd-drm-fixes-6.2-2022-12-15' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next
Merge tag 'drm-intel-next-fixes-2022-12-15' of
git://anongit.freedesktop.org/drm/drm-intel into drm-next
Merge tag 'amd-drm-fixes-6.2-2022-12-21' of
https://gitlab.freedesktop.org/agd5f/linux into drm-next

Evan Quan (8):
drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping
drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
drm/amd/pm: correct SMU13.0.0 pstate profiling clock settings
drm/amd/pm: update SMU13.0.0 reported maximum shader clock
drm/amd/pm: bump SMU13.0.0 driver_if header to version 0x34
drm/amd/pm: correct the fan speed retrieving in PWM for some SMU13 asics

Felix Kuehling (1):
drm/amdgpu: Add notifier lock for KFD userptrs

Khaled Almahallawy (1):
drm/i915/display: Don't disable DDI/Transcoder when setting phy
test pattern

Luben Tuikov (3):
drm/amdgpu: Check if fru_addr is not NULL (v2)
drm/amdgpu: Fix size validation for non-exclusive domains (v4)
drm/amdgpu: Remove unnecessary domain argument

Matt Roper (1):
drm/i915/gt: Correct kerneldoc for intel_gt_mcr_wait_for_reg()

Matthew Auld (2):
drm/i915/migrate: fix corner case in CCS aux copying
drm/i915/ttm: consider CCS for backup objects

Miaoqian Lin (1):
drm/i915: Fix documentation for intel_uncore_forcewake_put__locked

Philip Yang (2):
drm/amdkfd: Fix kfd_process_device_init_vm error handling
drm/amdkfd: Fix double release compute pasid

Saleemkhan Jamadar (1):
drm/amdgpu: enable VCN DPG for GC IP v11.0.4

Shikang Fan (1):
drm/amdgpu: Add an extra evict_resource call during device_suspend.

Tim Huang (1):
drm/amdgpu: skip mes self test after s0i3 resume for MES IP v11.0

Umesh Nerlige Ramappa (1):
drm/i915/perf: Do not parse context image for HSW

Ville Syrjälä (1):
drm/i915: Fix VLV/CHV HDMI/DP audio enable

Yifan Zhang (1):
drm/amd/display: Add DCN314 display SG Support

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 17 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 251 ++++++++++++++-------
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 10 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 13 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 16 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c | 12 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 88 +++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 40 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 24 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 6 +
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 79 ++-----
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 2 +
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 +-
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 3 +-
drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_process.c | 24 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
.../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 8 +-
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +-
.../display/dc/dcn10/dcn10_hw_sequencer_debug.c | 4 +-
.../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c | 8 +-
.../gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c | 8 +-
.../gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c | 8 +-
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 2 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 2 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 4 +
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 17 ++
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 113 +++++++++-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 42 +++-
drivers/gpu/drm/i915/display/g4x_dp.c | 4 +-
drivers/gpu/drm/i915/display/g4x_hdmi.c | 25 +-
drivers/gpu/drm/i915/display/intel_dp.c | 59 -----
drivers/gpu/drm/i915/gem/i915_gem_object.c | 3 +
drivers/gpu/drm/i915/gem/i915_gem_object_types.h | 10 +-
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c | 18 +-
drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 2 +-
drivers/gpu/drm/i915/gt/intel_migrate.c | 53 ++++-
drivers/gpu/drm/i915/i915_perf.c | 6 +-
drivers/gpu/drm/i915/intel_uncore.c | 4 +-
47 files changed, 647 insertions(+), 372 deletions(-)