[git pull] drm fixes for 5.16-rc4

From: Dave Airlie
Date: Thu Dec 02 2021 - 16:27:25 EST


Hi Linus,

Bit of an uptick in patch count this week, though it's all relatively
small overall. I suspect msm has been queuing up a few fixes to skew
it here. Otherwise amdgpu has a scattered bunch of small fixes, and
then some vc4, i915. virtio-gpu changes an rc1 introduced uAPI
mistake, and makes it operate more like other drivers. This should be
fine as no userspace relies on the behaviour yet.

Dave.

drm-fixes-2021-12-03-1:
drm-fixes-2021-12-03:
drm fixes for 5.16-rc4

dma-buf:
- memory leak fix

msm:
- kasan found memory overwrite
- mmap flags
- fencing error bug
- ioctl NULL ptr
- uninit var
- devfreqless devices fix
- dsi lanes fix
- dp: avoid unpowered aux xfers

amdgpu:
- IP discovery based enumeration fixes
- vkms fixes
- DSC fixes for DP MST
- Audio fix for hotplug with tiled displays
- Misc display fixes
- DP tunneling fix
- DP fix
- Aldebaran fix

amdkfd:
- Locking fix
- Static checker fix
- Fix double free

i915:
- backlight regression
- Intel HDR backlight detection fix
- revert TGL workaround that caused hangs

virtio-gpu:
- switch back to drm_poll

vc4:
- memory leak
- error check fix
- HVS modesetting fixes
The following changes since commit d58071a8a76d779eedab38033ae4c821c30295a5:

Linux 5.16-rc3 (2021-11-28 14:09:19 -0800)

are available in the Git repository at:

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

for you to fetch changes up to a687efed194bdc185fd7cb33920fe8b4e60ecb9e:

Merge tag 'drm-intel-fixes-2021-12-02' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2021-12-03
05:59:31 +1000)

----------------------------------------------------------------
drm-fixes-2021-12-03:
drm fixes for 5.16-rc4

dma-buf:
- memory leak fix

msm:
- kasan found memory overwrite
- mmap flags
- fencing error bug
- ioctl NULL ptr
- uninit var
- devfreqless devices fix
- dsi lanes fix
- dp: avoid unpowered aux xfers

amdgpu:
- IP discovery based enumeration fixes
- vkms fixes
- DSC fixes for DP MST
- Audio fix for hotplug with tiled displays
- Misc display fixes
- DP tunneling fix
- DP fix
- Aldebaran fix

amdkfd:
- Locking fix
- Static checker fix
- Fix double free

i915:
- backlight regression
- Intel HDR backlight detection fix
- revert TGL workaround that caused hangs

virtio-gpu:
- switch back to drm_poll

vc4:
- memory leak
- error check fix
- HVS modesetting fixes

----------------------------------------------------------------
Akhil P Oommen (2):
drm/msm: Fix null ptr access msm_ioctl_gem_submit()
drm/msm/a6xx: Fix uinitialized use of gpu_scid

Arnd Bergmann (1):
drm: msm: fix building without CONFIG_COMMON_CLK

Dave Airlie (4):
Merge tag 'drm-msm-fixes-2021-11-28' of
https://gitlab.freedesktop.org/drm/msm into drm-fixes
Merge tag 'amd-drm-fixes-5.16-2021-12-01' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2021-12-02' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2021-12-02' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes

Douglas Anderson (3):
drm/msm/a6xx: Allocate enough space for GMU registers
drm/msm: Fix mmap to include VM_IO and VM_DONTDUMP
drm/msm/dp: Avoid unpowered AUX xfers that caused crashes

Flora Cui (2):
drm/amdgpu: cancel the correct hrtimer on exit
drm/amdgpu: check atomic flag to differeniate with legacy path

Guangming (1):
dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow

Guchun Chen (1):
drm/amdgpu: fix the missed handling for SDMA2 and SDMA3

Gurchetan Singh (2):
drm/virtgpu api: define a dummy fence signaled event
drm/virtio: use drm_poll(..) instead of virtio_gpu_poll(..)

