[pull] amdgpu drm-next-6.3

Alex Deucher alexander.deucher at amd.com
Fri Feb 17 23:09:30 UTC 2023


Hi Dave, Daniel,

Fixes for 6.3.  The big change here is the splitting of dc_link.c into
multiple smaller files.

The following changes since commit 69ed0c5d44d72051b13e65384e9d9354c45d5e14:

  Revert "drm/amd/display: disable S/G display on DCN 3.1.4" (2023-02-03 15:42:42 -0500)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git tags/amd-drm-next-6.3-2023-02-17

for you to fetch changes up to 80c6d6804f31451848a3956a70c2bcb1f07cfcb0:

  drm/amd/display: disable SubVP + DRR to prevent underflow (2023-02-15 22:26:22 -0500)

----------------------------------------------------------------
amd-drm-next-6.3-2023-02-17:

amdgpu:
- GC 11 fixes
- Display fixes
- Backlight cleanup
- SMU13 fixes
- SMU7 regression fix
- GFX9 sw queues fix
- AGP fix for GMC 11
- W1 warning fixes
- S/G display fixes
- Misc spelling fixes
- Driver unload fix
- DCN 3.1.4 fixes
- Display code reorg fixes
- Rotation fixes

----------------------------------------------------------------
Alex Deucher (7):
      drm/amd/pm/smu7: move variables to where they are used
      drm/amdgpu/gmc11: fix system aperture set when AGP is enabled
      drm/amd/display: minor cleanup of vm_setup
      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"

Alvin Lee (2):
      drm/amd/display: Set max vratio for prefetch to 7.9 for YUV420 MPO
      drm/amd/display: Fix prefetch vratio check

Anthony Koo (1):
      drm/amd/display: [FW Promotion] Release 0.0.153.0

Aric Cyr (2):
      drm/amd/display: 3.2.222
      drm/amd/display: Promote DAL to 3.2.223

Arnd Bergmann (2):
      drm/amdgpu: fix enum odm_combine_mode mismatch
      drm/amd/display: fix link_validation build failure

Arthur Grillo (6):
      drm/amd/display: Turn global functions into static
      drm/amd/display: Add function prototypes to headers
      drm/amd/amdgpu: Add function prototypes to headers
      drm/amd/display: Add previously missing includes
      drm/amd/display: Fix excess arguments on kernel-doc
      drm/amd/display: Make variables declaration inside ifdef guard

Aurabindo Pillai (3):
      drm/amd/display: Fix null pointer deref error on rotation
      drm/amd/display: fix k1 k2 divider programming for phantom streams
      drm/amd/display: disable SubVP + DRR to prevent underflow

Ayush Gupta (1):
      drm/amd/display: temporary fix for page faulting

Bhawanpreet Lakha (1):
      drm/amd/display: Add support for multiple overlay planes

Charlene Liu (1):
      drm/amd/display: add NULL pointer check

Colin Ian King (1):
      drm/amd/display: Fix spelling mistakes of function name in error message

Daniel Miess (1):
      Revert "drm/amd/display: Correct bw_params population"

Deepak R Varma (2):
      drm/amd/display: Remove duplicate/repeating expression
      drm/amd/display: Remove duplicate/repeating expressions

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

Hamza Mahfooz (2):
      drm/amd/display: fix read errors pertaining to dp_lttpr_status_show()
      drm/amd/display: don't call dc_interrupt_set() for disabled crtcs

Hans de Goede (1):
      drm/amd/display: Drop CONFIG_BACKLIGHT_CLASS_DEVICE ifdefs

Jack Xiao (1):
      drm/amd/amdgpu: fix warning during suspend

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

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

Jiapeng Chong (2):
      drm/amd/display: Remove the unused variable ds_port
      drm/amd/display: Remove the unused variable pre_connection_type

Jingwen Zhu (1):
      drm/amd/display: avoid disable otg when dig was disabled

Jonathan Gray (2):
      drm/amd/display: avoid unaligned access warnings
      drm/amd/pm: avoid unaligned access warnings

Kenneth Feng (2):
      drm/amd/amdgpu: enable athub cg 11.0.3
      drm/amd/amdgpu: implement mode2 reset on smu_v13_0_10

