[git pull] drm fixes for 6.2-rc8

From: Dave Airlie
Date: Thu Feb 09 2023 - 20:20:13 EST


Hi Linus,

Weekly fixes, the amdgpu had a few small fixes to display flicker on
certain configurations, however it was found the the flicker was
lessened but there were other unintended consequences, so for now
they've been reverted and replaced with an option for users to test
with so future fixes can be developed. Otherwise apart from the usual
bunch of i915 and amdgpu, there's a client, virtio-gpu and an nvidiafb
fix that reorders its loading to avoid failure.

Dave.

drm-fixes-2023-02-10:
drm fixes for 6.2-rc8

client:
- refcount fix

amdgpu:
- a bunch of attempted flicker fixes that regressed turned into a user
workaround option for now
- Properly fix S/G display with AGP aperture enabled
- Fix cursor offset with 180 rotation
- SMU13 fixes
- Use TGID for GPUVM traces
- Fix oops on in fence error path
- Don't run IB tests on hw rings when sw rings are in use
- memory leak fix

i915:
- Display watermark fix
- fbdev fix for PSR, FBC, DRRS
- Move fd_install after last use of fence
- Initialize the obj flags for shmem objects
- Fix VBT DSI DVO port handling

virtio-gpu:
- fence fix

nvidiafb:
- regression fix for driver load when no hw supported
The following changes since commit 4ec5183ec48656cec489c49f989c508b68b518e3:

Linux 6.2-rc7 (2023-02-05 13:13:28 -0800)

are available in the Git repository at:

git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2023-02-10

for you to fetch changes up to 777c1e01cb7e1947765fb0c3b9b71dab18e53e46:

Merge tag 'amd-drm-fixes-6.2-2023-02-09' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes (2023-02-10
09:49:13 +1000)

----------------------------------------------------------------
drm fixes for 6.2-rc8

client:
- refcount fix

amdgpu:
- a bunch of attempted flicker fixes that regressed turned into a user
workaround option for now
- Properly fix S/G display with AGP aperture enabled
- Fix cursor offset with 180 rotation
- SMU13 fixes
- Use TGID for GPUVM traces
- Fix oops on in fence error path
- Don't run IB tests on hw rings when sw rings are in use
- memory leak fix

i915:
- Display watermark fix
- fbdev fix for PSR, FBC, DRRS
- Move fd_install after last use of fence
- Initialize the obj flags for shmem objects
- Fix VBT DSI DVO port handling

virtio-gpu:
- fence fix

nvidiafb:
- regression fix for driver load when no hw supported

----------------------------------------------------------------
Alex Deucher (8):
drm/amd/display: disable S/G display on DCN 2.1.0
drm/amd/display: disable S/G display on DCN 3.1.2/3
drm/amd/display: properly handling AGP aperture in vm setup
Revert "drm/amd/display: disable S/G display on DCN 3.1.4"
drm/amdgpu: add S/G display parameter
Revert "drm/amd/display: disable S/G display on DCN 3.1.2/3"
Revert "drm/amd/display: disable S/G display on DCN 2.1.0"
Revert "drm/amd/display: disable S/G display on DCN 3.1.5"

Aravind Iddamsetty (1):
drm/i915: Initialize the obj flags for shmem objects

Bert Karwatzki (1):
drm/amdgpu: fix memory leak in amdgpu_cs_sync_rings

Christian König (1):
drm/client: fix circular reference counting issue

Dave Airlie (5):
nvidiafb: detect the hardware support before removing console.
Merge tag 'amd-drm-fixes-6.2-2023-02-08' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2023-02-09' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-intel-fixes-2023-02-09' of
git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Merge tag 'amd-drm-fixes-6.2-2023-02-09' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes

Evan Quan (3):
drm/amd/pm: add SMU 13.0.7 missing GetPptLimit message mapping
drm/amd/pm: bump SMU 13.0.0 driver_if header version
drm/amd/pm: bump SMU 13.0.7 driver_if header version

Friedrich Vock (1):
drm/amdgpu: Use the TGID for trace_amdgpu_vm_update_ptes

Guilherme G. Piccoli (1):
drm/amdgpu/fence: Fix oops due to non-matching drm_sched init/fini

Jane Jian (1):
drm/amdgpu/smu: skip pptable init under sriov

JesseZhang (1):
amd/amdgpu: remove test ib on hw ring

Jouni Högander (1):
drm/i915/fbdev: Implement fb_dirty for intel custom fb helper

Kenneth Feng (1):
drm/amd/amdgpu: enable athub cg 11.0.3

Kent Russell (1):
drm/amdgpu: Add unique_id support for GC 11.0.1/2

Melissa Wen (1):
drm/amd/display: fix cursor offset on rotation 180

Rob Clark (1):
drm/i915: Move fd_install after last use of fence

Ryan Neph (1):
drm/virtio: exbuf->fence_fd unmodified on interrupted wait

Ville Syrjälä (2):
drm/i915: Don't do the WM0->WM1 copy w/a if WM1 is already enabled
drm/i915: Fix VBT DSI DVO port handling

drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 8 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 -
drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 47 +++++++++----
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +-
drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 5 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_7.h | 29 ++++----
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 4 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 6 ++
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 1 +
drivers/gpu/drm/drm_client.c | 33 +++++----
drivers/gpu/drm/i915/display/intel_bios.c | 33 ++++++---
drivers/gpu/drm/i915/display/intel_fbdev.c | 12 ++++
drivers/gpu/drm/i915/display/skl_watermark.c | 3 +-
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 14 ++--
drivers/gpu/drm/i915/gem/i915_gem_shmem.c | 2 +-
drivers/gpu/drm/virtio/virtgpu_ioctl.c | 5 +-
drivers/video/fbdev/nvidia/nvidia.c | 81 +++++++++++-----------
include/drm/drm_client.h | 5 --
include/uapi/drm/virtgpu_drm.h | 1 +
26 files changed, 200 insertions(+), 119 deletions(-)