DC Patches for 26 Jan 2026
Subsystems (3)
cover DC Patches for 26 Jan 2026
DC v3.2.367
* Fw release 0.1.44.0
* Fixes for corruption on platforms older than DCN4x.
* Bug fixes related to USB4 link training
* Fixes related to FP guard
* Debug helpers and other stability fixes.
* Some refactors to improve code quality
---
Aurabindo Pillai (1):
drm/amd/display: perform clear update flags for all DCN asics
Bhuvanachandra Pinninti (1):
drm/amd/display: Migrate HUBBUB register access from hwseq to hubbub
component.
Charlene Liu (2):
drm/amd/display: Enable vstateup hook for DCN401 to be reused drm/amd/display: add setup_stereo for dcn4x or later
Jack Chang (1):
drm/amd/display: Add FR skipping CTS functions
Matthew Stewart (1):
drm/amd/display: Fix GFX12 family constant checks
Michael Strauss (1):
drm/amd/display: Add debug flag to override min dispclk
Muaaz Nisar (1):
drm/amd/display: mouse event trigger to boost RR when idle
Taimur Hassan (2):
drm/amd/display: [FW Promotion] Release 0.1.44.0 drm/amd/display: Promote DC to 3.2.367
Wayne Lin (2):
drm/amd/display: Enable bootcrc on FW side
drm/amd/display: Remove unnecessary DC FP guard
Zhongwei (1):
drm/amd/display: avoid dig reg access timeout on usb4 link training
fail
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- .../gpu/drm/amd/display/dc/core/dc_stream.c | 13 +++++ drivers/gpu/drm/amd/display/dc/dc.h | 3 +- .../display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 ++++++ .../display/dc/hubbub/dcn10/dcn10_hubbub.h | 4 ++ .../amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 5 +- .../amd/display/dc/hwss/dcn10/dcn10_hwseq.h | 2 + .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 16 ++++-- .../amd/display/dc/hwss/dcn201/dcn201_hwseq.c | 1 + .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 1 + .../amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 1 + .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 1 + .../dc/resource/dcn20/dcn20_resource.c | 2 - .../dc/resource/dcn21/dcn21_resource.c | 2 - .../dc/resource/dcn401/dcn401_resource.c | 2 +- .../dc/resource/dcn401/dcn401_resource.h | 2 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 55 +++++++++++++++++-- .../gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 3 + .../gpu/drm/amd/display/include/dpcd_defs.h | 1 + 21 files changed, 117 insertions(+), 23 deletions(-)
Signature · 1 line
2.52.0
PATCH 1/13 drm/amd/display: Enable vstateup hook for DCN401 to be reused
From: Charlene Liu <[email protected]>
Add the hook to the DCN401 header file so that it can be reused in other files
--- .../gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c | 2 +- .../gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c +1 -1
@@ -1772,7 +1772,7 @@ static int dcn401_get_power_profile(const struct dc_state *context)return dpm_level; } -static unsigned int dcn401_get_vstartup_for_pipe (struct pipe_ctx *pipe_ctx) +unsigned int dcn401_get_vstartup_for_pipe (struct pipe_ctx *pipe_ctx) {return pipe_ctx->global_sync.dcn4x.vstartup_lines; }
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.h +2 -0
@@ -28,6 +28,8 @@ enum dc_status dcn401_validate_bandwidth(struct dc *dc,void dcn401_prepare_mcache_programming (struct dc *dc,struct dc_state *context); +unsigned int dcn401_get_vstartup_for_pipe (struct pipe_ctx *pipe_ctx); +/* Following are definitions for run time init of reg offsets */ /* HUBP */
Signature · 1 line
2.52.0
PATCH 2/13 drm/amd/display: Fix GFX12 family constant checks
In reply to Aurabindo PillaiFrom: Matthew Stewart <[email protected]>
Using >=, <= for checking the family is not always correct.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -11842,7 +11842,7 @@ static int dm_check_cursor_fb(struct amdgpu_crtc *new_acrtc,* check tiling flags when the FB doesn't have a modifier. */ if (!(fb->flags &DRM_MODE_FB_MODIFIERS )) { -if (adev->family >=AMDGPU_FAMILY_GC_12_0_0 ) { +if (adev->family ==AMDGPU_FAMILY_GC_12_0_0 ) { linear =AMDGPU_TILING_GET (afb->tiling_flags,GFX12_SWIZZLE_MODE ) ==0 ; }else if (adev->family >=AMDGPU_FAMILY_AI ) { linear =AMDGPU_TILING_GET (afb->tiling_flags,SWIZZLE_MODE ) ==0 ;
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_plane.c +2 -2
@@ -277,7 +277,7 @@ static int amdgpu_dm_plane_validate_dcc(struct amdgpu_device *adev,if (!dcc->enable)return 0 ; -if (adev->family <AMDGPU_FAMILY_GC_12_0_0 && +if (adev->family !=AMDGPU_FAMILY_GC_12_0_0 && format >=SURFACE_PIXEL_FORMAT_VIDEO_BEGIN )return -EINVAL ;
@@ -900,7 +900,7 @@ int amdgpu_dm_plane_fill_plane_buffer_attributes(struct amdgpu_device *adev,upper_32_bits (chroma_addr); } -if (adev->family >=AMDGPU_FAMILY_GC_12_0_0 ) { +if (adev->family ==AMDGPU_FAMILY_GC_12_0_0 ) { ret = amdgpu_dm_plane_fill_gfx12_plane_attributes_from_modifiers(adev, afb, format, rotation, plane_size, tiling_info, dcc,
Signature · 1 line
2.52.0
PATCH 3/13 drm/amd/display: Add FR skipping CTS functions
In reply to Aurabindo PillaiFrom: Jack Chang <[email protected]>
1. To check whether Sink reaches maximum skipping number
--- drivers/gpu/drm/amd/display/include/dpcd_defs.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/include/dpcd_defs.h +1 -0
@@ -224,6 +224,7 @@ enum dpcd_psr_sink_states {#define DP_SINK_PR_PIXEL_DEVIATION_PER_LINE 0x379#define DP_SINK_PR_MAX_NUMBER_OF_DEVIATION_LINE 0x37A#define DP_SINK_EMISSION_RATE 0x37E +#define DP_SINK_PR_FRAME_SKIP_COUNT 0x337/* Remove once drm_dp_helper.h is updated upstream */ #ifndef DP_TOTAL_LTTPR_CNT
Signature · 1 line
2.52.0
PATCH 4/13 drm/amd/display: Enable bootcrc on FW side
In reply to Aurabindo PillaiFrom: Wayne Lin <[email protected]>
[Why]
The bootcrc feature is controlled on the FW side.
[How]
Pass the control bits in boot options to FW.
--- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c +3 -0
@@ -419,6 +419,9 @@ void dmub_dcn35_enable_dmub_boot_options(struct dmub_srv *dmub, const struct dmu boot_options.bits.enable_non_transparent_setconfig = params->enable_non_transparent_setconfig; boot_options.bits.lower_hbr3_phy_ssc = params->lower_hbr3_phy_ssc; boot_options.bits.disable_dpia_bw_allocation = params->disable_dpia_bw_allocation; + boot_options.bits.bootcrc_en_at_preos =dmub_dcn35_get_fw_boot_option (dmub).bits.bootcrc_en_at_preos; + boot_options.bits.bootcrc_en_at_S0i3 =dmub_dcn35_get_fw_boot_option (dmub).bits.bootcrc_en_at_S0i3; + boot_options.bits.bootcrc_boot_mode =dmub_dcn35_get_fw_boot_option (dmub).bits.bootcrc_boot_mode;REG_WRITE (DMCUB_SCRATCH14 , boot_options.all); }
Signature · 1 line
2.52.0
PATCH 5/13 drm/amd/display: perform clear update flags for all DCN asics
In reply to Aurabindo PillaiExisting version check that limits the sequence to clear update flags should be performed for all asics. Exclude DCE asics for now.
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +1 -1
@@ -7506,7 +7506,7 @@ struct dc_update_scratch_space *dc_update_planes_and_stream_init( .stream = stream, .stream_update = stream_update, .update_v3 = version >= DCN_VERSION_4_01 || version == DCN_VERSION_3_2 || version == DCN_VERSION_3_21, - .do_clear_update_flags = version >= DCN_VERSION_3_2 || version == DCN_VERSION_3_01, + .do_clear_update_flags = version >= DCN_VERSION_1_0, };return scratch;
Signature · 1 line
2.52.0
PATCH 6/13 drm/amd/display: add setup_stereo for dcn4x or later
In reply to Aurabindo PillaiFrom: Charlene Liu <[email protected]>
[why]stereo_sync pin is removed, but we still support display stereo
--- drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 2 +- drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c +1 -1
@@ -3474,7 +3474,7 @@ void dcn10_set_static_screen_control(struct pipe_ctx **pipe_ctx, triggers, params->num_frames); } -static void dcn10_config_stereo_parameters ( +void dcn10_config_stereo_parameters (struct dc_stream_state *stream,struct crtc_stereo_flags *flags) {enum view_3d_format view_format = stream->view_format;
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.h +2 -0
@@ -217,5 +217,7 @@ void dcn10_update_visual_confirm_color(void dcn10_reset_surface_dcc_and_tiling (struct pipe_ctx *pipe_ctx,struct dc_plane_state *plane_state,bool clear_tiling); +void dcn10_config_stereo_parameters ( +struct dc_stream_state *stream,struct crtc_stereo_flags *flags);#endif /* __DC_HWSS_DCN10_H__ */
Signature · 1 line
2.52.0
PATCH 7/13 drm/amd/display: Remove unnecessary DC FP guard
In reply to Aurabindo PillaiFrom: Wayne Lin <[email protected]>
[Why & How]
For dcn2x_fast_validate_bw(), not only populate_dml_pipes needs FP guard but also dml_get_voltage_level().
Remove unnecessary DC_FP_START/DC_FP_END guard in dcn20_fast_validate_bw and dcn21_fast_validate_bw. FP guard is already there before calling dcn2x_validate_bandwidth_fp().
--- drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c | 2 -- drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c | 2 -- 2 files changed, 4 deletions(-)
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c +0 -2
@@ -2022,9 +2022,7 @@ bool dcn20_fast_validate_bw(dcn20_merge_pipes_for_validate (dc, context); -DC_FP_START (); pipe_cnt = dc->res_pool->funcs->populate_dml_pipes (dc, context, pipes, validate_mode); -DC_FP_END (); *pipe_cnt_out = pipe_cnt;
drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c +0 -2
@@ -785,9 +785,7 @@ bool dcn21_fast_validate_bw(struct dc *dc,dcn20_merge_pipes_for_validate (dc, context); -DC_FP_START (); pipe_cnt = dc->res_pool->funcs->populate_dml_pipes (dc, context, pipes, validate_mode); -DC_FP_END (); *pipe_cnt_out = pipe_cnt;
Signature · 1 line
2.52.0
PATCH 8/13 drm/amd/display: avoid dig reg access timeout on usb4 link training fail
In reply to Aurabindo PillaiFrom: Zhongwei <[email protected]>
[Why]
When usb4 link training fails, the dpia sym clock will be disabled and SYMCLK source should be changed back to phy clock. In enable_streams, it is assumed that link training succeeded and will switch from refclk to phy clock. But phy clk here might not be on. Dig reg access timeout will occur.
[How]
When enable_stream is hit, check if link training failed for usb4. If it did, fall back to the ref clock to avoid reg access timeout.
--- .../gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +10 -2
@@ -3058,9 +3058,17 @@ void dcn20_enable_stream(struct pipe_ctx *pipe_ctx) dccg->funcs->enable_symclk32_se (dccg, dp_hpo_inst, phyd32clk); } }else { -if (dccg->funcs->enable_symclk_se) - dccg->funcs->enable_symclk_se (dccg, stream_enc->stream_enc_inst, +if (dccg->funcs->enable_symclk_se && link_enc) { +if (link->ep_type ==DISPLAY_ENDPOINT_USB4_DPIA + && link->cur_link_settings.link_rate ==LINK_RATE_UNKNOWN + && !link->link_status.link_active) { +if (dccg->funcs->disable_symclk_se) + dccg->funcs->disable_symclk_se (dccg, stream_enc->stream_enc_inst, link_enc->transmitter -TRANSMITTER_UNIPHY_A ); + }else + dccg->funcs->enable_symclk_se (dccg, stream_enc->stream_enc_inst, + link_enc->transmitter -TRANSMITTER_UNIPHY_A ); + } }if (dc->res_pool->dccg->funcs->set_pixel_rate_div)
Signature · 1 line
2.52.0
PATCH 9/13 drm/amd/display: Add debug flag to override min dispclk
In reply to Aurabindo PillaiFrom: Michael Strauss <[email protected]>
[WHY]
Enable dynamic ODM testing without needing a valid dispclk table
[HOW]
Create a debug flag to specify an override value for min dispclk
--- drivers/gpu/drm/amd/display/dc/dc.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
@@ -1210,6 +1210,7 @@ struct dc_debug_options {bool disable_deferred_minimal_transitions;unsigned int num_fast_flips_to_steady_state_override;bool enable_dmu_recovery; +unsigned int force_vmin_threshold; };
Signature · 1 line
2.52.0
PATCH 10/13 drm/amd/display: mouse event trigger to boost RR when idle
In reply to Aurabindo PillaiFrom: Muaaz Nisar <[email protected]>
[WHY+HOW]
Add trigger event to boost refresh rate on mouse movement.
--- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 13 +++++++++++++ 1 file changed, 13 insertions(+)
drivers/gpu/drm/amd/display/dc/core/dc_stream.c +13 -0
@@ -515,6 +515,19 @@ bool dc_stream_program_cursor_position( } } +/* apply manual trigger */ +int i; + +for (i =0 ; i < dc->res_pool->pipe_count; i++) { +struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; + +/* trigger event on first pipe with current stream */ +if (stream == pipe_ctx->stream) { + pipe_ctx->stream_res.tg->funcs->program_manual_trigger (pipe_ctx->stream_res.tg); +break ; + } + } +return true; }
Signature · 1 line
2.52.0
PATCH 11/13 drm/amd/display: Migrate HUBBUB register access from hwseq to hubbub component.
In reply to Aurabindo PillaiFrom: Bhuvanachandra Pinninti <[email protected]>
[why]
Direct HUBBUB register access in the hwseq layer was creating register conflicts.
[how]
Migrated HUBBUB registers from hwseq to the hubbub component.
--- .../amd/display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 ++++++++++++++++++ .../amd/display/dc/hubbub/dcn10/dcn10_hubbub.h | 4 ++++ .../amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 3 +-- .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 4 ++-- .../amd/display/dc/hwss/dcn201/dcn201_hwseq.c | 1 + .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 1 + .../amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 1 + .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 1 + 8 files changed, 29 insertions(+), 4 deletions(-)
drivers/gpu/drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.c +18 -0
@@ -944,3 +944,21 @@ void hubbub1_construct(struct hubbub *hubbub, hubbub1->debug_test_index_pstate =0xB ; } +void dcn10_hubbub_global_timer_enable (struct hubbub *hubbub,bool enable,uint32_t refdiv) +{ +struct dcn10_hubbub *hubbub1 =TO_DCN10_HUBBUB (hubbub); + +if (refdiv >0 ) +REG_UPDATE (DCHUBBUB_GLOBAL_TIMER_CNTL ,DCHUBBUB_GLOBAL_TIMER_REFDIV , refdiv); + +REG_UPDATE (DCHUBBUB_GLOBAL_TIMER_CNTL ,DCHUBBUB_GLOBAL_TIMER_ENABLE , enable ?1 :0 ); +} + +void dcn10_hubbub_read_fb_aperture (struct hubbub *hubbub,uint32_t *fb_base_value,uint32_t *fb_offset_value) +{ +struct dcn10_hubbub *hubbub1 =TO_DCN10_HUBBUB (hubbub); + +REG_GET (DCHUBBUB_SDPIF_FB_BASE ,SDPIF_FB_BASE , fb_base_value); +REG_GET (DCHUBBUB_SDPIF_FB_OFFSET ,SDPIF_FB_OFFSET , fb_offset_value); +} +
drivers/gpu/drm/amd/display/dc/hubbub/dcn10/dcn10_hubbub.h +4 -0
@@ -519,4 +519,8 @@ bool hubbub1_program_pstate_watermarks(unsigned int refclk_mhz, bool safe_to_lower); +void dcn10_hubbub_global_timer_enable (struct hubbub *hubbub,bool enable,uint32_t refdiv); + +void dcn10_hubbub_read_fb_aperture (struct hubbub *hubbub,uint32_t *fb_base_value,uint32_t *fb_offset_value); +#endif
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c +1 -2
@@ -2678,8 +2678,7 @@ static void mmhub_read_vm_context0_settings(struct dcn10_hubp *hubp1,uint32_t fb_base_value;uint32_t fb_offset_value; -REG_GET (DCHUBBUB_SDPIF_FB_BASE ,SDPIF_FB_BASE , &fb_base_value); -REG_GET (DCHUBBUB_SDPIF_FB_OFFSET ,SDPIF_FB_OFFSET , &fb_offset_value); +dcn10_hubbub_read_fb_aperture (hws->ctx->dc->res_pool->hubbub, &fb_base_value, &fb_offset_value);REG_GET (VM_CONTEXT0_PAGE_TABLE_BASE_ADDR_HI32 ,PAGE_DIRECTORY_ENTRY_HI32 , &vm0->pte_base.high_part);
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +2 -2
@@ -46,6 +46,7 @@#include "dchubbub.h" #include "reg_helper.h" #include "dcn10/dcn10_cm_common.h" +#include "dcn10/dcn10_hubbub.h" #include "vm_helper.h" #include "dccg.h" #include "dc_dmub_srv.h"
@@ -3153,8 +3154,7 @@ void dcn20_fpga_init_hw(struct dc *dc)REG_WRITE (RBBMIF_TIMEOUT_DIS ,0xFFFFFFFF );REG_WRITE (RBBMIF_TIMEOUT_DIS_2 ,0xFFFFFFFF ); -REG_UPDATE (DCHUBBUB_GLOBAL_TIMER_CNTL ,DCHUBBUB_GLOBAL_TIMER_REFDIV ,2 ); -REG_UPDATE (DCHUBBUB_GLOBAL_TIMER_CNTL ,DCHUBBUB_GLOBAL_TIMER_ENABLE ,1 ); +dcn10_hubbub_global_timer_enable (dc->res_pool->hubbub, true,2 );if (REG (REFCLK_CNTL ))REG_WRITE (REFCLK_CNTL ,0 );//
drivers/gpu/drm/amd/display/dc/hwss/dcn201/dcn201_hwseq.c +1 -0
@@ -39,6 +39,7 @@#include "dccg.h" #include "clk_mgr.h" #include "reg_helper.h" +#include "dcn10/dcn10_hubbub.h" #define CTX \ hws->ctx
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c +1 -0
@@ -36,6 +36,7 @@#include "dcn10/dcn10_cm_common.h" #include "dcn30/dcn30_cm_common.h" #include "reg_helper.h" +#include "dcn10/dcn10_hubbub.h" #include "abm.h" #include "clk_mgr.h" #include "hubp.h"
drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c +1 -0
@@ -32,6 +32,7 @@#include "dce/dce_hwseq.h" #include "clk_mgr.h" #include "reg_helper.h" +#include "dcn10/dcn10_hubbub.h" #include "abm.h" #include "hubp.h" #include "dchubbub.h"
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c +1 -0
@@ -32,6 +32,7 @@#include "dce/dce_hwseq.h" #include "clk_mgr.h" #include "reg_helper.h" +#include "dcn10/dcn10_hubbub.h" #include "abm.h" #include "hubp.h" #include "dchubbub.h"
Signature · 1 line
2.52.0
PATCH 12/13 drm/amd/display: [FW Promotion] Release 0.1.44.0
In reply to Aurabindo PillaiFrom: Taimur Hassan <[email protected]>
* Panel Replay related features/bugfixes
* BootCRC feature
--- .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 55 +++++++++++++++++-- 1 file changed, 49 insertions(+), 6 deletions(-)
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h +49 -6
@@ -139,6 +139,33 @@*/ #define DMUB_CMD_PSR_CONTROL_VERSION_1 0x1 +/** +* +* dirty rect cmd version legacy +*/ +#define DMUB_CMD_DIRTY_RECTS_VERSION_UNKNOWN 0x0 +/** +* dirty rect cmd version with multi edp support +*/ +#define DMUB_CMD_DIRTY_RECTS_VERSION_1 0x1 +/** +* dirty rect cmd version with external monitor support +*/ +#define DMUB_CMD_DIRTY_RECTS_VERSION_2 0x2 + +/** +* +* Cursor update cmd version legacy +*/ +#define DMUB_CMD_CURSOR_UPDATE_VERSION_UNKNOWN 0x0 +/** +* Cursor update cmd version with multi edp support +*/ +#define DMUB_CMD_CURSOR_UPDATE_VERSION_1 0x1 +/** +* Cursor update cmd version with external monitor support +*/ +#define DMUB_CMD_CURSOR_UPDATE_VERSION_2 0x2/** * ABM control version legacy
@@ -3929,7 +3956,7 @@ struct dmub_cmd_update_dirty_rect_data {*/ union dmub_psr_su_debug_flags debug_flags;/** -* OTG HW instance. +* Pipe index. */ uint8_t pipe_idx;/**
@@ -3937,7 +3964,7 @@ struct dmub_cmd_update_dirty_rect_data {*/ uint8_t dirty_rect_count;/** -* PSR control version. +* dirty rects cmd version. */ uint8_t cmd_version;/**
@@ -3946,6 +3973,14 @@ struct dmub_cmd_update_dirty_rect_data {* Currently the support is only for 0 or 1 */ uint8_t panel_inst; +/** +* OTG HW instance +*/ +uint8_t otg_inst; +/** +* Padding for 4 byte alignment +*/ +uint8_t padding[3 ]; };/**
@@ -4071,11 +4106,11 @@ struct dmub_cmd_update_cursor_payload0 {*/ uint8_t enable;/** -* OTG HW instance. +* Pipe index. */ uint8_t pipe_idx;/** -* PSR control version. +* Cursor update cmd version. */ uint8_t cmd_version;/**
@@ -4089,6 +4124,14 @@ struct dmub_cmd_update_cursor_payload0 {* Registers contains Hubp & Dpp modules */ struct dmub_cursor_position_cfg position_cfg; +/** +* OTG HW instance +*/ +uint8_t otg_inst; +/** +* Padding for 4 byte alignment +*/ +uint8_t padding[3 ]; };struct dmub_cmd_update_cursor_payload1 {
@@ -6641,9 +6684,9 @@ struct dmub_cmd_pr_copy_settings_data {*/ uint8_t su_y_granularity;/** -* @pad: Align structure to 4 byte boundary. +* @main_link_activity_option: Indicates main link activity option selected */ -uint8_t pad; +uint8_t main_link_activity_option; };/**
Signature · 1 line
2.52.0
PATCH 13/13 drm/amd/display: Promote DC to 3.2.367
In reply to Aurabindo PillaiFrom: Taimur Hassan <[email protected]>
* Fw release 0.1.44.0
* Fixes for corruption on platforms older than DCN4x.
* Bug fixes related to USB4 link training
* Fixes related to FP guard
* Debug helpers and other stability fixes.
* Some refactors to improve code quality
--- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dc.h +1 -1
@@ -63,7 +63,7 @@ struct dcn_dsc_reg_state;struct dcn_optc_reg_state ;struct dcn_dccg_reg_state ; -#define DC_VER "3.2.366" +#define DC_VER "3.2.367"/** * MAX_SURFACES - representative of the upper bound of surfaces that can be piped to a single CRTC
Signature · 1 line
2.52.0
[Public]
Hi all,
This week this patchset was tested on 4 systems, two dGPU and two APU based, and tested across multiple display and connection types.
APU
* Single Display eDP -> 1080p 60hz, 1920x1200 165hz, 3840x2400 60hz
* Single Display DP (SST DSC) -> 4k144hz, 4k240hz
* Multi display -> eDP + DP/HDMI/USB-C -> 1080p 60hz eDP + 4k 144hz, 4k 240hz (Includes USB-C to DP/HDMI adapters)
* Thunderbolt -> LG Ultrafine 5k
* MST DSC -> Cable Matters 101075 (DP to 3x DP) with 3x 4k60hz displays, HP Hook G2 with 2x 4k60hz displays
* USB 4 -> HP Hook G4, Lenovo Thunderbolt Dock, both with 2x 4k60hz DP and 1x 4k60hz HDMI displays
* SST PCON -> Club3D CAC-1085 + 1x 4k 144hz, FRL3, at a max resolution supported by the dongle of 4k 120hz YUV420 12bpc.
* MST PCON -> 1x 4k 144hz, FRL3, at a max resolution supported by the adapter of 4k 120hz RGB 8bpc.
DGPU
* Single Display DP (SST DSC) -> 4k144hz, 4k240hz
* Multiple Display DP -> 4k240hz + 4k144hz
* MST (Startech MST14DP123DP [DP to 3x DP] and 2x 4k 60hz displays)
* MST DSC (with Cable Matters 101075 [DP to 3x DP] with 3x 4k60hz displays)
The testing is a mix of automated and manual tests. Manual testing includes (but is not limited to)
* Changing display configurations and settings
* Video/Audio playback
* Benchmark testing
* Suspend/Resume testing
* Feature testing (Freesync, HDCP, etc.)
Automated testing includes (but is not limited to)
* Script testing (scripts to automate some of the manual checks)
* IGT testing
The testing is mainly tested on the following displays, but occasionally there are tests with other displays
* Samsung G8 Neo 4k240hz
* Samsung QN55QN95B 4k 120hz
* Acer XV322QKKV 4k144hz
* HP U27 4k Wireless 4k60hz
* LG 27UD58B 4k60hz
* LG 32UN650WA 4k60hz
* LG Ultrafine 5k 5k60hz
* AU Optronics B140HAN01.1 1080p 60hz eDP
* AU Optronics B160UAN01.J 1920x1200 165hz eDP
* Samsung ATNA60YV02-0 3840x2400 60Hz OLED eDP
The patchset consists of the amd-staging-drm-next branch (Head commit - 82063f2a46b33313b089e5a182789ea337bc95ee -> drm/amd/display: extend delta clamping logic to CM3 LUT helper) with new patches added on top of it.
Tested on Ubuntu 24.04.3, on Wayland and X11, using Gnome.
Thank you,
Dan Wheeler
Sr. Technologist | AMD
SW Display
------------------------------------------------------------------------------------------------------------------
1 Commerce Valley Dr E, Thornhill, ON L3T 7X6
amd.com
-----Original Message-----
From: Aurabindo Pillai <[email protected]>
Sent: Wednesday, January 21, 2026 5:32 PM
To: [email protected]
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Pillai, Aurabindo <[email protected]>; Li, Roman <[email protected]>; Lin, Wayne <[email protected]>; Chung, ChiaHsuan (Tom) <[email protected]>; Zuo, Jerry <[email protected]>; Wheeler, Daniel <[email protected]>; Wu, Ray <[email protected]>; LIPSKI, IVAN <[email protected]>; Hung, Alex <[email protected]>
Subject: [PATCH 00/13] DC Patches for 26 Jan 2026
DC v3.2.367
* Fw release 0.1.44.0
* Fixes for corruption on platforms older than DCN4x.
* Bug fixes related to USB4 link training
* Fixes related to FP guard
* Debug helpers and other stability fixes.
* Some refactors to improve code quality
---
Aurabindo Pillai (1):
drm/amd/display: perform clear update flags for all DCN asics
Bhuvanachandra Pinninti (1):
drm/amd/display: Migrate HUBBUB register access from hwseq to hubbub
component.
Charlene Liu (2):
drm/amd/display: Enable vstateup hook for DCN401 to be reused drm/amd/display: add setup_stereo for dcn4x or later
Jack Chang (1):
drm/amd/display: Add FR skipping CTS functions
Matthew Stewart (1):
drm/amd/display: Fix GFX12 family constant checks
Michael Strauss (1):
drm/amd/display: Add debug flag to override min dispclk
Muaaz Nisar (1):
drm/amd/display: mouse event trigger to boost RR when idle
Taimur Hassan (2):
drm/amd/display: [FW Promotion] Release 0.1.44.0 drm/amd/display: Promote DC to 3.2.367
Wayne Lin (2):
drm/amd/display: Enable bootcrc on FW side
drm/amd/display: Remove unnecessary DC FP guard
Zhongwei (1):
drm/amd/display: avoid dig reg access timeout on usb4 link training
fail
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +- .../gpu/drm/amd/display/dc/core/dc_stream.c | 13 +++++ drivers/gpu/drm/amd/display/dc/dc.h | 3 +- .../display/dc/hubbub/dcn10/dcn10_hubbub.c | 18 ++++++ .../display/dc/hubbub/dcn10/dcn10_hubbub.h | 4 ++ .../amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 5 +- .../amd/display/dc/hwss/dcn10/dcn10_hwseq.h | 2 + .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 16 ++++-- .../amd/display/dc/hwss/dcn201/dcn201_hwseq.c | 1 + .../amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 1 + .../amd/display/dc/hwss/dcn31/dcn31_hwseq.c | 1 + .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c | 1 + .../dc/resource/dcn20/dcn20_resource.c | 2 - .../dc/resource/dcn21/dcn21_resource.c | 2 - .../dc/resource/dcn401/dcn401_resource.c | 2 +- .../dc/resource/dcn401/dcn401_resource.h | 2 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 55 +++++++++++++++++-- .../gpu/drm/amd/display/dmub/src/dmub_dcn35.c | 3 + .../gpu/drm/amd/display/include/dpcd_defs.h | 1 + 21 files changed, 117 insertions(+), 23 deletions(-)
--
2.52.0