2022-04-08 00:49:14

by Dave Airlie

[permalink] [raw]
Subject: [git pull] drm fixes for 5.18-rc2

Hi Linus,

Main set of fixes for rc2, mostly amdgpu, but some dma-fence fixups as
well, along with some other misc ones. I think this should fix the
amdgpu splat you have been seeing since rc1.

Regards,
Dave.

drm-fixes-2022-04-08:
drm fixes for 5.18-rc2

dma-fence:
- fix warning about fence containers
- fix logic error in new fence merge code
- handle empty dma_fence_arrays gracefully

bridge:
- Try all possible cases for bridge/panel detection.

bindings:
- Don't require input port for MIPI-DSI, and make width/height mandatory.

fbdev:
- Fix unregistering of framebuffers without device.

nouveau:
- Fix a crash when booting with nouveau on tegra.

amdgpu:
- GFX 10.3.7 fixes
- noretry updates
- VCN fixes
- TMDS fix
- zstate fix for freesync video
- DCN 3.1.5 fix
- Display stack size fix
- Audio fix
- DCN 3.1 pstate fix
- TMZ VCN fix
- APU passthrough fix
- Misc other fixes
- VCN 3.0 fixes
- Misc display fixes
- GC 10.3 golden register fix
- Suspend fix
- SMU 10 fix

amdkfd:
- Error handling fix
- xgmi p2p fix
- HWS VMIDs fix
- Event fix

panel:
- ili9341: Fix optional regulator handling

imx:
- Catch an EDID allocation failure in imx-ldb
- fix a leaked drm display mode on DT parsing error in parallel-display
- properly remove the dw_hdmi bridge in case the component_add fails
in dw_hdmi-imx
- fix the IPU clock frequency debug printout in ipu-di.
The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 88711fa9a14f6f473f4a7645155ca51386e36c21:

Merge tag 'drm-misc-fixes-2022-04-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-04-08
09:22:16 +1000)

----------------------------------------------------------------
drm fixes for 5.18-rc2

dma-fence:
- fix warning about fence containers
- fix logic error in new fence merge code
- handle empty dma_fence_arrays gracefully

bridge:
- Try all possible cases for bridge/panel detection.

bindings:
- Don't require input port for MIPI-DSI, and make width/height mandatory.

fbdev:
- Fix unregistering of framebuffers without device.

nouveau:
- Fix a crash when booting with nouveau on tegra.

amdgpu:
- GFX 10.3.7 fixes
- noretry updates
- VCN fixes
- TMDS fix
- zstate fix for freesync video
- DCN 3.1.5 fix
- Display stack size fix
- Audio fix
- DCN 3.1 pstate fix
- TMZ VCN fix
- APU passthrough fix
- Misc other fixes
- VCN 3.0 fixes
- Misc display fixes
- GC 10.3 golden register fix
- Suspend fix
- SMU 10 fix

amdkfd:
- Error handling fix
- xgmi p2p fix
- HWS VMIDs fix
- Event fix

panel:
- ili9341: Fix optional regulator handling

imx:
- Catch an EDID allocation failure in imx-ldb
- fix a leaked drm display mode on DT parsing error in parallel-display
- properly remove the dw_hdmi bridge in case the component_add fails
in dw_hdmi-imx
- fix the IPU clock frequency debug printout in ipu-di.

----------------------------------------------------------------
Alex Deucher (4):
drm/amdgpu/gmc: use PCI BARs for APUs in passthrough
drm/amdgpu: add more cases to noretry=1
drm/amdgpu: don't use BACO for reset in S3
drm/amdgpu/smu10: fix SoC/fclk units in auto mode

Aurabindo Pillai (1):
drm/amd: Add USBC connector ID

Benjamin Marty (1):
drm/amdgpu/display: change pipe policy for DCN 2.1

Boyuan Zhang (1):
drm/amdgpu/vcn3: send smu interface type

CHANDAN VURDIGERE NATARAJ (1):
drm/amd/display: Fix by adding FPU protection for
dcn30_internal_validate_bw

Charlene Liu (3):
drm/amd/display: fix audio format not updated after edid updated
drm/amd/display: remove destructive verify link for TMDS
drm/amd/display: Clear optc false state when disable otg

