[git pull] drm fixes for 5.19-rc5

From: Dave Airlie
Date: Thu Jun 30 2022 - 19:50:38 EST


Hi Linus,

Bit quieter this week, the main thing is it pulls in the fixes for the
sysfb resource issue you were seeing. these had been queued for next
so should have had some decent testing.

Otherwise amdgpu, i915 and msm each have a few fixes, and vc4 has one.

Just to reiterate, I'm out next week (and Daniel is as well), so I'd
expect rc7 might have a bit more, I'll likely send whatever lands in
the queue early the next week.

Regards,
Dave.

drm-fixes-2022-07-01:
drm fixes for 5.19-rc5

fbdev:
- sysfb fixes/conflicting fb fixes.

amdgpu:
- GPU recovery fix
- Fix integer type usage in fourcc header for AMD modifiers
- KFD TLB flush fix for gfx9 APUs
- Display fix

i915:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete

msm:
- Fix to increment vsync_cnt before calling drm_crtc_handle_vblank so that
userspace sees the value *after* it is incremented if waiting for vblank
events
- Fix to reset drm_dev to NULL in dp_display_unbind to avoid a crash in
probe/bind error paths
- Fix to resolve the smatch error of de-referencing before NULL check in
dpu_encoder_phys_wb.c
- Fix error return to userspace if fence-id allocation fails in submit
ioctl

vc4:
- NULL ptr dereference fix
The following changes since commit 03c765b0e3b4cb5063276b086c76f7a612856a9a:

Linux 5.19-rc4 (2022-06-26 14:22:10 -0700)

are available in the Git repository at:

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

for you to fetch changes up to b8f0009bc9edf9186b20ae2a9e442ef0af93040e:

Merge tag 'drm-misc-fixes-2022-06-30' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-07-01
09:27:55 +1000)

----------------------------------------------------------------
drm fixes for 5.19-rc5

fbdev:
- sysfb fixes/conflicting fb fixes.

amdgpu:
- GPU recovery fix
- Fix integer type usage in fourcc header for AMD modifiers
- KFD TLB flush fix for gfx9 APUs
- Display fix

i915:
- Fix ioctl argument error return
- Fix d3cold disable to allow PCI upstream bridge D3 transition
- Fix setting cache_dirty for dma-buf objects on discrete

msm:
- Fix to increment vsync_cnt before calling drm_crtc_handle_vblank so that
userspace sees the value *after* it is incremented if waiting for vblank
events
- Fix to reset drm_dev to NULL in dp_display_unbind to avoid a crash in
probe/bind error paths
- Fix to resolve the smatch error of de-referencing before NULL check in
dpu_encoder_phys_wb.c
- Fix error return to userspace if fence-id allocation fails in submit
ioctl

vc4:
- NULL ptr dereference fix

----------------------------------------------------------------
Alex Deucher (2):
drm/amdgpu: fix adev variable used in amdgpu_device_gpu_recover()
Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"

Anshuman Gupta (1):
drm/i915/dgfx: Disable d3cold at gfx root port

Carlos Llamas (1):
drm/fourcc: fix integer type usage in uapi header

Dave Airlie (4):
Merge tag 'drm-msm-fixes-2022-06-28' of
https://gitlab.freedesktop.org/drm/msm into drm-fixes
Merge tag 'drm-intel-fixes-2022-06-29' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge tag 'amd-drm-fixes-5.19-2022-06-29' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2022-06-30' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Javier Martinez Canillas (3):
firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
firmware: sysfb: Add sysfb_disable() helper function
fbdev: Disable sysfb device registration when removing conflicting FBs

Kuogee Hsieh (1):
drm/msm/dp: reset drm_dev to NULL at dp_display_unbind()

Matthew Auld (1):
drm/i915: tweak the ordering in cpu_write_needs_clflush

Maxime Ripard (1):
drm/vc4: perfmon: Fix variable dereferenced before check

Rob Clark (1):
drm/msm/gem: Fix error return on fence id alloc fail

Ruili Ji (1):
drm/amdgpu: To flush tlb for MMHUB of RAVEN series

Stephen Boyd (1):
drm/msm/dpu: Increment vsync_cnt before waking up userspace

katrinzhou (1):
drm/i915/gem: add missing else

sunliming (1):
drm/msm/dpu: Fix variable dereferenced before check

.../driver-api/firmware/other_interfaces.rst | 6 +++
drivers/firmware/sysfb.c | 58 +++++++++++++++++++---
drivers/firmware/sysfb_simplefb.c | 16 +++---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | 1 +
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 --
drivers/gpu/drm/i915/gem/i915_gem_context.c | 5 +-
drivers/gpu/drm/i915/gem/i915_gem_domain.c | 6 +--
drivers/gpu/drm/i915/i915_driver.c | 34 ++++++-------
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 +-
.../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 10 ++--
drivers/gpu/drm/msm/dp/dp_display.c | 2 +
drivers/gpu/drm/msm/msm_gem_submit.c | 2 +-
drivers/gpu/drm/vc4/vc4_perfmon.c | 9 ++--
drivers/video/fbdev/core/fbmem.c | 12 +++++
include/linux/sysfb.h | 22 ++++++--
include/uapi/drm/drm_fourcc.h | 4 +-
18 files changed, 136 insertions(+), 62 deletions(-)