[git pull] drm fixes for 6.1-rc5

From: Dave Airlie
Date: Thu Nov 10 2022 - 21:18:43 EST


Hi Linus,

Weekly pull request for graphics, mostly amdgpu and i915, with a
couple of fixes for vc4 and panfrost, panel quirks and a kconfig
change for rcar-du. Nothing seems to be too strange at this stage.

drm-fixes-2022-11-11:
drm fixes for 6.1-rc5

amdgpu:
- Fix s/r in amdgpu_vram_mgr_new
- SMU 13.0.4 update
- GPUVM TLB race fix
- DCN 3.1.4 fixes
- DCN 3.2.x fixes
- Vega10 fan fix
- BACO fix for Beige Goby board
- PSR fix
- GPU VM PT locking fixes

amdkfd:
- CRIU fixes

vc4:
- HDMI fixes to vc4.

panfrost:
- Make panfrost's uapi header compile with C++.
- Handle 1 gb boundary correctly in panfrost mmu code.

panel:
- Add rotation quirks for 2 panels.

rcar-du:
- DSI Kconfig fix

i915:
- Fix sg_table handling in map_dma_buf
- Send PSR update also on invalidate
- Do not set cache_dirty for DGFX
- Restore userptr probe_range behaviour
The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-11-11

for you to fetch changes up to b7ffd9d9ee13de2c5ad88046a5149de4cfb2a74b:

Merge tag 'drm-intel-fixes-2022-11-10' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-11-11
10:20:11 +1000)

----------------------------------------------------------------
drm fixes for 6.1-rc5

amdgpu:
- Fix s/r in amdgpu_vram_mgr_new
- SMU 13.0.4 update
- GPUVM TLB race fix
- DCN 3.1.4 fixes
- DCN 3.2.x fixes
- Vega10 fan fix
- BACO fix for Beige Goby board
- PSR fix
- GPU VM PT locking fixes

amdkfd:
- CRIU fixes

vc4:
- HDMI fixes to vc4.

panfrost:
- Make panfrost's uapi header compile with C++.
- Handle 1 gb boundary correctly in panfrost mmu code.

panel:
- Add rotation quirks for 2 panels.

rcar-du:
- DSI Kconfig fix

i915:
- Fix sg_table handling in map_dma_buf
- Send PSR update also on invalidate
- Do not set cache_dirty for DGFX
- Restore userptr probe_range behaviour

----------------------------------------------------------------
Asher Song (1):
Revert "drm/amdgpu: Revert "drm/amdgpu: getting fan speed pwm
for vega10 properly""

Aurabindo Pillai (1):
drm/amd/display: Zeromem mypipe heap struct before using it

Chaitanya Dhere (1):
drm/amd/display: Fix FCLK deviation and tool compile issues

Christian König (1):
drm/amdgpu: workaround for TLB seq race

Dave Airlie (4):
Merge tag 'amd-drm-fixes-6.1-2022-11-09' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2022-11-09' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-fixes-20221109' of
git://linuxtv.org/pinchartl/media into drm-fixes
Merge tag 'drm-intel-fixes-2022-11-10' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes

Dillon Varone (1):
drm/amd/display: Enforce minimum prefetch time for low memclk on DCN32

Felix Kuehling (2):
drm/amdkfd: Fix error handling in kfd_criu_restore_events
drm/amdkfd: Fix error handling in criu_checkpoint

Guchun Chen (1):
drm/amdgpu: disable BACO on special BEIGE_GOBY card

Hamza Mahfooz (1):
drm/amd/display: only fill dirty rectangles when PSR is enabled

Hans de Goede (2):
drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)

Jouni Högander (1):
drm/i915/psr: Send update also on invalidate

Laurent Pinchart (1):
drm: rcar-du: Fix Kconfig dependency between RCAR_DU and RCAR_MIPI_DSI

Ma Jun (1):
drm/amdgpu: Fix the lpfn checking condition in drm buddy

Matthew Auld (2):
drm/i915/dmabuf: fix sg_table handling in map_dma_buf
drm/i915/userptr: restore probe_range behaviour

Nicholas Kazlauskas (2):
drm/amd/display: Update SR watermarks for DCN314
drm/amd/display: Fix reg timeout in enc314_enable_fifo

Niranjana Vishwanathapura (1):
drm/i915: Do not set cache_dirty for DGFX

Philip Yang (2):
drm/amdgpu: Unlock bo_list_mutex after error handling
drm/amdgpu: Drop eviction lock when allocating PT BO

Robin Murphy (1):
drm/panfrost: Split io-pgtable requests properly

Steve Su (1):
drm/amd/display: Fix gpio port mapping issue

Steven Price (1):
drm/panfrost: Remove type name from internal struct again

Tim Huang (1):
drm/amd/pm: update SMU IP v13.0.4 msg interface header

Yuan Can (1):
drm/vc4: Fix missing platform_unregister_drivers() call in
vc4_drm_register()

maxime@xxxxxxxxxx (3):
drm/vc4: hdmi: Take our lock to reset the link
drm/vc4: hdmi: Fix outdated function name in comment
drm/vc4: hdmi: Fix HSM clock too low on Pi4

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 26 ------------
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 41 +++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 +-
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 34 +++++++---------
drivers/gpu/drm/amd/amdkfd/kfd_events.c | 3 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 7 ++--
.../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 32 +++++++--------
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
.../display/dc/dcn314/dcn314_dio_stream_encoder.c | 24 ++++++++---
.../gpu/drm/amd/display/dc/dcn32/dcn32_resource.c | 1 +
.../drm/amd/display/dc/dcn321/dcn321_resource.c | 1 +
.../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c | 4 +-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 +
.../amd/display/dc/dml/dcn32/display_mode_vba_32.c | 5 +++
.../amd/display/dc/dml/dcn32/display_mode_vba_32.h | 3 ++
.../dc/dml/dcn32/display_mode_vba_util_32.c | 14 +++++--
.../dc/dml/dcn32/display_mode_vba_util_32.h | 3 +-
.../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c | 2 +
.../drm/amd/display/dc/dml/display_mode_structs.h | 1 +
.../amd/display/dc/gpio/dcn32/hw_factory_dcn32.c | 14 +++++++
drivers/gpu/drm/amd/display/dc/gpio/hw_ddc.c | 9 +++--
.../drm/amd/pm/powerplay/hwmgr/vega10_thermal.c | 25 ++++++------
.../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_4_ppsmc.h | 15 ++++---
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 4 +-
drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 ++++++
drivers/gpu/drm/i915/display/intel_psr.c | 5 ++-
drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 4 +-
drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 4 +-
drivers/gpu/drm/i915/gem/i915_gem_userptr.c | 5 ++-
drivers/gpu/drm/panfrost/panfrost_mmu.c | 11 ++++-
drivers/gpu/drm/rcar-du/Kconfig | 13 ++++--
drivers/gpu/drm/vc4/vc4_drv.c | 7 +++-
drivers/gpu/drm/vc4/vc4_hdmi.c | 47 +++++++++++++++++-----
drivers/gpu/drm/vc4/vc4_hdmi.h | 1 +
include/uapi/drm/panfrost_drm.h | 2 +-
37 files changed, 258 insertions(+), 129 deletions(-)