Kent Russell (2):
      drm/amdgpu: Fix incorrect filenames in sysfs comments
      drm/amdgpu: Add unique_id support for GC 11.0.1/2

Leo (Hanghong) Ma (2):
      drm/amd/display: Add HDMI manufacturer OUI and device id read
      drm/amd/display: Fix FreeSync active bit issue

Leo Li (1):
      drm/amd/display: Fail atomic_check early on normalize_zpos error

Lijo Lazar (1):
      drm/amd/pm: Allocate dummy table only if needed

Ma Jun (1):
      drm/amdgpu: Fix the warning info when unload or remove amdgpu

Melissa Wen (7):
      drm/amd/display: fix cursor offset on rotation 180
      drm/amd/display: ident braces in dcn30_acquire_post_bldn_3dlut correctly
      drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut
      drm/amd/display: camel case cleanup in color_gamma file
      drm/amd/display: unset initial value for tf since it's never used
      drm/amd/display: remove unused func declaration from resource headers
      drm/amd/display: remove unused _calculate_degamma_curve function

Mustapha Ghaddar (1):
      drm/amd/display: upstream link_dp_dpia_bw.c

Nasir Osman (2):
      drm/amd/display: Remove stutter only configurations
      drm/amd/display: Disable unbounded request mode during rotation

Nicholas Kazlauskas (4):
      drm/amd/display: Move DCN314 DOMAIN power control to DMCUB
      drm/amd/display: Enable P-state validation checks for DCN314
      drm/amd/display: Update Z8 SR exit/enter latencies
      drm/amd/display: Disable HUBP/DPP PG on DCN314 for now

Qingqing Zhuo (1):
      Revert "drm/amd/display: enable DPG when disabling plane for phantom pipe"

Randy Dunlap (1):
      drm/amd/amdgpu: add complete header search path

Samson Tam (1):
      drm/amd/display: enable DPG when disabling plane for phantom pipe

Tom Chung (1):
      drm/amd/display: Fix video glitch while drag window in PSR-SU

Tom Rix (1):
      drm/amd/display: set should_disable_otg storage-class-specifier to static

Wenjing Liu (5):
      drm/amd/display: break down dc_link.c
      drm/amd/display: do not set RX back to SST mode for non 0 mst stream count
      drm/amd/display: Extract temp drm mst deallocation wa into its own function
      drm/amd/display: on dp link lost event toggle dpms for master pipe only
      drm/amd/display: move public dc link function implementation to dc_link_exports

Wesley Chalmers (2):
      drm/amd/display: Do not set DRR on pipe commit
      drm/amd/display: Do not commit pipe when updating DRR

Xiaogang Chen (1):
      drm/amdkfd: Prevent user space using both svm and kfd api to register same user buffer

Yang Li (2):
      drm/amd/display: Simplify bool conversion
      drm/amd/display: clean up some inconsistent indentings

Ye Xingchen (1):
      drm/amd/display: remove duplicate include header