Chiawen Huang (1):
drm/amd/display: FEC check in timing validation

Chris Park (1):
drm/amd/display: Correct Slice reset calculation

Christian König (5):
dma-buf: Add dma_fence_array_for_each (v2)
dma-buf: add dma_fence_unwrap v2
dma-buf/sync-file: fix warning about fence containers
dma-buf/sync-file: fix logic error in new fence merge code
dma-buf: handle empty dma_fence_arrays gracefully

Dan Carpenter (1):
drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire()

Daniel Mack (1):
drm/panel: ili9341: fix optional regulator handling

Dave Airlie (6):
Merge tag 'amd-drm-next-5.18-2022-03-25' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-fixes-2022-03-24' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'imx-drm-fixes-2022-04-06' of
git://git.pengutronix.de/pza/linux into drm-fixes
Merge tag 'amd-drm-fixes-5.18-2022-04-06' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
Merge tag 'drm-misc-next-fixes-2022-04-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
Merge tag 'drm-misc-fixes-2022-04-07' of
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes

Divya Shikre (1):
drm/amdkfd: Check use_xgmi_p2p before reporting hive_id

Dmytro Laktyushkin (1):
drm/amd/display: update dcn315 clock table read

Emily Deng (1):
drm/amdgpu/vcn: Fix the register setting for vcn1

Eric Bernstein (1):
drm/amd/display: remove assert for odm transition case

Felix Kuehling (1):
drm/amdgpu: set noretry=1 for GFX 10.3.4

Gabe Teeger (1):
drm/amd/display: Add support for zstate during extended vblank

Guchun Chen (2):
drm/amdgpu: prevent memory wipe in suspend/shutdown stage
drm/amdgpu: conduct a proper cleanup of PDB bo

Jiasheng Jiang (1):
drm/imx: imx-ldb: Check for null pointer after calling kmemdup

Jimmy Kizito (2):
drm/amd/display: Add work around for AUX failure on wake.
drm/amd/display: Add configuration options for AUX wake work around.

José Expósito (1):
drm/imx: Fix memory leak in imx_pd_connector_get_modes

Karol Herbst (1):
drm/nouveau/pmu: Add missing callbacks for Tegra devices

Lang Yu (1):
drm/amdgpu: add workarounds for VCN TMZ issue on CHIP_RAVEN

Lee Jones (1):
drm/amdkfd: Create file descriptor after client is added to
smi_clients list

Leo (Hanghong) Ma (1):
drm/amd/display: Update VTEM Infopacket definition

Leo Ruan (1):
gpu: ipu-v3: Fix dev_dbg frequency output

Liu Ying (1):
drm/imx: dw_hdmi-imx: Fix bailout in error cases of probe

Ma Jun (1):
drm/amdgpu: Sync up header and implementation to use the same
parameter names

Marek Vasut (1):
dt-bindings: display: panel: mipi-dbi-spi: Make
width-mm/height-mm mandatory

Martin Leung (1):
drm/amd/display: Revert FEC check in validation

Maxime Ripard (3):
dt-bindings: display: bridge: Drop requirement on input port for
DSI devices
Merge drm/drm-fixes into drm-misc-fixes
Merge drm-misc/drm-misc-next-fixes into drm-misc-fixes

Nicholas Kazlauskas (1):
drm/amd/display: Fix p-state allow debug index on dcn31

Oliver Logush (1):
drm/amd/display: Add fSMC_MSG_SetDtbClk support

Paul Kocialkowski (1):
drm: of: Properly try all possible cases for bridge/panel detection

Prike Liang (2):
drm/amdgpu: set noretry for gfx 10.3.7
drm/amdgpu/gfx10: enable gfx1037 clock counter retrieval function

QintaoShen (1):
drm/amdkfd: Check for potential null return of kmalloc_array()

Rodrigo Siqueira (1):
drm/amd/display: Reduce stack size

Roman Li (3):
drm/amd/display: Remove redundant dsc power gating from init_hw
drm/amd/display: Enable power gating before init_pipes
drm/amd/display: Fix allocate_mst_payload assert on resume

Ruili Ji (1):
drm/amdgpu: fix incorrect GCR_GENERAL_CNTL address

Shirish S (1):
amd/display: set backlight only if required

