All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Lin <PingLei.Lin@amd.com>
To: <amd-gfx@lists.freedesktop.org>
Cc: Harry Wentland <harry.wentland@amd.com>,
	Leo Li <sunpeng.li@amd.com>,
	Aurabindo Pillai <aurabindo.pillai@amd.com>,
	Roman Li <roman.li@amd.com>, Wayne Lin <wayne.lin@amd.com>,
	Tom Chung <chiahsuan.chung@amd.com>,
	"Fangzhi Zuo" <jerry.zuo@amd.com>,
	Dan Wheeler <daniel.wheeler@amd.com>, Ray Wu <Ray.Wu@amd.com>,
	Ivan Lipski <ivan.lipski@amd.com>, Alex Hung <alex.hung@amd.com>,
	James Lin <PingLei.Lin@amd.com>,
	Chenyu Chen <Chen-Yu.Chen@amd.com>
Subject: [PATCH 00/33] DC Patches November 23, 2026
Date: Tue, 17 Nov 2026 05:50:37 +0800	[thread overview]
Message-ID: <20261116215641.2800595-1-PingLei.Lin@amd.com> (raw)

This DC patchset brings improvements in multiple areas. In summary, we have:
- Rename DPMS to DPMS_v1
- Power up eDP when detect link
- Add DPMS-v2 files
- Refactor DP retrain link HW sequence
- Add extra 0.25 line reserved for TSetup/TCalc inefficiency
- Use panel luminance range for AUX backlight in power module
- Read PWM back linearly with the linear backlight curve
- Add API to set brightness percent
- Pass linear brightness percent to power module
- Add DPMS-v2 types
- Always apply 0ppm pixel clock adjustment
- Add otg versions of get_vblank_counter/scanoutpos
- Queue vblank control work to sleepable context
- Fix KUnit tests for vblank control rework
- Add urgent request and assertion probes
- Fix G7 P-state aperture addresses
- Set stream min/max refresh from VRR config
- Add DC2 wrapped initialization for DCN401
- Honor the Replay stream regeneration wait event
- Disable Replay when link off frame count is below 2
- Skip DSC padding borrow estimate for zero padding
- Drop unused DC interfaces
- Let the DC2 commit replace or keep a stream
- Support two streams in the dcn401 DC2 builders
- Add a plane beside a kept plane in DC2 update
- Keep an unchanged stream in the DC2 commit
- Change the ODM and MPC layout in DC2 update
- Give the DC2 builders State pipe facts
- Add RGBA8888 surface pixel format support
- Fix DCE crossbar for RGBA8888 surface format

Cc: Dan Wheeler <daniel.wheeler@amd.com>

Allen Pan (1):
  drm/amd/display: Always apply 0ppm pixel clock adjustment

Dominik Kowalski (3):
  drm/amd/display: Rename DPMS to DPMS_v1
  drm/amd/display: Add DPMS-v2 files
  drm/amd/display: Add DPMS-v2 types

George Shen (1):
  drm/amd/display: Refactor DP retrain link HW sequence

George Zhang (3):
  drm/amd/display: Add otg versions of get_vblank_counter/scanoutpos
  drm/amd/display: Queue vblank control work to sleepable context
  drm/amd/display: Fix KUnit tests for vblank control rework

Harry VanZyllDeJong (1):
  drm/amd/display: Honor the Replay stream regeneration wait event

Harry Wentland (2):
  drm/amd/display: Add RGBA8888 surface pixel format support
  drm/amd/display: Fix DCE crossbar for RGBA8888 surface format

Ivan Lipski (2):
  drm/amd/display: Fix G7 P-state aperture addresses
  drm/amd/display: Set stream min/max refresh from VRR config

Michael Strauss (1):
  drm/amd/display: Clear OTG_AUTO_FORCE_VSYNC_MODE on OTG disable

Nicholas Kazlauskas (2):
  drm/amd/display: Skip DSC padding borrow estimate for zero padding
  drm/amd/display: Drop unused DC interfaces

