[git pull] drm fixes for 5.12-rc5

From: Dave Airlie
Date: Thu Mar 25 2021 - 23:34:55 EST


Hi Linus,

As expected last week things were overly quiet so this week things
seem to have caught up. It still isn't too major.

msm and amdgpu lead the size here, the msm fixes are pretty varied
across the driver, the amdgpu one is mostly the S0ix fixes with some
other minor ones. Otherwise there are a few i915 fixes and one each
for nouveau, etnaviv and rcar-du.

Dave.

drm-fixes-2021-03-26:
drm fixes for 5.12-rc5

msm:
- pll fixes
- shutdown hook fix
- runtime resume fix
- clear_oob fix
- kms locking fix
- display aux retry fix

rcar-du:
- warn_on in encoder init fix

etnaviv:
- Use FOLL_FORCE and FOLL_LONGTERM

i915:
- DisplayPort LTTPR fixes around link training and limiting it
according to supported spec version.
- Fix enabled_planes bitmask to really represent only logically
enabled planes.
- Fix DSS CTL registers for ICL DSI transcoders
- Fix the GT fence revocation runtime PM logic.

nouveau:
- cursor size regression fix

amdgpu:
- S0ix fixes
- Add PCI ID
- Polaris PCIe DPM fix
- Display fix for high refresh rate monitors
The following changes since commit 0d02ec6b3136c73c09e7859f0d0e4e2c4c07b49b:

Linux 5.12-rc4 (2021-03-21 14:56:43 -0700)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2021-03-26

for you to fetch changes up to 09d78dde88ef95a27b54a6e450ee700ccabdf39d:

Merge tag 'drm-msm-fixes-2021-02-25' of
https://gitlab.freedesktop.org/drm/msm into drm-fixes (2021-03-26
13:04:17 +1000)

----------------------------------------------------------------
drm fixes for 5.12-rc5

msm:
- pll fixes
- shutdown hook fix
- runtime resume fix
- clear_oob fix
- kms locking fix
- display aux retry fix

rcar-du:
- warn_on in encoder init fix

etnaviv:
- Use FOLL_FORCE and FOLL_LONGTERM

i915:
- DisplayPort LTTPR fixes around link training and limiting it
according to supported spec version.
- Fix enabled_planes bitmask to really represent only logically
enabled planes.
- Fix DSS CTL registers for ICL DSI transcoders
- Fix the GT fence revocation runtime PM logic.

nouveau:
- cursor size regression fix

amdgpu:
- S0ix fixes
- Add PCI ID
- Polaris PCIe DPM fix
- Display fix for high refresh rate monitors

----------------------------------------------------------------
Alex Deucher (11):
drm/amdgpu: rework S3/S4/S0ix state handling
drm/amdgpu: don't evict vram on APUs for suspend to ram (v4)
drm/amdgpu: clean up non-DC suspend/resume handling
drm/amdgpu: move s0ix check into amdgpu_device_ip_suspend_phase2 (v3)
drm/amdgpu: re-enable suspend phase 2 for S0ix
drm/amdgpu/swsmu: skip gfx cgpg on s0ix suspend
drm/amdgpu: update comments about s0ix suspend/resume
drm/amdgpu: drop S0ix checks around CG/PG in suspend
drm/amdgpu: skip kfd suspend/resume for S0ix
drm/amdgpu: Add additional Sienna Cichlid PCI ID
drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x

Daniel Vetter (2):
drm/etnaviv: Use FOLL_FORCE for userptr
drm/etnaviv: User FOLL_LONGTERM in userptr

Dave Airlie (6):
Merge tag 'du-fixes-20210316' of
git://linuxtv.org/pinchartl/media into drm-fixes
Merge tag 'drm-misc-fixes-2021-03-25' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2021-03-25-1' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge branch 'linux-5.12' of git://github.com/skeggsb/linux into drm-fixes
Merge tag 'amd-drm-fixes-5.12-2021-03-24' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-msm-fixes-2021-02-25' of
https://gitlab.freedesktop.org/drm/msm into drm-fixes