Stanley.Yang (1):
drm/amdgpu/pm: add asic smu support check

Thomas Zimmermann (1):
fbdev: Fix unregistering of framebuffers without device

Tianci Yin (1):
drm/amdgpu/vcn: improve vcn dpg stop procedure

Tushar Patel (1):
drm/amdkfd: Fix Incorrect VMIDs passed to HWS

Yifan Zhang (2):
drm/amdgpu/pm: fix the Stable pstate Test in amdgpu_test
drm/amdgpu: set noretry=1 for gc 10.3.6

tiancyin (1):
drm/amd/vcn: fix an error msg on vcn 3.0

.../bindings/display/bridge/chipone,icn6211.yaml | 1 -
.../bindings/display/bridge/toshiba,tc358762.yaml | 1 -
.../bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 +
Documentation/driver-api/dma-buf.rst | 6 +
drivers/dma-buf/Makefile | 1 +
drivers/dma-buf/dma-fence-array.c | 32 +++
drivers/dma-buf/selftests.h | 1 +
drivers/dma-buf/st-dma-fence-unwrap.c | 261 +++++++++++++++++++++
drivers/dma-buf/sync_file.c | 141 +++++------
drivers/gpu/drm/amd/amdgpu/ObjectID.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c | 6 +
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | 7 +
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 7 +-
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 5 +-
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 4 +-
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 71 ++++++
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c | 12 +-
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 14 +-
drivers/gpu/drm/amd/amdkfd/kfd_events.c | 2 +
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 24 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 10 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 6 +
.../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 107 +++++----
.../drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.c | 19 +-
.../drm/amd/display/dc/clk_mgr/dcn315/dcn315_smu.h | 4 +-
drivers/gpu/drm/amd/display/dc/core/dc.c | 19 ++
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 3 +-
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 65 +++++
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 4 +-
drivers/gpu/drm/amd/display/dc/dc.h | 23 +-
drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 +
.../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 20 +-
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 12 +
.../gpu/drm/amd/display/dc/dcn20/dcn20_resource.c | 1 -
.../gpu/drm/amd/display/dc/dcn21/dcn21_resource.c | 2 +-
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c | 5 +-
.../gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.c | 2 +
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hubp.c | 8 +
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 19 +-
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_optc.c | 5 +-
.../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c | 3 +
.../gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 18 +-
.../display/dc/dml/dcn31/display_rq_dlg_calc_31.c | 13 +
.../drm/amd/display/dc/dml/display_mode_structs.h | 2 +
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 4 +-
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h | 1 +
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 3 +
.../amd/display/modules/info_packet/info_packet.c | 5 +-
drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 17 ++
.../gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c | 8 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_5_ppt.c | 2 +-
drivers/gpu/drm/drm_of.c | 99 ++++----
drivers/gpu/drm/imx/dw_hdmi-imx.c | 8 +-
drivers/gpu/drm/imx/imx-ldb.c | 2 +
drivers/gpu/drm/imx/parallel-display.c | 4 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp102.c | 2 +-
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gp10b.c | 1 +
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h | 1 +
drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 4 +-
drivers/gpu/ipu-v3/ipu-di.c | 5 +-
drivers/video/fbdev/core/fbmem.c | 9 +-
include/linux/dma-fence-array.h | 19 ++
include/linux/dma-fence-chain.h | 2 +
include/linux/dma-fence-unwrap.h | 95 ++++++++
72 files changed, 1031 insertions(+), 252 deletions(-)
create mode 100644 drivers/dma-buf/st-dma-fence-unwrap.c
create mode 100644 include/linux/dma-fence-unwrap.h


2022-04-08 06:08:38

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [git pull] drm fixes for 5.18-rc2

The pull request you sent on Fri, 8 Apr 2022 10:19:47 +1000:

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1831fed559732b132aef0ea8261ac77e73f7eadf

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

2022-04-08 06:13:28

by Linus Torvalds

[permalink] [raw]
Subject: Re: [git pull] drm fixes for 5.18-rc2

On Thu, Apr 7, 2022 at 2:20 PM Dave Airlie <[email protected]> wrote:
>
> I think this should fix the amdgpu splat you have been seeing since rc1.

Not the machine I'm currently traveling with, but I'll double-check
when I'm back home.

Thanks,
Linus