Ray Wu (5):
  drm/amd/display: Use panel luminance range for AUX backlight in power
    module
  drm/amd/display: Read PWM back linearly with the linear backlight
    curve
  drm/amd/display: Add API to set brightness percent
  drm/amd/display: Pass linear brightness percent to power module
  drm/amd/display: Disable Replay when link off frame count is below 2

Samson Tam (1):
  drm/amd/display: add extra 0.25 line reserved for TSetup/TCalc
    inefficiency

Taimur Hassan (2):
  drm/amd/display: [FW Promotion] Release 0.1.85.0
  drm/amd/display: Promote DC to 3.2.408

Tomasz Siemek (1):
  drm/amd/display: Add DC2 wrapped initialization for DCN401

Tony Cheng (6):
  drm/amd/display: Let the DC2 commit replace or keep a stream
  drm/amd/display: Support two streams in the dcn401 DC2 builders
  drm/amd/display: Add a plane beside a kept plane in DC2 update
  drm/amd/display: Keep an unchanged stream in the DC2 commit
  drm/amd/display: Change the ODM and MPC layout in DC2 update
  drm/amd/display: Give the DC2 builders State pipe facts

Wenjing Liu (1):
  drm/amd/display: Add urgent request and assertion probes

Zhikai Zhai (1):
  drm/amd/display: Power up eDP when detect link

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  116 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   52 +
 .../display/amdgpu_dm/amdgpu_dm_backlight.c   |  208 +---
 .../display/amdgpu_dm/amdgpu_dm_backlight.h   |    9 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_crtc.c    |  225 ++--
 .../amd/display/amdgpu_dm/amdgpu_dm_dmub.c    |    2 +-
 .../display/amdgpu_dm/amdgpu_dm_freesync.c    |    3 +
 .../display/amdgpu_dm/amdgpu_dm_irq_params.h  |    2 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_ism.c |   20 +-
 .../amd/display/amdgpu_dm/amdgpu_dm_replay.c  |   23 +-
 .../tests/amdgpu_dm_backlight_test.c          |  552 ++-------
 .../amdgpu_dm/tests/amdgpu_dm_crtc_test.c     |  219 +++-
 .../amdgpu_dm/tests/amdgpu_dm_kunit_helpers.c |    2 +
 .../amdgpu_dm/tests/amdgpu_dm_replay_test.c   |  129 ++
 .../display/amdgpu_dm/tests/amdgpu_dm_test.c  |   78 ++
 drivers/gpu/drm/amd/display/dc/Makefile       |    3 +
 .../gpu/drm/amd/display/dc/basics/dce_calcs.c |    2 +
 .../amd/display/dc/bls_builder/bls_builder.c  |   19 +
 .../amd/display/dc/bls_builder/bls_builder.h  |   86 +-
 .../dc/bls_builder/bls_builder_internal.h     |    3 +
 .../bls_builder/bls_builder_private_types.h   |   28 +-
 .../dc/bls_builder/dcn401_builder_internal.h  |   87 +-
 .../dc/bls_builder/dcn401_init_builder.c      |  812 ++++++------
 .../dc/bls_builder/dcn401_init_builder.h      |   16 -
 .../bls_builder/dcn401_init_builder_legacy.c  |   77 ++
 .../bls_builder/dcn401_non_seamless_builder.c |  243 ++--
 .../dc/bls_builder/dcn401_query_builder.c     |   41 +
 .../dc/bls_builder/dcn401_seamless_builder.c  | 1091 +++++++++++------
 .../display/dc/bls_executor/bls_executor.c    |   79 +-
 .../display/dc/bls_executor/bls_executor.h    |    2 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c      |    6 +-
 .../drm/amd/display/dc/core/dc_hw_sequencer.c |  267 +++-
 .../gpu/drm/amd/display/dc/core/dc_resource.c |   48 +-
 .../gpu/drm/amd/display/dc/core/dc_state.c    |   28 +
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |   38 +
 .../gpu/drm/amd/display/dc/core2/dc_core2.c   |  142 ++-
 .../drm/amd/display/dc/core2/dc_core2_init.c  |  298 ++++-
 drivers/gpu/drm/amd/display/dc/dc.h           |   60 +-
 .../amd/display/dc/dc_api_dispatch/api_shim.c |    1 +
 .../amd/display/dc/dc_api_dispatch/api_shim.h |    3 +
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h  |    8 +-
 drivers/gpu/drm/amd/display/dc/dc_probe.h     |   61 +-
 .../gpu/drm/amd/display/dc/dc_state_priv.h    |   23 +
 drivers/gpu/drm/amd/display/dc/dc_stream.h    |    6 +
 .../drm/amd/display/dc/dce/dce_clock_source.c |   25 +
 .../drm/amd/display/dc/dce/dce_mem_input.c    |   42 +-
 .../drm/amd/display/dc/dce/dce_mem_input.h    |    6 +
 .../display/dc/dce110/dce110_mem_input_v.c    |    1 +
 .../drm/amd/display/dc/dml/calcs/dcn_calcs.c  |    1 +
 .../dml2_pmo/dml2_pmo_dcn6_stage_optimizers.c |   13 +-
 .../drm/amd/display/dc/dpp/dcn10/dcn10_dpp.c  |    3 +
 .../drm/amd/display/dc/dpp/dcn20/dcn20_dpp.c  |    3 +
 .../amd/display/dc/dpp/dcn201/dcn201_dpp.c    |    3 +
 .../drm/amd/display/dc/dpp/dcn30/dcn30_dpp.c  |    3 +
 .../amd/display/dc/dpp/dcn401/dcn401_dpp.c    |    3 +
 .../drm/amd/display/dc/dpp/dcn42/dcn42_dpp.c  |    3 +
 .../drm/amd/display/dc/dpp/dcn50/dcn50_dpp.c  |    3 +
 .../drm/amd/display/dc/dpp/dcn60/dcn60_dpp.c  |    3 +
 .../display/dc/hubbub/dcn10/dcn10_hubbub.c    |    1 +
 .../display/dc/hubbub/dcn20/dcn20_hubbub.c    |    1 +
 .../display/dc/hubbub/dcn401/dcn401_hubbub.c  |    1 +
 .../display/dc/hubbub/dcn60/dcn60_hubbub.c    |   80 ++
 .../amd/display/dc/hubp/dcn10/dcn10_hubp.c    |    4 +
 .../amd/display/dc/hubp/dcn20/dcn20_hubp.c    |    4 +
 .../amd/display/dc/hubp/dcn20/dcn20_hubp.h    |    3 +-
 .../amd/display/dc/hubp/dcn35/dcn35_hubp.c    |    4 +
 .../amd/display/dc/hubp/dcn42/dcn42_hubp.c    |    4 +
 .../amd/display/dc/hubp/dcn50/dcn50_hubp.c    |    4 +
 .../amd/display/dc/hubp/dcn60/dcn60_hubp.c    |   35 +
 .../amd/display/dc/hubp/dcn60/dcn60_hubp.h    |    1 +
 .../drm/amd/display/dc/hwss/dce/dce_hwseq.c   |    1 +
 .../amd/display/dc/hwss/dce110/dce110_hwseq.c |    1 +
 .../amd/display/dc/hwss/dcn30/dcn30_hwseq.h   |    8 -
 .../amd/display/dc/hwss/dcn60/dcn60_hwseq.c   |  243 +++-
 .../drm/amd/display/dc/hwss/hw_sequencer.h    |   80 +-
 .../gpu/drm/amd/display/dc/inc/core_types.h   |   61 +
 .../amd/display/dc/inc/dc_core_interface.h    |    6 +
 .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h  |    3 +
 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h  |   12 +
 .../amd/display/dc/inc/hw/timing_generator.h  |    4 -
 .../gpu/drm/amd/display/dc/inc/link_service.h |    6 +-
 drivers/gpu/drm/amd/display/dc/inc/link_tx.h  |   59 +
 drivers/gpu/drm/amd/display/dc/link/Makefile  |    9 +-
 .../display/dc/link/accessories/link_dp_cts.c |   43 +-
 .../drm/amd/display/dc/link/link_detection.c  |   17 +-
 .../dc/link/{link_dpms.c => link_dpms_v1.c}   |    6 +-
 .../dc/link/{link_dpms.h => link_dpms_v1.h}   |   10 +-
 .../drm/amd/display/dc/link/link_dpms_v2.c    |   44 +
 .../drm/amd/display/dc/link/link_dpms_v2.h    |   38 +
 .../drm/amd/display/dc/link/link_factory.c    |   23 +-
 .../dc/link/protocols/link_dp_irq_handler.c   |    6 +-
 .../display/dc/link/protocols/link_hdmi_frl.c |    8 +-
 .../amd/display/dc/optc/dcn31/dcn31_optc.c    |    4 +
 .../amd/display/dc/optc/dcn314/dcn314_optc.c  |    4 +
 .../amd/display/dc/optc/dcn35/dcn35_optc.c    |    4 +
 .../dc/pmfw_messenger/dcn401_pmfw_messenger.c |  211 ++++
 .../dc/pmfw_messenger/pmfw_messenger.c        |   62 +
 .../dc/pmfw_messenger/pmfw_messenger.h        |  118 ++
 .../amd/display/dc/state_facts/state_facts.h  |    3 +
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   |   48 +
 .../drm/amd/display/modules/inc/mod_power.h   |    7 +
 .../drm/amd/display/modules/power/power_abm.c |   83 +-
 .../amd/display/modules/power/power_replay.c  |    1 +
 103 files changed, 4807 insertions(+), 1898 deletions(-)
 create mode 100644 drivers/gpu/drm/amd/display/dc/bls_builder/dcn401_query_builder.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/inc/link_tx.h
 rename drivers/gpu/drm/amd/display/dc/link/{link_dpms.c => link_dpms_v1.c} (99%)
 rename drivers/gpu/drm/amd/display/dc/link/{link_dpms.h => link_dpms_v1.h} (92%)
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_dpms_v2.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/link/link_dpms_v2.h
 create mode 100644 drivers/gpu/drm/amd/display/dc/pmfw_messenger/dcn401_pmfw_messenger.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/pmfw_messenger/pmfw_messenger.c
 create mode 100644 drivers/gpu/drm/amd/display/dc/pmfw_messenger/pmfw_messenger.h