Yifan Zha (1):
      drm/amdgpu: Revert programming GRBM_GFX_* in RLCG interface to support GFX9

 drivers/gpu/drm/amd/amdgpu/Makefile                |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu.h                |    1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |    7 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |   11 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c          |    8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c          |    7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h           |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h          |    1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c           |    4 +
 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/gfxhub_v3_0.c           |    4 +-
 drivers/gpu/drm/amd/amdgpu/gfxhub_v3_0_3.c         |    8 +-
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c             |    2 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v3_0.c            |    4 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_1.c          |    4 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v3_0_2.c          |    4 +-
 drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c             |   15 +-
 drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c          |  303 ++
 drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.h          |   32 +
 drivers/gpu/drm/amd/amdgpu/soc21.c                 |    4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |   14 +
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |  122 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c |    7 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |   76 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |    2 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_mst_types.c    |    2 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c    |   22 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_plane.h    |    1 +
 drivers/gpu/drm/amd/display/dc/Makefile            |    4 +-
 .../amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c |   31 +-
 .../amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c |   26 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c           |   37 +-
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      | 4871 +-------------------
 .../gpu/drm/amd/display/dc/core/dc_link_exports.c  |  103 +
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c  |    2 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |  219 +-
 drivers/gpu/drm/amd/display/dc/dc_ddc_types.h      |    3 +
 drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c       |    2 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |  136 +
 drivers/gpu/drm/amd/display/dc/dc_hdmi_types.h     |   20 +
 drivers/gpu/drm/amd/display/dc/dc_link.h           |  125 +-
 drivers/gpu/drm/amd/display/dc/dc_types.h          |  109 +-
 .../amd/display/dc/dce110/dce110_hw_sequencer.c    |   12 +-
 .../gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c  |    2 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |   22 +-
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h  |    3 +-
 .../amd/display/dc/dcn10/dcn10_stream_encoder.c    |    6 +-
 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c |   16 +-
 .../amd/display/dc/dcn20/dcn20_stream_encoder.c    |    2 +-
 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_hwseq.c |    6 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c |   42 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c  |    9 +
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h  |    2 +
 .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.c  |   18 +-
 .../gpu/drm/amd/display/dc/dcn30/dcn30_resource.h  |    3 +-
 .../gpu/drm/amd/display/dc/dcn31/dcn31_hubbub.h    |    2 +
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c |    8 +-
 .../gpu/drm/amd/display/dc/dcn31/dcn31_resource.c  |    2 +-
 .../display/dc/dcn314/dcn314_dio_stream_encoder.c  |    2 +-
 .../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c   |   24 +
 .../gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h   |    2 +
 .../gpu/drm/amd/display/dc/dcn314/dcn314_init.c    |    2 +-
 .../drm/amd/display/dc/dcn314/dcn314_resource.c    |   61 +-
 .../drm/amd/display/dc/dcn314/dcn314_resource.h    |    4 +
 .../display/dc/dcn32/dcn32_dio_stream_encoder.c    |    2 +-
 .../gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.h    |    2 +
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hubp.h  |    2 +
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c |    8 +-
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_init.c  |    1 +
 .../gpu/drm/amd/display/dc/dcn32/dcn32_resource.h  |    2 +
 .../amd/display/dc/dml/dcn20/display_mode_vba_20.c |    8 +-
 .../display/dc/dml/dcn20/display_mode_vba_20v2.c   |   10 +-
 .../amd/display/dc/dml/dcn21/display_mode_vba_21.c |   12 +-
 .../gpu/drm/amd/display/dc/dml/dcn30/dcn30_fpu.c   |    2 +-
 .../amd/display/dc/dml/dcn31/display_mode_vba_31.c |    4 +
 .../gpu/drm/amd/display/dc/dml/dcn314/dcn314_fpu.c |    7 +-
 .../display/dc/dml/dcn314/display_mode_vba_314.c   |    4 +
 .../dc/dml/dcn314/display_rq_dlg_calc_314.c        |    2 +-
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   |   36 +
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.c |   21 +-
 .../amd/display/dc/dml/dcn32/display_mode_vba_32.h |    3 +-
 .../dc/dml/dcn32/display_mode_vba_util_32.c        |   31 +-
 .../dc/dml/dcn32/display_mode_vba_util_32.h        |    5 +-
 .../drm/amd/display/dc/dml/display_mode_structs.h  |    1 +
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.c  |    1 +
 .../gpu/drm/amd/display/dc/dml/display_mode_vba.h  |    1 +
 drivers/gpu/drm/amd/display/dc/inc/core_types.h    |   27 -
 .../drm/amd/display/dc/inc/hw/timing_generator.h   |    1 +
 drivers/gpu/drm/amd/display/dc/inc/link.h          |   48 +
 drivers/gpu/drm/amd/display/dc/inc/resource.h      |    4 -
 .../amd/display/dc/irq/dcn201/irq_service_dcn201.c |    2 +-
 drivers/gpu/drm/amd/display/dc/link/Makefile       |    9 +-
 .../amd/display/dc/link/accessories/link_dp_cts.c  |   45 +-
 .../display/dc/link/accessories/link_dp_trace.c    |   10 +-
 .../display/dc/link/accessories/link_dp_trace.h    |    1 +
 .../amd/display/dc/link/accessories/link_fpga.c    |   95 +
 .../amd/display/dc/link/accessories/link_fpga.h    |   30 +
 .../drm/amd/display/dc/link/hwss/link_hwss_dio.c   |   16 +-
 .../amd/display/dc/link/hwss/link_hwss_hpo_dp.c    |    4 +-
 .../gpu/drm/amd/display/dc/link/link_detection.c   | 1323 ++++++
 .../gpu/drm/amd/display/dc/link/link_detection.h   |   30 +
 drivers/gpu/drm/amd/display/dc/link/link_dpms.c    | 2528 ++++++++++
 drivers/gpu/drm/amd/display/dc/link/link_dpms.h    |   40 +
 drivers/gpu/drm/amd/display/dc/link/link_factory.c |  577 +++
 drivers/gpu/drm/amd/display/dc/link/link_factory.h |   29 +
 .../gpu/drm/amd/display/dc/link/link_resource.c    |  114 +
 .../gpu/drm/amd/display/dc/link/link_resource.h    |   31 +
 .../gpu/drm/amd/display/dc/link/link_validation.c  |  398 ++
 .../gpu/drm/amd/display/dc/link/link_validation.h  |   28 +
 .../display/dc/link/protocols/link_dp_capability.c |   74 +-
 .../amd/display/dc/link/protocols/link_dp_dpia.c   |    1 +
 .../display/dc/link/protocols/link_dp_dpia_bw.c    |  413 ++
 .../display/dc/link/protocols/link_dp_dpia_bw.h    |   29 -
 .../dc/link/protocols/link_dp_irq_handler.c        |   54 +-
 .../dc/link/protocols/link_dp_irq_handler.h        |    4 -
 .../amd/display/dc/link/protocols/link_dp_phy.c    |   94 +-
 .../amd/display/dc/link/protocols/link_dp_phy.h    |    8 +-
 .../display/dc/link/protocols/link_dp_training.c   |    3 +-
 .../dc/link/protocols/link_dp_training_dpia.c      |    3 +
 drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h    |   27 +
 .../drm/amd/display/modules/color/color_gamma.c    |  140 +-
 .../drm/amd/display/modules/color/color_gamma.h    |    3 -
 .../drm/amd/display/modules/freesync/freesync.c    |   12 +-
 drivers/gpu/drm/amd/include/amd_shared.h           |    1 +
 drivers/gpu/drm/amd/include/kgd_pp_interface.h     |    1 +
 drivers/gpu/drm/amd/pm/amdgpu_dpm.c                |   18 +
 drivers/gpu/drm/amd/pm/amdgpu_pm.c                 |    2 +
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h            |    1 +
 .../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c    |   14 +-
 .../gpu/drm/amd/pm/powerplay/inc/smu11_driver_if.h |    2 +
 .../gpu/drm/amd/pm/powerplay/inc/smu9_driver_if.h  |    2 +
 .../amd/pm/powerplay/inc/vega12/smu9_driver_if.h   |    2 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c          |   23 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h      |    2 +
 .../swsmu/inc/pmfw_if/smu11_driver_if_arcturus.h   |    2 +
 .../pm/swsmu/inc/pmfw_if/smu11_driver_if_navi10.h  |    2 +
 .../inc/pmfw_if/smu11_driver_if_sienna_cichlid.h   |    2 +
 .../swsmu/inc/pmfw_if/smu13_driver_if_aldebaran.h  |    2 +
 .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_0.h |    7 +-
 .../pm/swsmu/inc/pmfw_if/smu13_driver_if_v13_0_7.h |   31 +-
 .../amd/pm/swsmu/inc/pmfw_if/smu_v13_0_0_ppsmc.h   |    1 +
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h       |    3 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h       |    4 +-
 drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c    |    6 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   |   33 +
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   |    1 +
 148 files changed, 7488 insertions(+), 5708 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
 create mode 100644 drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/accessories/link_fpga.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/accessories/link_fpga.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_detection.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_detection.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_dpms.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_dpms.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_factory.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_factory.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_resource.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_resource.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_validation.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_validation.h


More information about the dri-devel mailing list