[git pull] drm fixes for 5.17-rc3

From: Dave Airlie
Date: Fri Feb 04 2022 - 01:09:29 EST


Hi Linus,

Regular fixes for the week. Daniel has agreed to bring back the fbcon
hw acceleration under a CONFIG option for the non-drm fbdev users, we
don't advise turning this on unless you are in the niche that is old
fbdev drivers, Since it's essentially a revert and shouldn't be high
impact seemed like a good time to do it now.

Otherwise, i915 and amdgpu fixes are most of it, along with some minor
fixes elsewhere.

Dave.

drm-fixes-2022-02-04:
drm fixes for 5.17-rc3

fbdev:
- readd fbcon acceleration

i915:
- fix DP monitor via type-c dock
- fix for engine busyness and read timeout with GuC
- use ALLOW_FAIL for error capture buffer allocs
- don't use interruptible lock on error paths
- smatch fix to reject zero sized overlays.

amdgpu:
- mGPU fan boost fix for beige goby
- S0ix fixes
- Cyan skillfish hang fix
- DCN fixes for DCN 3.1
- DCN fixes for DCN 3.01
- Apple retina panel fix
- ttm logic inversion fix

dma-buf:
- heaps: fix potential spectre v1 gadget

kmb:
- fix potential oob access

mxsfb:
- fix NULL ptr deref

nouveau:
- fix potential oob access during BIOS decode
The following changes since commit 26291c54e111ff6ba87a164d85d4a4e134b7315c:

Linux 5.17-rc2 (2022-01-30 15:37:07 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 9ca3d3cd0857523c95ab8cdbb6cfe47b8f90e309:

Merge tag 'drm-intel-fixes-2022-02-03' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-02-04
15:48:27 +1000)

----------------------------------------------------------------
drm fixes for 5.17-rc3

fbdev:
- readd fbcon acceleration

i915:
- fix DP monitor via type-c dock
- fix for engine busyness and read timeout with GuC
- use ALLOW_FAIL for error capture buffer allocs
- don't use interruptible lock on error paths
- smatch fix to reject zero sized overlays.

amdgpu:
- mGPU fan boost fix for beige goby
- S0ix fixes
- Cyan skillfish hang fix
- DCN fixes for DCN 3.1
- DCN fixes for DCN 3.01
- Apple retina panel fix
- ttm logic inversion fix

dma-buf:
- heaps: fix potential spectre v1 gadget

kmb:
- fix potential oob access

mxsfb:
- fix NULL ptr deref

nouveau:
- fix potential oob access during BIOS decode

----------------------------------------------------------------
Agustin Gutierrez (1):
drm/amd/display: Update watermark values for DCN301

Alexander Stein (1):
drm: mxsfb: Fix NULL pointer dereference

Anitha Chrisanthus (1):
drm/kmb: Fix for build errors with Warray-bounds

Aun-Ali Zaidi (1):
drm/amd/display: Force link_rate as LINK_RATE_RBR2 for 2018 15"
Apple Retina panels

Christian König (1):
drm/amdgpu: fix logic inversion in check

Dan Carpenter (1):
drm/i915/overlay: Prevent divide by zero bugs in scaling

Dave Airlie (3):
Merge tag 'amd-drm-fixes-5.17-2022-02-02' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2022-02-03' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2022-02-03' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes

Evan Quan (1):
drm/amd/pm: correct the MGpuFanBoost support for Beige Goby

Helge Deller (3):
Revert "fbdev: Garbage collect fbdev scrolling acceleration,
part 1 (from TODO list)"
Revert "fbcon: Disable accelerated scrolling"
fbcon: Add option to enable legacy hardware acceleration

Imre Deak (1):
drm/i915/adlp: Fix TypeC PHY-ready status readout

Jordy Zomer (1):
dma-buf: heaps: Fix potential spectre v1 gadget

Lang Yu (1):
drm/amdgpu: fix a potential GPU hang on cyan skillfish

Mario Limonciello (4):
drm/amd: Warn users about potential s0ix problems
drm/amd: add support to check whether the system is set to s3
drm/amd: Only run s3 or s0ix if system is configured properly
drm/amd: avoid suspend on dGPUs w/ s2idle support when runtime PM enabled

Matthew Brost (2):
drm/i915: Allocate intel_engine_coredump_alloc with ALLOW_FAIL
drm/i915: Lock timeline mutex directly in error path of eb_pin_timeline

Nick Lopez (1):
drm/nouveau: fix off by one in BIOS boundary checking

Paul Hsieh (1):
drm/amd/display: watermark latencies is not enough on DCN31

Umesh Nerlige Ramappa (2):
drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference
drm/i915/pmu: Fix KMD and GuC race on accessing busyness

Zhan Liu (1):
drm/amd/display: revert "Reset fifo after enable otg"

Documentation/gpu/todo.rst | 24 -
drivers/dma-buf/dma-heap.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 10 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 37 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 3 +
.../drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c | 16 +-
.../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 20 +-
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 20 +
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 5 -
.../amd/display/dc/dcn10/dcn10_stream_encoder.c | 15 -
.../amd/display/dc/dcn10/dcn10_stream_encoder.h | 3 -
.../amd/display/dc/dcn20/dcn20_stream_encoder.c | 2 -
.../display/dc/dcn30/dcn30_dio_stream_encoder.c | 2 -
.../gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 4 -
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 6 +-
drivers/gpu/drm/i915/display/intel_overlay.c | 3 +
drivers/gpu/drm/i915/display/intel_tc.c | 3 +-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 9 +-
drivers/gpu/drm/i915/gt/uc/intel_guc.h | 5 +
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 114 ++++-
drivers/gpu/drm/i915/i915_gpu_error.c | 2 +-
drivers/gpu/drm/i915/i915_reg.h | 3 +-
drivers/gpu/drm/kmb/kmb_plane.c | 6 -
drivers/gpu/drm/mxsfb/mxsfb_kms.c | 6 +-
drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c | 2 +-
drivers/video/console/Kconfig | 20 +
drivers/video/fbdev/core/bitblit.c | 16 +
drivers/video/fbdev/core/fbcon.c | 557 ++++++++++++++++++++-
drivers/video/fbdev/core/fbcon.h | 72 +++
drivers/video/fbdev/core/fbcon_ccw.c | 28 +-
drivers/video/fbdev/core/fbcon_cw.c | 28 +-
drivers/video/fbdev/core/fbcon_rotate.h | 9 +
drivers/video/fbdev/core/fbcon_ud.c | 37 +-
drivers/video/fbdev/core/tileblit.c | 16 +
drivers/video/fbdev/skeletonfb.c | 12 +-
include/linux/fb.h | 2 +-
38 files changed, 972 insertions(+), 160 deletions(-)