Jane Jian (1):
drm/amdgpu/sriov/vcn: add new vcn ip revision check case for
SIENNA_CICHLID

Jimmy Kizito (1):
drm/amd/display: Add work around for tunneled MST.

José Roberto de Souza (1):
Revert "drm/i915: Implement Wa_1508744258"

Lijo Lazar (1):
drm/amdgpu: Don't halt RLC on GFX suspend

Lyude Paul (2):
drm/i915: Add support for panels with VESA backlights with PWM
enable/disable
drm/i915/dp: Perform 30ms delay after source OUI write

Maxime Ripard (6):
drm/vc4: kms: Wait for the commit before increasing our clock rate
drm/vc4: kms: Fix return code check
drm/vc4: kms: Add missing drm_crtc_commit_put
drm/vc4: kms: Clear the HVS FIFO commit pointer once done
drm/vc4: kms: Don't duplicate pending commit
drm/vc4: kms: Fix previous HVS commit wait

Mustapha Ghaddar (1):
drm/amd/display: Fix for the no Audio bug with Tiled Displays

Nicholas Kazlauskas (1):
drm/amd/display: Allow DSC on supported MST branch devices

Perry Yuan (1):
drm/amd/display: add connector type check for CRC source set

Philip Chen (1):
drm/msm/dsi: set default num_data_lanes

Philip Yang (3):
drm/amdkfd: set "r = 0" explicitly before goto
drm/amdkfd: fix double free mem structure
drm/amdkfd: process_info lock not needed for svm

Rob Clark (8):
drm/msm/devfreq: Fix OPP refcnt leak
drm/msm: Fix wait_fence submitqueue leak
drm/msm: Restore error return on invalid fence
drm/msm: Make a6xx_gpu_set_freq() static
drm/msm: Demote debug message
drm/msm/gpu: Fix idle_work time
drm/msm/gpu: Fix check for devices without devfreq
drm/msm: Do hw_init() before capturing GPU state

Shen, George (1):
drm/amd/display: Clear DPCD lane settings after repeater training

shaoyunl (1):
drm/amdgpu: adjust the kfd reset sequence in reset sriov function

drivers/dma-buf/heaps/system_heap.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 8 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 16 ++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vkms.c | 4 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 7 ++--
drivers/gpu/drm/amd/amdgpu/nv.c | 1 +
drivers/gpu/drm/amd/amdkfd/kfd_svm.c | 13 ++----
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 8 ++++
.../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 20 +++++++--
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 16 +++++++
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 24 ++++++-----
drivers/gpu/drm/amd/display/dc/dc.h | 3 +-
drivers/gpu/drm/amd/display/dc/dc_link.h | 2 +
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 2 +-
drivers/gpu/drm/i915/display/intel_display_types.h | 3 ++
drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++
drivers/gpu/drm/i915/display/intel_dp.h | 2 +
.../gpu/drm/i915/display/intel_dp_aux_backlight.c | 32 +++++++++++---
drivers/gpu/drm/i915/gt/intel_workarounds.c | 7 ----
drivers/gpu/drm/msm/Kconfig | 2 +-
drivers/gpu/drm/msm/Makefile | 6 +--
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 20 ++++-----
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 4 +-
drivers/gpu/drm/msm/dp/dp_aux.c | 17 ++++++++
drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +
drivers/gpu/drm/msm/msm_debugfs.c | 1 +
drivers/gpu/drm/msm/msm_drv.c | 49 ++++++++++++++--------
drivers/gpu/drm/msm/msm_gem.c | 5 +--
drivers/gpu/drm/msm/msm_gem_submit.c | 2 +
drivers/gpu/drm/msm/msm_gpu.h | 3 ++
drivers/gpu/drm/msm/msm_gpu_devfreq.c | 13 ++++--
drivers/gpu/drm/vc4/vc4_kms.c | 40 ++++++++----------
drivers/gpu/drm/virtio/virtgpu_drv.c | 42 +------------------
drivers/gpu/drm/virtio/virtgpu_drv.h | 1 -
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 2 +-
include/uapi/drm/virtgpu_drm.h | 7 ++++
39 files changed, 244 insertions(+), 159 deletions(-)