-- 
2.43.0


             reply	other threads:[~2026-11-17 17:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 21:50 James Lin [this message]
2026-11-16 21:50 ` [PATCH 01/33] drm/amd/display: Clear OTG_AUTO_FORCE_VSYNC_MODE on OTG disable James Lin
2026-11-16 21:50 ` [PATCH 02/33] drm/amd/display: Rename DPMS to DPMS_v1 James Lin
2026-11-16 21:50 ` [PATCH 03/33] drm/amd/display: Power up eDP when detect link James Lin
2026-11-16 21:50 ` [PATCH 04/33] drm/amd/display: Add DPMS-v2 files James Lin
2026-11-16 21:50 ` [PATCH 05/33] drm/amd/display: Refactor DP retrain link HW sequence James Lin
2026-11-16 21:50 ` [PATCH 06/33] drm/amd/display: add extra 0.25 line reserved for TSetup/TCalc inefficiency James Lin
2026-11-16 21:50 ` [PATCH 07/33] drm/amd/display: Use panel luminance range for AUX backlight in power module James Lin
2026-11-16 21:50 ` [PATCH 08/33] drm/amd/display: Read PWM back linearly with the linear backlight curve James Lin
2026-11-16 21:50 ` [PATCH 09/33] drm/amd/display: Add API to set brightness percent James Lin
2026-11-16 21:50 ` [PATCH 10/33] drm/amd/display: Pass linear brightness percent to power module James Lin
2026-11-16 21:50 ` [PATCH 11/33] drm/amd/display: Add DPMS-v2 types James Lin
2026-11-16 21:50 ` [PATCH 12/33] drm/amd/display: Always apply 0ppm pixel clock adjustment James Lin
2026-11-16 21:50 ` [PATCH 13/33] drm/amd/display: Add otg versions of get_vblank_counter/scanoutpos James Lin
2026-11-16 21:50 ` [PATCH 14/33] drm/amd/display: Queue vblank control work to sleepable context James Lin
2026-11-16 21:50 ` [PATCH 15/33] drm/amd/display: Fix KUnit tests for vblank control rework James Lin
2026-11-16 21:50 ` [PATCH 16/33] drm/amd/display: Add urgent request and assertion probes James Lin
2026-11-16 21:50 ` [PATCH 17/33] drm/amd/display: Fix G7 P-state aperture addresses James Lin
2026-11-16 21:50 ` [PATCH 18/33] drm/amd/display: Set stream min/max refresh from VRR config James Lin
2026-11-16 21:50 ` [PATCH 19/33] drm/amd/display: Add DC2 wrapped initialization for DCN401 James Lin
2026-11-16 21:50 ` [PATCH 20/33] drm/amd/display: Honor the Replay stream regeneration wait event James Lin
2026-11-16 21:50 ` [PATCH 21/33] drm/amd/display: Disable Replay when link off frame count is below 2 James Lin
2026-11-16 21:50 ` [PATCH 22/33] drm/amd/display: Skip DSC padding borrow estimate for zero padding James Lin
2026-11-16 21:51 ` [PATCH 23/33] drm/amd/display: Drop unused DC interfaces James Lin
2026-11-16 21:51 ` [PATCH 24/33] drm/amd/display: Let the DC2 commit replace or keep a stream James Lin
2026-11-16 21:51 ` [PATCH 25/33] drm/amd/display: Support two streams in the dcn401 DC2 builders James Lin
2026-11-16 21:51 ` [PATCH 26/33] drm/amd/display: Add a plane beside a kept plane in DC2 update James Lin
2026-11-16 21:51 ` [PATCH 27/33] drm/amd/display: Keep an unchanged stream in the DC2 commit James Lin
2026-11-16 21:51 ` [PATCH 28/33] drm/amd/display: Change the ODM and MPC layout in DC2 update James Lin
2026-11-16 21:51 ` [PATCH 29/33] drm/amd/display: Give the DC2 builders State pipe facts James Lin
2026-11-16 21:51 ` [PATCH 30/33] drm/amd/display: Add RGBA8888 surface pixel format support James Lin
2026-11-16 21:51 ` [PATCH 31/33] drm/amd/display: Fix DCE crossbar for RGBA8888 surface format James Lin
2026-11-16 21:51 ` [PATCH 32/33] drm/amd/display: [FW Promotion] Release 0.1.85.0 James Lin
2026-11-16 21:51 ` [PATCH 33/33] drm/amd/display: Promote DC to 3.2.408 James Lin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261116215641.2800595-1-PingLei.Lin@amd.com \
    --to=pinglei.lin@amd.com \
    --cc=Chen-Yu.Chen@amd.com \
    --cc=Ray.Wu@amd.com \
    --cc=alex.hung@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=aurabindo.pillai@amd.com \
    --cc=chiahsuan.chung@amd.com \
    --cc=daniel.wheeler@amd.com \
    --cc=harry.wentland@amd.com \
    --cc=ivan.lipski@amd.com \
    --cc=jerry.zuo@amd.com \
    --cc=roman.li@amd.com \
    --cc=sunpeng.li@amd.com \
    --cc=wayne.lin@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.