* [pull] amdgpu drm-fixes-6.0
@ 2022-08-31 21:23 Alex Deucher
0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-08-31 21:23 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Fixes for 6.0. Once again, mainly fixes for new IPs added in 6.0.
The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c5:
Linux 6.0-rc3 (2022-08-28 15:05:29 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-08-31
for you to fetch changes up to 39c84b8e929dbd4f63be7e04bf1a2bcd92b44177:
drm/amd/amdgpu: skip ucode loading if ucode_size == 0 (2022-08-31 17:02:20 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-08-31:
amdgpu:
- FRU error message fix
- MES 11 updates
- DCN 3.2.x fixes
- DCN 3.1.4 fixes
- Fix possible use after free in CS IOCTL
- SMU 13.0.x fixes
- Fix iolink reporting on devices with direct connections to CPU
- GFX10 tap delay firmware fixes
----------------------------------------------------------------
Alex Sierra (1):
drm/amdgpu: ensure no PCIe peer access for CPU XGMI iolinks
Aurabindo Pillai (4):
drm/amd/display: Fix CAB cursor size allocation for DCN32/321
drm/amd/display: disable display fresh from MALL on an edge case for DCN321
drm/amd/display: use actual cursor size instead of max for CAB allocation
drm/amd/display: Use correct plane for CAB cursor size allocation
Charlene Liu (1):
drm/amd/display: fix wrong register access
Chengming Gui (1):
drm/amd/amdgpu: skip ucode loading if ucode_size == 0
Duncan Ma (1):
drm/amd/display: Fix OTG H timing reset for dcn314
Ethan Wellenreiter (2):
drm/amd/display: Re-initialize viewport after pipe merge
drm/amd/display: Fix check for stream and plane
Evan Quan (3):
drm/amd/pm: use vbios carried pptable for those supported SKUs
drm/amd/pm: use vbios carried pptable for all SMU13.0.7 SKUs
drm/amd/pm: bump SMU 13.0.0 driver_if header version
George Shen (1):
drm/amd/display: Fix DCN32 DPSTREAMCLK_CNTL programming
Graham Sider (1):
drm/amdgpu: Update mes_v11_api_def.h
Guchun Chen (1):
drm/amdgpu: disable FRU access on special SIENNA CICHLID card
Hawking Zhang (1):
drm/amdgpu: only init tap_delay ucode when it's included in ucode binary
Leo Chen (1):
drm/amd/display: Missing HPO instance added
Vladimir Stempen (1):
drm/amd/display: Fix black flash when switching from ODM2to1 to ODMBypass
Wang Fudong (1):
drm/amd/display: set dig fifo read start level to 7 before dig fifo reset
YuBiao Wang (1):
drm/amdgpu: Fix use-after-free in amdgpu_cs_ioctl
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c | 9 ++-
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 5 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 60 ++++++++++--------
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 1 +
drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +-
.../amd/display/dc/dcn31/dcn31_dio_link_encoder.c | 3 +
.../display/dc/dcn314/dcn314_dio_stream_encoder.c | 1 +
.../gpu/drm/amd/display/dc/dcn314/dcn314_optc.c | 3 +-
.../drm/amd/display/dc/dcn314/dcn314_resource.c | 1 +
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | 8 +--
.../display/dc/dcn32/dcn32_dio_stream_encoder.c | 5 ++
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 68 +++++++++++++++-----
.../amd/display/dc/dcn32/dcn32_resource_helpers.c | 2 +-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 9 +++
.../gpu/drm/amd/display/dc/link/link_hwss_hpo_dp.c | 4 +-
drivers/gpu/drm/amd/include/mes_v11_api_def.h | 3 +-
.../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h | 2 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h | 8 ++-
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 23 +++----
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 72 +++++++++++++++++++---
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 35 +++++++----
23 files changed, 234 insertions(+), 96 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [pull] amdgpu drm-fixes-6.0
2022-09-30 21:04 Alex Deucher
@ 2022-09-30 22:20 ` Daniel Vetter
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Vetter @ 2022-09-30 22:20 UTC (permalink / raw)
To: Alex Deucher; +Cc: daniel.vetter, dri-devel, amd-gfx
On Fri, Sep 30, 2022 at 05:04:54PM -0400, Alex Deucher wrote:
> Hi Dave, Daniel,
>
> Sorry, some last minute changes to deal with updated firmwares/bioses and
> board revisions containing new IPs added in this cycle. It required
> pulling in some cleanup patches for the RLC firmware handing, but they
> are only applied to GC 11 in this case. I figured that would be cleaner
> then a bunch of local fixes that would cause merge conflicts for -next,
> and time was getting short for 6.0. They are only applied to GC 11, so no
> chance of regression on existing asics.
>
> V2: fixed S-O-Bs.
>
> The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
>
> drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30-1
Pullled and forwarded.
Cheers, Daniel
>
> for you to fetch changes up to 0fd85e89b5bf18447e56099a010ee5be5dc9f2b0:
>
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-30 16:59:06 -0400)
>
> ----------------------------------------------------------------
> amd-drm-fixes-6.0-2022-09-30-1:
>
> amdgpu:
> - VCN 4.x fixes
> - RLC fixes for GC 11.x
>
> ----------------------------------------------------------------
> Hawking Zhang (8):
> drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
> drm/amdgpu: add helper to init rlc fw in header v2_0
> drm/amdgpu: add helper to init rlc fw in header v2_1
> drm/amdgpu: add helper to init rlc fw in header v2_2
> drm/amdgpu: add helper to init rlc fw in header v2_3
> drm/amdgpu: add helper to init rlc fw in header v2_4
> drm/amdgpu: add helper to init rlc firmware
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
>
> Sonny Jiang (2):
> drm/amdgpu: Enable VCN DPG for GC11_0_1
> drm/amdgpu: Enable sram on vcn_4_0_2
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
> drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
> 7 files changed, 281 insertions(+), 149 deletions(-)
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [pull] amdgpu drm-fixes-6.0
@ 2022-09-30 22:20 ` Daniel Vetter
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Vetter @ 2022-09-30 22:20 UTC (permalink / raw)
To: Alex Deucher; +Cc: daniel.vetter, airlied, dri-devel, amd-gfx
On Fri, Sep 30, 2022 at 05:04:54PM -0400, Alex Deucher wrote:
> Hi Dave, Daniel,
>
> Sorry, some last minute changes to deal with updated firmwares/bioses and
> board revisions containing new IPs added in this cycle. It required
> pulling in some cleanup patches for the RLC firmware handing, but they
> are only applied to GC 11 in this case. I figured that would be cleaner
> then a bunch of local fixes that would cause merge conflicts for -next,
> and time was getting short for 6.0. They are only applied to GC 11, so no
> chance of regression on existing asics.
>
> V2: fixed S-O-Bs.
>
> The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
>
> drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30-1
Pullled and forwarded.
Cheers, Daniel
>
> for you to fetch changes up to 0fd85e89b5bf18447e56099a010ee5be5dc9f2b0:
>
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-30 16:59:06 -0400)
>
> ----------------------------------------------------------------
> amd-drm-fixes-6.0-2022-09-30-1:
>
> amdgpu:
> - VCN 4.x fixes
> - RLC fixes for GC 11.x
>
> ----------------------------------------------------------------
> Hawking Zhang (8):
> drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
> drm/amdgpu: add helper to init rlc fw in header v2_0
> drm/amdgpu: add helper to init rlc fw in header v2_1
> drm/amdgpu: add helper to init rlc fw in header v2_2
> drm/amdgpu: add helper to init rlc fw in header v2_3
> drm/amdgpu: add helper to init rlc fw in header v2_4
> drm/amdgpu: add helper to init rlc firmware
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
>
> Sonny Jiang (2):
> drm/amdgpu: Enable VCN DPG for GC11_0_1
> drm/amdgpu: Enable sram on vcn_4_0_2
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
> drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
> 7 files changed, 281 insertions(+), 149 deletions(-)
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 10+ messages in thread
* [pull] amdgpu drm-fixes-6.0
@ 2022-09-30 21:04 Alex Deucher
2022-09-30 22:20 ` Daniel Vetter
0 siblings, 1 reply; 10+ messages in thread
From: Alex Deucher @ 2022-09-30 21:04 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Sorry, some last minute changes to deal with updated firmwares/bioses and
board revisions containing new IPs added in this cycle. It required
pulling in some cleanup patches for the RLC firmware handing, but they
are only applied to GC 11 in this case. I figured that would be cleaner
then a bunch of local fixes that would cause merge conflicts for -next,
and time was getting short for 6.0. They are only applied to GC 11, so no
chance of regression on existing asics.
V2: fixed S-O-Bs.
The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30-1
for you to fetch changes up to 0fd85e89b5bf18447e56099a010ee5be5dc9f2b0:
drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-30 16:59:06 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-09-30-1:
amdgpu:
- VCN 4.x fixes
- RLC fixes for GC 11.x
----------------------------------------------------------------
Hawking Zhang (8):
drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
drm/amdgpu: add helper to init rlc fw in header v2_0
drm/amdgpu: add helper to init rlc fw in header v2_1
drm/amdgpu: add helper to init rlc fw in header v2_2
drm/amdgpu: add helper to init rlc fw in header v2_3
drm/amdgpu: add helper to init rlc fw in header v2_4
drm/amdgpu: add helper to init rlc firmware
drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
Sonny Jiang (2):
drm/amdgpu: Enable VCN DPG for GC11_0_1
drm/amdgpu: Enable sram on vcn_4_0_2
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
7 files changed, 281 insertions(+), 149 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [pull] amdgpu drm-fixes-6.0
2022-09-30 13:58 Alex Deucher
@ 2022-09-30 20:56 ` Daniel Vetter
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Vetter @ 2022-09-30 20:56 UTC (permalink / raw)
To: Alex Deucher; +Cc: daniel.vetter, dri-devel, amd-gfx
On Fri, Sep 30, 2022 at 09:58:10AM -0400, Alex Deucher wrote:
> Hi Dave, Daniel,
>
> Sorry, some last minute changes to deal with updated firmwares/bioses and
> board revisions containing new IPs added in this cycle. It required
> pulling in some cleanup patches for the RLC firmware handing, but they
> are only applied to GC 11 in this case. I figured that would be cleaner
> then a bunch of local fixes that would cause merge conflicts for -next,
> and time was getting short for 6.0. They are only applied to GC 11, so no
> chance of regression on existing asics.
>
> The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
>
> drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30
>
> for you to fetch changes up to 5369e662f99087b4ad38b151aaefecb690117f10:
>
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-29 15:22:31 -0400)
>
> ----------------------------------------------------------------
> amd-drm-fixes-6.0-2022-09-30:
dim isn't entirely happy:
dim: 5369e662f990 ("drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode"): committer Signed-off-by missing.
dim: dd00f3eeba5b ("drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx"): committer Signed-off-by missing.
Can you pls respin?
-Daniel
>
> amdgpu:
> - VCN 4.x fixes
> - RLC fixes for GC 11.x
>
> ----------------------------------------------------------------
> Hawking Zhang (8):
> drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
> drm/amdgpu: add helper to init rlc fw in header v2_0
> drm/amdgpu: add helper to init rlc fw in header v2_1
> drm/amdgpu: add helper to init rlc fw in header v2_2
> drm/amdgpu: add helper to init rlc fw in header v2_3
> drm/amdgpu: add helper to init rlc fw in header v2_4
> drm/amdgpu: add helper to init rlc firmware
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
>
> Sonny Jiang (2):
> drm/amdgpu: Enable VCN DPG for GC11_0_1
> drm/amdgpu: Enable sram on vcn_4_0_2
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
> drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
> 7 files changed, 281 insertions(+), 149 deletions(-)
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [pull] amdgpu drm-fixes-6.0
@ 2022-09-30 20:56 ` Daniel Vetter
0 siblings, 0 replies; 10+ messages in thread
From: Daniel Vetter @ 2022-09-30 20:56 UTC (permalink / raw)
To: Alex Deucher; +Cc: daniel.vetter, airlied, dri-devel, amd-gfx
On Fri, Sep 30, 2022 at 09:58:10AM -0400, Alex Deucher wrote:
> Hi Dave, Daniel,
>
> Sorry, some last minute changes to deal with updated firmwares/bioses and
> board revisions containing new IPs added in this cycle. It required
> pulling in some cleanup patches for the RLC firmware handing, but they
> are only applied to GC 11 in this case. I figured that would be cleaner
> then a bunch of local fixes that would cause merge conflicts for -next,
> and time was getting short for 6.0. They are only applied to GC 11, so no
> chance of regression on existing asics.
>
> The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
>
> drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30
>
> for you to fetch changes up to 5369e662f99087b4ad38b151aaefecb690117f10:
>
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-29 15:22:31 -0400)
>
> ----------------------------------------------------------------
> amd-drm-fixes-6.0-2022-09-30:
dim isn't entirely happy:
dim: 5369e662f990 ("drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode"): committer Signed-off-by missing.
dim: dd00f3eeba5b ("drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx"): committer Signed-off-by missing.
Can you pls respin?
-Daniel
>
> amdgpu:
> - VCN 4.x fixes
> - RLC fixes for GC 11.x
>
> ----------------------------------------------------------------
> Hawking Zhang (8):
> drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
> drm/amdgpu: add helper to init rlc fw in header v2_0
> drm/amdgpu: add helper to init rlc fw in header v2_1
> drm/amdgpu: add helper to init rlc fw in header v2_2
> drm/amdgpu: add helper to init rlc fw in header v2_3
> drm/amdgpu: add helper to init rlc fw in header v2_4
> drm/amdgpu: add helper to init rlc firmware
> drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
>
> Sonny Jiang (2):
> drm/amdgpu: Enable VCN DPG for GC11_0_1
> drm/amdgpu: Enable sram on vcn_4_0_2
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
> drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
> drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
> drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
> drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
> 7 files changed, 281 insertions(+), 149 deletions(-)
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 10+ messages in thread
* [pull] amdgpu drm-fixes-6.0
@ 2022-09-30 13:58 Alex Deucher
2022-09-30 20:56 ` Daniel Vetter
0 siblings, 1 reply; 10+ messages in thread
From: Alex Deucher @ 2022-09-30 13:58 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Sorry, some last minute changes to deal with updated firmwares/bioses and
board revisions containing new IPs added in this cycle. It required
pulling in some cleanup patches for the RLC firmware handing, but they
are only applied to GC 11 in this case. I figured that would be cleaner
then a bunch of local fixes that would cause merge conflicts for -next,
and time was getting short for 6.0. They are only applied to GC 11, so no
chance of regression on existing asics.
The following changes since commit 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-30
for you to fetch changes up to 5369e662f99087b4ad38b151aaefecb690117f10:
drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode (2022-09-29 15:22:31 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-09-30:
amdgpu:
- VCN 4.x fixes
- RLC fixes for GC 11.x
----------------------------------------------------------------
Hawking Zhang (8):
drm/amdgpu: save rlcv/rlcp ucode version in amdgpu_gfx
drm/amdgpu: add helper to init rlc fw in header v2_0
drm/amdgpu: add helper to init rlc fw in header v2_1
drm/amdgpu: add helper to init rlc fw in header v2_2
drm/amdgpu: add helper to init rlc fw in header v2_3
drm/amdgpu: add helper to init rlc fw in header v2_4
drm/amdgpu: add helper to init rlc firmware
drm/amdgpu/gfx11: switch to amdgpu_gfx_rlc_init_microcode
Sonny Jiang (2):
drm/amdgpu: Enable VCN DPG for GC11_0_1
drm/amdgpu: Enable sram on vcn_4_0_2
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | 264 ++++++++++++++++++++++++++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.h | 4 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 151 +----------------
drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
7 files changed, 281 insertions(+), 149 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [pull] amdgpu drm-fixes-6.0
@ 2022-09-29 14:40 Alex Deucher
0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-09-29 14:40 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Fixes for 6.0.
The following changes since commit f76349cf41451c5c42a99f18a9163377e4b364ff:
Linux 6.0-rc7 (2022-09-25 14:01:02 -0700)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-29
for you to fetch changes up to 83ca5fb40e758e0a0257bf4e3a1148dd52c6d0f2:
drm/amd/display: Prevent OTG shutdown during PSR SU (2022-09-29 10:07:42 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-09-29:
amdgpu:
- GC 11.x fixes
- SMU 13.x fixes
- DCN 3.1.4 fixes
- DCN 3.2.x fixes
- GC 9.x fix
- Fence fix
- SR-IOV supend/resume fix
- PSR regression fix
----------------------------------------------------------------
Alvin Lee (1):
drm/amd/display: Update DCN32 to use new SR latencies
Aric Cyr (1):
drm/amd/display: Fix audio on display after unplugging another
Bokun Zhang (1):
drm/amdgpu: Add amdgpu suspend-resume code path under SRIOV
Eric Bernstein (1):
drm/amd/display: Remove assert for odm transition case
Evan Quan (3):
drm/amdgpu: avoid gfx register accessing during gfxoff
drm/amd/pm: enable gfxoff feature for SMU 13.0.0
drm/amd/pm: use adverse selection for dpm features unsupported by driver
Graham Sider (3):
drm/amdkfd: fix MQD init for GFX11 in init_mqd
drm/amdgpu: pass queue size and is_aql_queue to MES
drm/amdkfd: fix dropped interrupt in kfd_int_process_v11
Jiadong.Zhu (2):
drm/amdgpu: Correct the position in patch_cond_exec
drm/amdgpu: Remove fence_process in count_emitted
Leo Li (1):
drm/amd/display: Prevent OTG shutdown during PSR SU
Nicholas Kazlauskas (3):
drm/amd/display: Do DIO FIFO enable after DP video stream enable
drm/amd/display: Wrap OTG disable workaround with FIFO control
drm/amd/display: Add explicit FIFO disable for DP blank
Samson Tam (1):
drm/amd/display: fill in clock values when DPM is not enabled
Taimur Hassan (3):
drm/amd/display: Avoid avoid unnecessary pixel rate divider programming
drm/amd/display: Fix typo in get_pixel_rate_div
drm/amd/display: Avoid unnecessary pixel rate divider programming
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 4 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 27 ++++++-
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 1 -
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 2 +
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 4 +
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | 4 +
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 +
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c | 6 +-
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | 4 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 8 +-
.../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 11 ++-
.../amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 14 ++++
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 6 +-
.../gpu/drm/amd/display/dc/dcn314/dcn314_dccg.c | 47 ++++++++++++
.../display/dc/dcn314/dcn314_dio_stream_encoder.c | 25 ++++--
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dccg.c | 53 +++++++++++++
.../gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c | 10 ++-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 43 ++++++++++-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h | 2 +
.../drm/amd/display/dc/inc/hw/clk_mgr_internal.h | 2 +
drivers/gpu/drm/amd/include/mes_v11_api_def.h | 3 +-
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 89 +++++++---------------
23 files changed, 283 insertions(+), 86 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [pull] amdgpu drm-fixes-6.0
@ 2022-09-21 22:06 Alex Deucher
0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-09-21 22:06 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Fixes for 6.0. Mainly fixes for new IPs. The big change here is the DML
clean up from Nathan to fix the Clang stack usage warnings on the DCN 3.1.4
code which was recently enabled.
The following changes since commit a8671493d2074950553da3cf07d1be43185ef6c6:
drm/amdgpu: make sure to init common IP before gmc (2022-09-14 14:21:49 -0400)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-21
for you to fetch changes up to f525ed19437d376736bed64ee7bc4afee82f2ba9:
drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule() (2022-09-21 17:36:57 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-09-21:
amdgpu:
- SDMA 6.x fix
- GPUVM TF fix
- DCN 3.2.x fixes
- DCN 3.1.x fixes
- SMU 13.x fixes
- Clang stack size fixes for recently enabled DML code
- Fix drm dirty callback change on non-atomic cases
- USB4 display fix
----------------------------------------------------------------
Alex Deucher (1):
drm/amdgpu: don't register a dirty callback for non-atomic
Alvin Lee (1):
drm/amd/display: Only consider pixle rate div policy for DCN32+
Charlene Liu (1):
drm/amd/display: correct num_dsc based on HW cap
Chris Park (1):
drm/amd/display: Port DCN30 420 logic to DCN32
Cruise Hung (1):
drm/amd/display: Fix DP MST timeslot issue when fallback happened
Daniel Miess (1):
drm/amd/display: Add shift and mask for ICH_RESET_AT_END_OF_LINE
Dmytro Laktyushkin (2):
drm/amd/display: fix dcn315 memory channel count and width read
drm/amd/display: increase dcn315 pstate change latency
Evan Quan (2):
drm/amd/pm: add support for 3794 pptable for SMU13.0.0
drm/amd/pm: drop the pptable related workarounds for SMU 13.0.0
George Shen (1):
drm/amd/display: Update dummy P-state search to use DCN32 DML
Hugo Hu (1):
drm/amd/display: update gamut remap if plane has changed
Leo Li (1):
drm/amd/display: Fix double cursor on non-video RGB MPO
Meenakshikumar Somasundaram (1):
drm/amd/display: Display distortion after hotplug 5K tiled display
Michael Strauss (1):
drm/amd/display: Assume an LTTPR is always present on fixed_vs links
Mukul Joshi (1):
drm/amdgpu: Update PTE flags with TF enabled
Nathan Chancellor (2):
drm/amd/display: Reduce number of arguments of dml314's CalculateWatermarksAndDRAMSpeedChangeSupport()
drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule()
Nicholas Kazlauskas (1):
drm/amd/display: Disable OTG WA for the plane_state NULL case on DCN314
Yifan Zhang (1):
drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1
zhikzhai (1):
drm/amd/display: skip audio setup when audio stream is enabled
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 11 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 3 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 7 +-
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 +-
.../amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c | 11 +-
.../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 14 +-
.../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 36 +-
.../amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c | 11 +-
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 16 +-
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 17 +
.../amd/display/dc/dce110/dce110_hw_sequencer.c | 6 +-
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dsc.h | 220 -----------
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 1 +
.../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c | 16 +-
.../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 -
.../gpu/drm/amd/display/dc/dcn314/dcn314_init.c | 1 -
.../drm/amd/display/dc/dcn314/dcn314_resource.c | 11 +-
.../gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 7 +-
.../display/dc/dml/dcn314/display_mode_vba_314.c | 420 +++++----------------
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 46 ++-
.../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.h | 6 +
.../amd/display/dc/dml/dcn32/display_mode_vba_32.c | 2 +
.../dc/dml/dcn32/display_mode_vba_util_32.c | 26 ++
.../dc/dml/dcn32/display_mode_vba_util_32.h | 1 +
drivers/gpu/drm/amd/display/dc/inc/resource.h | 4 +
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c | 44 +--
.../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 53 +--
28 files changed, 309 insertions(+), 698 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [pull] amdgpu drm-fixes-6.0
@ 2022-09-14 18:40 Alex Deucher
0 siblings, 0 replies; 10+ messages in thread
From: Alex Deucher @ 2022-09-14 18:40 UTC (permalink / raw)
To: amd-gfx, dri-devel, airlied, daniel.vetter; +Cc: Alex Deucher
Hi Dave, Daniel,
Fixes for 6.0. A bit bigger than usual, but this is mainly caused by some
regression fixes which took a while to sort out and validate. The rest is
fixes for new IPs added in the 6.0 cycle.
The following changes since commit 2edb79a5fb303dff577d6a0c7d571c3bab1d1455:
Merge tag 'drm-intel-fixes-2022-09-08' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (2022-09-10 01:42:47 +1000)
are available in the Git repository at:
https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-fixes-6.0-2022-09-14
for you to fetch changes up to a8671493d2074950553da3cf07d1be43185ef6c6:
drm/amdgpu: make sure to init common IP before gmc (2022-09-14 14:21:49 -0400)
----------------------------------------------------------------
amd-drm-fixes-6.0-2022-09-14:
amdgpu:
- BACO fixes for some RDNA2 boards
- PCI AER fixes uncovered by a core PCI change
- Properly hook up dirtyfb helper
- RAS fixes for GC 11.x
- TMR fix
- DCN 3.2.x fixes
- DCN 3.1.4 fixes
- LLVM DML stack size fixes
----------------------------------------------------------------
Alex Deucher (4):
drm/amdgpu: add HDP remap functionality to nbio 7.7
drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
drm/amdgpu: make sure to init common IP before gmc
Alvin Lee (3):
drm/amd/display: Update MBLK calculation for SubVP
drm/amd/display: SW cursor fallback for SubVP
drm/amd/display: Refactor SubVP calculation to remove FPU
Aric Cyr (1):
drm/amd/display: Fix divide by zero in DML
Aurabindo Pillai (2):
drm/amd/display: Revert "Fallback to SW cursor if SubVP + cursor too big"
drm/amd/display: add workaround for subvp cursor corruption for DCN32/321
Candice Li (2):
drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0
drm/amdgpu: Skip reset error status for psp v13_0_0
Duncan Ma (1):
drm/amd/display: Correct dram channel width for dcn314
Guchun Chen (1):
drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
Hamza Mahfooz (1):
drm/amdgpu: use dirty framebuffer helper
Leo Chen (1):
drm/amd/display: Fixing DIG FIFO Error
Lijo Lazar (1):
drm/amdgpu: Don't enable LTR if not supported
Nathan Chancellor (5):
drm/amd/display: Reduce number of arguments of dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
drm/amd/display: Reduce number of arguments of dml32_CalculatePrefetchSchedule()
drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
Nicholas Kazlauskas (2):
drm/amd/display: Hook up DCN314 specific dml implementation
drm/amd/display: Relax swizzle checks for video non-RGB formats on DCN314
Rodrigo Siqueira (2):
drm/amd/display: Fix compilation errors on DCN314
drm/amd/display: Enable dlg and vba compilation for dcn314
Taimur Hassan (1):
drm/amd/display: Round cursor width up for MALL allocation
Yang Wang (1):
drm/amdgpu: change the alignment size of TMR BO to 1M
Yao Wang1 (1):
drm/amd/display: Limit user regamma to a valid value
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 14 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 +-
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c | 9 +-
drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c | 9 +-
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 9 +-
drivers/gpu/drm/amd/amdgpu/nbio_v7_7.c | 9 +
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 5 +
drivers/gpu/drm/amd/amdgpu/soc15.c | 25 --
drivers/gpu/drm/amd/amdgpu/soc21.c | 1 +
drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 4 +
drivers/gpu/drm/amd/amdgpu/vega20_ih.c | 4 +
.../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 2 +
drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 2 +-
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 89 +++--
.../display/dc/dcn314/dcn314_dio_stream_encoder.c | 3 +-
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.c | 24 +-
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c | 24 +-
.../gpu/drm/amd/display/dc/dcn32/dcn32_resource.c | 4 +-
.../gpu/drm/amd/display/dc/dcn32/dcn32_resource.h | 3 +
.../amd/display/dc/dcn32/dcn32_resource_helpers.c | 59 ++-
.../drm/amd/display/dc/dcn321/dcn321_resource.c | 4 +-
drivers/gpu/drm/amd/display/dc/dml/Makefile | 3 +
.../amd/display/dc/dml/dcn30/display_mode_vba_30.c | 3 +-
.../amd/display/dc/dml/dcn31/display_mode_vba_31.c | 420 +++++----------------
.../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c | 5 +-
.../display/dc/dml/dcn314/display_mode_vba_314.c | 13 +-
.../amd/display/dc/dml/dcn32/display_mode_vba_32.c | 260 +++++--------
.../dc/dml/dcn32/display_mode_vba_util_32.c | 323 +++++++---------
.../dc/dml/dcn32/display_mode_vba_util_32.h | 51 +--
.../gpu/drm/amd/display/dc/dml/display_mode_lib.c | 12 +
.../gpu/drm/amd/display/dc/dml/display_mode_lib.h | 1 +
.../gpu/drm/amd/display/dc/dml/display_mode_vba.h | 10 +-
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 1 +
.../drm/amd/display/modules/color/color_gamma.c | 4 +
.../drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c | 11 +
39 files changed, 595 insertions(+), 834 deletions(-)
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-09-30 22:21 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31 21:23 [pull] amdgpu drm-fixes-6.0 Alex Deucher
2022-09-14 18:40 Alex Deucher
2022-09-21 22:06 Alex Deucher
2022-09-29 14:40 Alex Deucher
2022-09-30 13:58 Alex Deucher
2022-09-30 20:56 ` Daniel Vetter
2022-09-30 20:56 ` Daniel Vetter
2022-09-30 21:04 Alex Deucher
2022-09-30 22:20 ` Daniel Vetter
2022-09-30 22:20 ` Daniel Vetter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.