[pull] amdgpu drm-fixes-6.2

2023-02-15 Thread Alex Deucher
Hi Dave, Daniel,

A couple of warning fixes for 6.2.

The following changes since commit ceaa837f96adb69c0df0397937cd74991d5d821a:

  Linux 6.2-rc8 (2023-02-12 14:10:17 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-02-15

for you to fetch changes up to 2a00299e7447395d0898e7c6214817c06a61a8e8:

  drm/amd/display: Fail atomic_check early on normalize_zpos error (2023-02-15 
22:46:42 -0500)


amd-drm-fixes-6.2-2023-02-15:

amdgpu:
- Fix GC11.x suspend warning
- Fix display warning


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

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

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c| 3 +++
 drivers/gpu/drm/amd/amdgpu/mes_v11_0.c| 2 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 +-
 3 files changed, 9 insertions(+), 2 deletions(-)


[pull] amdgpu drm-fixes-6.2

2023-02-09 Thread Alex Deucher
Hi Dave, Daniel,

A few last minute display fixes.

The following changes since commit c6ac406cd8ff610a2d5da298b1d3071acfcde7f0:

  drm/amdgpu/smu: skip pptable init under sriov (2023-02-08 22:33:37 -0500)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-02-09

for you to fetch changes up to e7d636476ba73e61460619bd8822e16af3cba509:

  Revert "drm/amd/display: disable S/G display on DCN 3.1.5" (2023-02-09 
10:29:28 -0500)


amd-drm-fixes-6.2-2023-02-09:

amdgpu:
- Add a parameter to disable S/G display
- Re-enable S/G display on all DCNs


Alex Deucher (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"

 drivers/gpu/drm/amd/amdgpu/amdgpu.h   |  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c   | 11 +++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  7 +++
 3 files changed, 19 insertions(+)


[pull] amdgpu drm-fixes-6.2

2023-02-08 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit 04119ab1a49fc41cb70f0472be5455af268fa260:

  nvidiafb: detect the hardware support before removing console. (2023-02-07 
08:42:29 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-02-08

for you to fetch changes up to c6ac406cd8ff610a2d5da298b1d3071acfcde7f0:

  drm/amdgpu/smu: skip pptable init under sriov (2023-02-08 22:33:37 -0500)


amd-drm-fixes-6.2-2023-02-08:

amdgpu:
- Flickering fixes for DCN 2.1, 3.1.2/3
- Re-enable S/G display on DCN 3.1.4
- 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


Alex Deucher (4):
  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"

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

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

 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  | 46 ++
 .../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 +
 13 files changed, 71 insertions(+), 41 deletions(-)


[pull] amdgpu drm-fixes-6.2

2023-02-01 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit 6d796c50f84ca79f1722bb131799e5a5710c4700:

  Linux 6.2-rc6 (2023-01-29 13:59:43 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-02-01

for you to fetch changes up to 6fc547a5a2ef5ce05b16924106663ab92f8f87a7:

  drm/amd/display: Properly handle additional cases where DCN is not supported 
(2023-02-01 22:45:51 -0500)


amd-drm-fixes-6.2-2023-02-01:

amdgpu:
- GC11 fixes
- DCN 3.1.4 fixes
- NBIO 4.3 fix
- DCN 3.2 fixes
- Properly handle additional cases where DCN is not supported
- SMU13 fixes


Alex Deucher (1):
  drm/amd/display: Properly handle additional cases where DCN is not 
supported

Daniel Miess (2):
  drm/amd/display: Add missing brackets in calculation
  drm/amd/display: Adjust downscaling limits for dcn314

Evan Quan (1):
  drm/amdgpu: enable HDP SD for gfx 11.0.3

George Shen (1):
  drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2

Graham Sider (1):
  drm/amdgpu: update wave data type to 3 for gfx11

Mario Limonciello (1):
  drm/amd: Fix initialization for nbio 4.3.0

Nicholas Kazlauskas (1):
  drm/amd/display: Reset DMUB mailbox SW state after HW reset

Tim Huang (1):
  drm/amd/pm: drop unneeded dpm features disablement for SMU 13.0.4/11

Yiqing Yao (1):
  drm/amdgpu: Enable vclk dclk node for gc11.0.3

 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c |  4 ++--
 drivers/gpu/drm/amd/amdgpu/nbio_v4_3.c |  8 +++-
 drivers/gpu/drm/amd/amdgpu/soc21.c |  3 ++-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 11 +++
 drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c|  5 +++--
 drivers/gpu/drm/amd/display/dc/dcn32/dcn32_init.c  |  2 +-
 .../drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c   |  2 +-
 drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c| 12 
 drivers/gpu/drm/amd/pm/amdgpu_pm.c |  6 --
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c  | 14 ++
 10 files changed, 57 insertions(+), 10 deletions(-)


[pull] amdgpu drm-fixes-6.2

2023-01-19 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit e695bc7e542358978434c8489a5a164d2bbefae8:

  Merge tag 'drm-msm-fixes-2023-01-12' of 
https://gitlab.freedesktop.org/drm/msm into drm-fixes (2023-01-13 13:01:22 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2023-01-19

for you to fetch changes up to a52287d66dfa1cca32e6273623b63ba39d87f126:

  drm/amd/display: disable S/G display on DCN 3.1.4 (2023-01-18 23:23:24 -0500)


amd-drm-fixes-6.2-2023-01-19:

amdgpu:
- Fix display scaling
- Fix RN/CZN power reporting on some firmware versions
- Colorspace fixes
- Fix resource freeing in error case in CS IOCTL
- Fix warning on driver unload
- GC11 fixes
- DCN 3.1.4/5 S/G display workarounds


Alex Deucher (2):
  drm/amd/display: disable S/G display on DCN 3.1.5
  drm/amd/display: disable S/G display on DCN 3.1.4

Christian König (2):
  drm/amdgpu: fix cleaning up reserved VMID on release
  drm/amdgpu: fix amdgpu_job_free_resources v2

Hamza Mahfooz (1):
  drm/amd/display: fix issues with driver unload

Joshua Ashton (2):
  drm/amd/display: Calculate output_color_space after pixel encoding 
adjustment
  drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix

Lang Yu (2):
  drm/amdgpu: correct MEC number for gfx11 APUs
  drm/amdgpu: allow multipipe policy on ASICs with one MEC

hongao (1):
  drm/amd/display: Fix set scaling doesn's work

jie1zhan (1):
  drm/amdgpu: Correct the power calcultion for Renior/Cezanne.

 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c|  3 +++
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c|  1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c| 10 --
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 11 +--
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 14 --
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c|  1 -
 drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c  |  4 ++--
 drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c|  7 ++-
 8 files changed, 33 insertions(+), 18 deletions(-)


[pull] amdgpu drm-fixes-6.2

2022-12-15 Thread Alex Deucher
Hi Dave, Daniel,

Fixes for 6.2.

The following changes since commit 66efff515a6500d4b4976fbab3bee8b92a1137fb:

  Merge tag 'amd-drm-next-6.2-2022-12-07' of 
https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-12-09 12:08:33 
+1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/agd5f/linux.git 
tags/amd-drm-fixes-6.2-2022-12-15

for you to fetch changes up to 7a18e089eff02f17eaee49fc18641f5d16a8284b:

  drm/amd/pm: update SMU13.0.0 reported maximum shader clock (2022-12-15 
12:18:08 -0500)


amd-drm-fixes-6.2-2022-12-15:

amdgpu:
- Spelling fix
- BO pin fix
- Properly handle polaris 10/11 overlap asics
- GMC9 fix
- SR-IOV suspend fix
- DCN 3.1.4 fix
- KFD userptr locking fix
- SMU13.x fixes
- GDS/GWS/OA handling fix
- Reserved VMID handling fixes
- FRU EEPROM fix
- BO validation fixes


Alex Deucher (2):
  drm/amdgpu: make display pinning more flexible (v2)
  drm/amdgpu: handle polaris10/11 overlap asics (v2)

Christian König (7):
  drm/amdgpu: fixx NULL pointer deref in gmc_v9_0_get_vm_pte
  drm/amdgpu: WARN when freeing kernel memory during suspend
  drm/amdgpu: fix GDS/GWS/OA switch handling
  drm/amdgpu: cleanup SPM support a bit
  drm/amdgpu: stop waiting for the VM during unreserve
  drm/amdgpu: rework reserved VMID handling
  drm/amdgpu: revert "generally allow over-commit during BO allocation"

Colin Ian King (1):
  drm/amd/display: Fix spelling mistake: "dram_clk_chanage" -> 
"dram_clk_change"

Evan Quan (6):
  drm/amd/pm: add missing SMU13.0.0 mm_dpm feature mapping
  drm/amd/pm: add missing SMU13.0.7 mm_dpm feature mapping
  drm/amd/pm: enable GPO dynamic control support for SMU13.0.0
  drm/amd/pm: enable GPO dynamic control support for SMU13.0.7
  drm/amd/pm: correct SMU13.0.0 pstate profiling clock settings
  drm/amd/pm: update SMU13.0.0 reported maximum shader clock

Felix Kuehling (1):
  drm/amdgpu: Add notifier lock for KFD userptrs

Luben Tuikov (3):
  drm/amdgpu: Check if fru_addr is not NULL (v2)
  drm/amdgpu: Fix size validation for non-exclusive domains (v4)
  drm/amdgpu: Remove unnecessary domain argument

Shikang Fan (1):
  drm/amdgpu: Add an extra evict_resource call during device_suspend.

Yifan Zhang (1):
  drm/amd/display: Add DCN314 display SG Support

 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h |  13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   | 212 ++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|  13 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c |   6 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c|  16 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.c|  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_hmm.h|   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c|  88 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ids.h|   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.h|   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c |  40 ++--
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.h |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c|  24 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h|   6 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c   |   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c |  79 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h |   6 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c  |   4 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   1 +
 .../gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c|   8 +-
 .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c  |   2 +-
 .../display/dc/dcn10/dcn10_hw_sequencer_debug.c|   4 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c|   8 +-
 .../gpu/drm/amd/display/dc/dcn21/dcn21_hubbub.c|   8 +-
 .../gpu/drm/amd/display/dc/dcn32/dcn32_hubbub.c|   8 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h   |   2 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h   |   3 +-
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v13_0.h   |   3 +
 drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c |  15 ++
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c   |  96 +-
 .../gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c   |   4 +
 32 files changed, 449 insertions(+), 248 deletions(-)