Dmitry Baryshkov (4):
drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code
drm/msm/dsi_pll_7nm: Solve TODO for multiplier frac_bits assignment
drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate
drm/msm: fix shutdown hook in case GPU components failed to bind

Douglas Anderson (1):
drm/msm: Fix speed-bin support not to access outside valid memory

Fabio Estevam (1):
drm/msm: Fix suspend/resume on i.MX5

Imre Deak (4):
drm/i915/ilk-glk: Fix link training on links with LTTPRs
drm/i915: Disable LTTPR support when the DPCD rev < 1.4
drm/i915: Disable LTTPR support when the LTTPR rev < 1.4
drm/i915: Fix the GT fence revocation runtime PM logic

Jani Nikula (1):
drm/i915/dsc: fix DSS CTL register usage for ICL DSI transcoders

Jonathan Marek (1):
drm/msm: fix a6xx_gmu_clear_oob

Jordan Crouse (1):
drm/msm: a6xx: Make sure the SQE microcode is safe

Kalyan Thota (1):
drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume

Kenneth Feng (1):
drm/amd/pm: workaround for audio noise issue

Kieran Bingham (1):
drm: rcar-du: Use drmm_encoder_alloc() to manage encoder

Konrad Dybcio (1):
drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs

Lyude Paul (1):
drm/nouveau/kms/nve4-nv108: Limit cursors to 128x128

Pratik Vishwakarma (1):
drm/amdgpu: skip CG/PG for gfx during S0ix

Prike Liang (1):
drm/amdgpu: fix the hibernation suspend with s0ix

Rob Clark (1):
drm/msm: Ratelimit invalid-fence message

Stephen Boyd (2):
drm/msm/kms: Use nested locking for crtc lock instead of custom classes
drm/msm/dp: Restore aux retry tuning logic

Ville Syrjälä (1):
drm/i915: Fix enabled_planes bitmask

drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 132 ++++++---------------
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 89 ++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_display.h | 3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 31 +++--
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 7 +-
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 9 +-
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 9 +-
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 8 +-
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 9 +-
drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 15 ++-
.../drm/amd/display/dc/dcn20/dcn20_link_encoder.c | 3 +-
.../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 54 +++++++++
.../gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 74 ++++++++++--
.../gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 24 ++++
.../gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 25 ++++
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 5 +-
drivers/gpu/drm/etnaviv/etnaviv_gem.c | 3 +-
drivers/gpu/drm/i915/display/intel_atomic_plane.c | 5 +-
drivers/gpu/drm/i915/display/intel_dp.c | 4 +-
drivers/gpu/drm/i915/display/intel_dp_aux.c | 7 ++
.../gpu/drm/i915/display/intel_dp_link_training.c | 75 +++++++++---
.../gpu/drm/i915/display/intel_dp_link_training.h | 2 +-
drivers/gpu/drm/i915/display/intel_vdsc.c | 10 +-
drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c | 13 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 29 ++++-
drivers/gpu/drm/i915/intel_runtime_pm.h | 5 +
drivers/gpu/drm/msm/adreno/a5xx_power.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +-
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 108 +++++++++++------
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 12 +-
drivers/gpu/drm/msm/dp/dp_aux.c | 7 ++
drivers/gpu/drm/msm/dsi/pll/dsi_pll.c | 2 +-
drivers/gpu/drm/msm/dsi/pll/dsi_pll.h | 6 +-
drivers/gpu/drm/msm/dsi/pll/dsi_pll_7nm.c | 11 +-
drivers/gpu/drm/msm/msm_atomic.c | 7 +-
drivers/gpu/drm/msm/msm_drv.c | 12 ++
drivers/gpu/drm/msm/msm_fence.c | 2 +-
drivers/gpu/drm/msm/msm_kms.h | 8 +-
drivers/gpu/drm/nouveau/dispnv50/disp.c | 13 +-
drivers/gpu/drm/rcar-du/rcar_du_encoder.c | 31 +----
41 files changed, 617 insertions(+), 266 deletions(-)