DC Patches May 02, 2023
Subsystems (5)
cover DC Patches May 02, 2023
This DC patchset brings improvements in multiple areas. In summary, we highlight:
* Block SubVP on displays that have pixclk > 1800Mhz
* Block SubVP high refresh when VRR active fixed
* Enforce 60us prefetch for 200Mhz DCFCLK modes
* Check Vactive for VRR active for FPO + Vactive
* Add symclk workaround during disable link output
* Show the DCN/DCE version in the log
* Add additional pstate registers to HW state query
Alvin Lee (4):
drm/amd/display: Check Vactive for VRR active for FPO + Vactive drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes drm/amd/display: Block SubVP high refresh when VRR active fixed drm/amd/display: Block SubVP on displays that have pixclk > 1800Mhz
Aric Cyr (1):
drm/amd/display: Promote DAL to 3.2.235
Leo Chen (1):
drm/amd/display: Add symclk workaround during disable link output
Rodrigo Siqueira (1):
drm/amd/display: Show the DCN/DCE version in the log
Sung Lee (1):
drm/amd/display: Add additional pstate registers to HW state query
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 5 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_helper.c | 56 ++++++++++++++++ drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 + .../gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 2 + .../drm/amd/display/dc/dcn20/dcn20_hubbub.c | 6 ++ .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 6 ++ .../drm/amd/display/dc/dcn314/dcn314_hwseq.c | 65 +++++++++++++++++++ .../drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 + .../drm/amd/display/dc/dcn314/dcn314_init.c | 2 +- .../drm/amd/display/dc/dcn32/dcn32_resource.h | 1 + drivers/gpu/drm/amd/display/dc/dm_services.h | 2 + .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 10 ++- .../dc/dml/dcn32/display_mode_vba_32.c | 5 +- .../dc/dml/dcn32/display_mode_vba_32.h | 1 + .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 2 + 17 files changed, 164 insertions(+), 8 deletions(-)
Signature · 1 line
2.40.0
PATCH 1/8 drm/amd/display: Add additional pstate registers to HW state query
From: Sung Lee <[email protected]>
[WHY]
These registers would be useful to know when debugging pstate issues.
[HOW]
Add additional registers to hw state query.
--- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 2 ++ drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c | 6 ++++++ drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 6 ++++++ drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 2 ++ 4 files changed, 16 insertions(+)
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h +2 -0
@@ -690,6 +690,8 @@ struct dcn_hubp_state {uint32_t primary_surface_addr_hi;uint32_t primary_meta_addr_lo;uint32_t primary_meta_addr_hi; +uint32_t uclk_pstate_force; +uint32_t hubp_cntl; };struct dcn10_hubp {
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c +6 -0
@@ -628,6 +628,12 @@ void hubbub2_read_state(struct hubbub *hubbub, struct dcn_hubbub_state *hubbub_sREG_WRITE (DCHUBBUB_TEST_DEBUG_INDEX ,0x6 ); hubbub_state->test_debug_data =REG_READ (DCHUBBUB_TEST_DEBUG_DATA ); } + +if (REG (DCHUBBUB_ARB_WATERMARK_CHANGE_CNTL )) + hubbub_state->watermark_change_cntl =REG_READ (DCHUBBUB_ARB_WATERMARK_CHANGE_CNTL ); + +if (REG (DCHUBBUB_ARB_DRAM_STATE_CNTL )) + hubbub_state->dram_state_cntl =REG_READ (DCHUBBUB_ARB_DRAM_STATE_CNTL ); }static const struct hubbub_funcs hubbub2_funcs = {
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c +6 -0
@@ -449,6 +449,12 @@ void hubp3_read_state(struct hubp *hubp)SWATH_HEIGHT_C , &rq_regs->rq_regs_c.swath_height, PTE_ROW_HEIGHT_LINEAR_C, &rq_regs->rq_regs_c.pte_row_height_linear); +if (REG (UCLK_PSTATE_FORCE )) + s->uclk_pstate_force =REG_READ (UCLK_PSTATE_FORCE ); + +if (REG (DCHUBP_CNTL )) + s->hubp_cntl =REG_READ (DCHUBP_CNTL ); + } void hubp3_setup(
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h +2 -0
@@ -112,6 +112,8 @@ struct dcn_hubbub_state {uint32_t vm_error_pipe;uint32_t vm_error_mode;uint32_t test_debug_data; +uint32_t watermark_change_cntl; +uint32_t dram_state_cntl; };struct hubbub_funcs {
Signature · 1 line
2.40.0
PATCH 2/8 drm/amd/display: Show the DCN/DCE version in the log
In reply to Alex HungFrom: Rodrigo Siqueira <[email protected]>
Some times people send their dmesg log for debugging, and one common task is to check the modesetting line to catch which DCN/DCE we need to debug. This commit introduces a simple conversion from the DCN/DCE version to a string shown in the dmesg log.
--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/dc_helper.c | 56 +++++++++++++++++++ drivers/gpu/drm/amd/display/dc/dm_services.h | 2 + 3 files changed, 60 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
@@ -1666,7 +1666,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev) adev->dm.dc =dc_create (&init_data);if (adev->dm.dc) { -DRM_INFO ("Display Core initialized with v%s!\n" ,DC_VER ); +DRM_INFO ("Display Core initialized with v%s! %s\n" ,DC_VER , +dce_version_to_string (adev->dm.dc->ctx->dce_version)); }else {DRM_INFO ("Display Core failed to initialize with v%s!\n" ,DC_VER ); goto error;
drivers/gpu/drm/amd/display/dc/dc_helper.c +56 -0
59 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dm_services.h +2 -0
@@ -292,4 +292,6 @@ void dm_dtn_log_append_v(struct dc_context *ctx,void dm_dtn_log_end (struct dc_context *ctx,struct dc_log_buffer_ctx *log_ctx); +char *dce_version_to_string (const int version); +#endif /* __DM_SERVICES_H__ */
Signature · 1 line
2.40.0
PATCH 3/8 drm/amd/display: Add symclk workaround during disable link output
In reply to Alex HungFrom: Leo Chen <[email protected]>
[Why & How]
This is originally a change (9c75891f) in DCN32 because of the lack of interface to set TX while keeping symclk on. Adding this workaround to DCN314 will resolve the current issue.
--- .../drm/amd/display/dc/dcn314/dcn314_hwseq.c | 65 +++++++++++++++++++ .../drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 + .../drm/amd/display/dc/dcn314/dcn314_init.c | 2 +- 3 files changed, 68 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.c +65 -0
@@ -421,3 +421,68 @@ void dcn314_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, boolPERF_TRACE (); } +static void apply_symclk_on_tx_off_wa (struct dc_link *link) +{ +/* There are use cases where SYMCLK is referenced by OTG. For instance +* for TMDS signal, OTG relies SYMCLK even if TX video output is off. +* However current link interface will power off PHY when disabling link +* output. This will turn off SYMCLK generated by PHY. The workaround is +* to identify such case where SYMCLK is still in use by OTG when we +* power off PHY. When this is detected, we will temporarily power PHY +* back on and move PHY's SYMCLK state to SYMCLK_ON_TX_OFF by calling +* program_pix_clk interface. When OTG is disabled, we will then power +* off PHY by calling disable link output again. +* +* In future dcn generations, we plan to rework transmitter control +* interface so that we could have an option to set SYMCLK ON TX OFF +* state in one step without this workaround +*/ + +struct dc *dc = link->ctx->dc; +struct pipe_ctx *pipe_ctx =NULL ; +uint8_t i; + +if (link->phy_state.symclk_ref_cnts.otg >0 ) { +for (i =0 ; i <MAX_PIPES ; i++) { + pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; +if (pipe_ctx->stream && pipe_ctx->stream->link == link && pipe_ctx->top_pipe ==NULL ) { + pipe_ctx->clock_source->funcs->program_pix_clk ( + pipe_ctx->clock_source, + &pipe_ctx->stream_res.pix_clk_params, + dc->link_srv->dp_get_encoding_format ( + &pipe_ctx->link_config.dp_link_settings), + &pipe_ctx->pll_settings); + link->phy_state.symclk_state =SYMCLK_ON_TX_OFF ; +break ; + } + } + } +} + +void dcn314_disable_link_output (struct dc_link *link, +const struct link_resource *link_res, +enum signal_type signal) +{ +struct dc *dc = link->ctx->dc; +const struct link_hwss *link_hwss =get_link_hwss (link, link_res); +struct dmcu *dmcu = dc->res_pool->dmcu; + +if (signal ==SIGNAL_TYPE_EDP && + link->dc->hwss.edp_backlight_control) + link->dc->hwss.edp_backlight_control (link, false); +else if (dmcu !=NULL && dmcu->funcs->lock_phy) + dmcu->funcs->lock_phy (dmcu); + + link_hwss->disable_link_output (link, link_res, signal); + link->phy_state.symclk_state =SYMCLK_OFF_TX_OFF ; +/* +* Add the logic to extract BOTH power up and power down sequences +* from enable/disable link output and only call edp panel control +* in enable_link_dp and disable_link_dp once. +*/ +if (dmcu !=NULL && dmcu->funcs->lock_phy) + dmcu->funcs->unlock_phy (dmcu); + dc->link_srv->dp_trace_source_sequence (link,DPCD_SOURCE_SEQ_AFTER_DISABLE_LINK_PHY ); + +apply_symclk_on_tx_off_wa (link); +}
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_hwseq.h +2 -0
@@ -45,4 +45,6 @@ void dcn314_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, boolvoid dcn314_dpp_root_clock_control (struct dce_hwseq *hws,unsigned int dpp_inst,bool clock_on); +void dcn314_disable_link_output (struct dc_link *link,const struct link_resource *link_res,enum signal_type signal); +#endif /* __DC_HWSS_DCN314_H__ */
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_init.c +1 -1
@@ -106,7 +106,7 @@ static const struct hw_sequencer_funcs dcn314_funcs = { .enable_lvds_link_output = dce110_enable_lvds_link_output, .enable_tmds_link_output = dce110_enable_tmds_link_output, .enable_dp_link_output = dce110_enable_dp_link_output, - .disable_link_output = dce110_disable_link_output, + .disable_link_output = dcn314_disable_link_output, .z10_restore = dcn31_z10_restore, .z10_save_init = dcn31_z10_save_init, .set_disp_pattern_generator = dcn30_set_disp_pattern_generator,
Signature · 1 line
2.40.0
PATCH 4/8 drm/amd/display: Check Vactive for VRR active for FPO + Vactive
In reply to Alex HungFrom: Alvin Lee <[email protected]>
[Description]
- For FPO + Vactive cases, we rely on the Vactive display to be at it's nominal refresh rate because the Vactive pipe may not necessarily assert P-State allow while it's in VBLANK
- For cases where the Vactive display has a stretched VBLANK due to VRR, we could underflow when trying to complete an FPO + Vactive MCLK switch because the FPO display has limited VBLANK time in waiting for the Vactive display to assert P-State allow naturally
- Block FPO + Vactive if the Vactive display has VRR active (variable or fixed)
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 5 ++++- drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 ++ drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +4 -1
@@ -2604,7 +2604,7 @@ static enum surface_update_type check_update_surfaces_for_stream(if (stream_update->stream && stream_update->stream->freesync_on_desktop && (stream_update->vrr_infopacket || stream_update->allow_freesync || - stream_update->vrr_active_variable)) + stream_update->vrr_active_variable || stream_update->vrr_active_fixed)) su_flags->bits.fams_changed =1 ;if (su_flags->raw !=0 )
@@ -2964,6 +2964,9 @@ static void copy_stream_update_to_stream(struct dc *dc,if (update->vrr_active_variable) stream->vrr_active_variable = *update->vrr_active_variable; +if (update->vrr_active_fixed) + stream->vrr_active_fixed = *update->vrr_active_fixed; +if (update->crtc_timing_adjust) stream->adjust = *update->crtc_timing_adjust;
drivers/gpu/drm/amd/display/dc/dc_stream.h +2 -0
@@ -233,6 +233,7 @@ struct dc_stream_state {*/ bool vrr_active_variable;bool freesync_on_desktop; +bool vrr_active_fixed;bool converter_disable_audio;uint8_t qs_bit;
@@ -326,6 +327,7 @@ struct dc_stream_update {bool integer_scaling_update;bool *allow_freesync;bool *vrr_active_variable; +bool *vrr_active_fixed;struct colorspace_transform *gamut_remap;enum dc_color_space *output_color_space;
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +6 -1
@@ -35,6 +35,7 @@#define DC_LOGGER_INIT (logger) +static const unsigned int MAX_FPO_VACTIVE_BLANK_US =600 ;static const struct subvp_high_refresh_list subvp_high_refresh_list = { .min_refresh =120 , .max_refresh =165 ,
@@ -2924,6 +2925,7 @@ bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uintunsigned int i, pipe_idx;const struct vba_vars_st *vba = &context->bw_ctx.dml.vba;bool vactive_found = false; +unsigned int blank_us =0 ;for (i =0 , pipe_idx =0 ; i < dc->res_pool->pipe_count; i++) {const struct pipe_ctx *pipe = &context->res_ctx.pipe_ctx[i];
@@ -2931,7 +2933,10 @@ bool dcn32_find_vactive_pipe(struct dc *dc, const struct dc_state *context, uintif (!pipe->stream)continue ; -if (vba->ActiveDRAMClockChangeLatencyMarginPerState[vba->VoltageLevel][vba->maxMpcComb][vba->pipe_plane[pipe_idx]] >= vactive_margin_req_us) { + blank_us = ((pipe->stream->timing.v_total - pipe->stream->timing.v_addressable) * pipe->stream->timing.h_total / + (double )(pipe->stream->timing.pix_clk_100hz *100 )) *1000000 ; +if (vba->ActiveDRAMClockChangeLatencyMarginPerState[vba->VoltageLevel][vba->maxMpcComb][vba->pipe_plane[pipe_idx]] >= vactive_margin_req_us && + !(pipe->stream->vrr_active_variable || pipe->stream->vrr_active_fixed) && blank_us <MAX_FPO_VACTIVE_BLANK_US ) { vactive_found = true;break ; }
Signature · 1 line
2.40.0
PATCH 5/8 drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes
In reply to Alex HungFrom: Alvin Lee <[email protected]>
[Description]
- Due to bandwidth / arbitration issues at 200Mhz DCFCLK, we want to enforce minimum 60us of prefetch to avoid intermittent underflow issues
- Since 60us prefetch is already enforced for UCLK DPM0, and many DCFCLK's > 200Mhz are mapped to UCLK DPM1, in theory there should not be any UCLK DPM regressions by enforcing greater prefetch
--- .../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c | 5 +++-- .../gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.c +3 -2
@@ -810,7 +810,8 @@ static void DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerforman v->SwathHeightY[k], v->SwathHeightC[k], TWait, - v->DRAMSpeedPerState[mode_lib->vba.VoltageLevel] <=MEM_STROBE_FREQ_MHZ ? + (v->DRAMSpeedPerState[mode_lib->vba.VoltageLevel] <=MEM_STROBE_FREQ_MHZ || + v->DCFCLKPerState[mode_lib->vba.VoltageLevel] <=MIN_DCFCLK_FREQ_MHZ ) ? mode_lib->vba.ip.min_prefetch_in_strobe_us :0 ,/* Output */ &v->DSTXAfterScaler[k],
@@ -3314,7 +3315,7 @@ void dml32_ModeSupportAndSystemConfigurationFull(struct display_mode_lib *mode_l v->swath_width_chroma_ub_this_state[k], v->SwathHeightYThisState[k], v->SwathHeightCThisState[k], v->TWait, - v->DRAMSpeedPerState[i] <=MEM_STROBE_FREQ_MHZ ? + (v->DRAMSpeedPerState[i] <=MEM_STROBE_FREQ_MHZ || v->DCFCLKState[i][j] <=MIN_DCFCLK_FREQ_MHZ ) ? mode_lib->vba.ip.min_prefetch_in_strobe_us : 0,/* Output */
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_32.h +1 -0
@@ -53,6 +53,7 @@#define BPP_BLENDED_PIPE 0xffffffff#define MEM_STROBE_FREQ_MHZ 1600 +#define MIN_DCFCLK_FREQ_MHZ 200#define MEM_STROBE_MAX_DELIVERY_TIME_US 60.0struct display_mode_lib ;
Signature · 1 line
2.40.0
PATCH 6/8 drm/amd/display: Block SubVP high refresh when VRR active fixed
In reply to Alex HungFrom: Alvin Lee <[email protected]>
[Description]
- SubVP high refresh is blocked when VRR is active variable, but we should also block it for when VRR is active fixed (video use case)
--- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +1 -1
@@ -2825,7 +2825,7 @@ bool dcn32_allow_subvp_high_refresh_rate(struct dc *dc, struct dc_state *contextuint32_t i;if (!dc->debug.disable_subvp_high_refresh && pipe->stream && - pipe->plane_state && !pipe->stream->vrr_active_variable) { + pipe->plane_state && !(pipe->stream->vrr_active_variable || pipe->stream->vrr_active_fixed)) { refresh_rate = (pipe->stream->timing.pix_clk_100hz *100 + pipe->stream->timing.v_total * pipe->stream->timing.h_total -1 ) / (double )(pipe->stream->timing.v_total * pipe->stream->timing.h_total);
Signature · 1 line
2.40.0
PATCH 7/8 drm/amd/display: Block SubVP on displays that have pixclk > 1800Mhz
In reply to Alex HungFrom: Alvin Lee <[email protected]>
[Description]
- Enabling SubVP on high refresh rate displays had a side effect of also enabling on high bandwidth displays such as 8K60
- However, these are not validated and should be blocked for the time being
- Block SubVP on displays that have pix rate > 1800Mhz (includes 8K60 displays)
--- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h | 1 + drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 1 + 2 files changed, 2 insertions(+)
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.h +1 -0
@@ -41,6 +41,7 @@#define DCN3_2_DCFCLK_DS_INIT_KHZ 10000 // Choose 10Mhz for init DCFCLK DS freq#define DCN3_2_MIN_ACTIVE_SWITCH_MARGIN_FPO_US 100 // Only allow FPO + Vactive if active margin >= 100#define SUBVP_HIGH_REFRESH_LIST_LEN 3 +#define DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ 1800#define TO_DCN32_RES_POOL (pool)\ container_of(pool, struct dcn32_resource_pool, base)
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c +1 -0
@@ -703,6 +703,7 @@ static bool dcn32_assign_subvp_pipe(struct dc *dc,* - Not TMZ surface */ if (pipe->plane_state && !pipe->top_pipe && !dcn32_is_center_timing(pipe) && + !(pipe->stream->timing.pix_clk_100hz / 10000 > DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ) && (!dcn32_is_psr_capable(pipe) || (context->stream_count == 1 && dc->caps.dmub_caps.subvp_psr)) && pipe->stream->mall_stream_config.type == SUBVP_NONE && (refresh_rate < 120 || dcn32_allow_subvp_high_refresh_rate(dc, context, pipe)) &&
Signature · 1 line
2.40.0
PATCH 8/8 drm/amd/display: Promote DAL to 3.2.235
In reply to Alex HungFrom: Aric Cyr <[email protected]>
This version brings along following fixes:
- Block SubVP on displays that have pixclk > 1800Mhz
- Block SubVP high refresh when VRR active fixed
- Enforce 60us prefetch for 200Mhz DCFCLK modes
- Check Vactive for VRR active for FPO + Vactive
- Add symclk workaround during disable link output
- Show the DCN/DCE version in the log
- Add additional pstate registers to HW state query
--- 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
@@ -45,7 +45,7 @@ struct aux_payload;struct set_config_cmd_payload ;struct dmub_notification ; -#define DC_VER "3.2.234" +#define DC_VER "3.2.235"#define MAX_SURFACES 3#define MAX_PLANES 6
Signature · 1 line
2.40.0
[Public]
Hi all,
This week this patchset was tested on the following systems:
Lenovo Thinkpad T14s Gen2, with AMD Ryzen 5 5650U
Lenovo Thinkpad T13s Gen4 with AMD Ryzen 5 6600U
Reference AMD RX6800
These systems were tested on the following display types:
eDP, (1080p 60hz [5650U]) (1920x1200 60hz [6600U]) (2560x1600 120hz[6600U]) VGA and DVI (1680x1050 60HZ [DP to VGA/DVI, USB-C to DVI/VGA]) DP/HDMI/USB-C (1440p 170hz, 4k 60hz, 4k 144hz [Includes USB-C to DP/HDMI adapters])
MST tested with Startech MST14DP123DP and 2x 4k 60Hz displays
DSC tested with Cable Matters 101075 (DP to 3x DP), and 201375 (USB-C to 3x DP) with 3x 4k60 displays HP Hook G2 with 1 and 2 4k60 Displays
The testing is a mix of automated and manual tests. Manual testing includes (but is not limited to):
Changing display configurations and settings
Benchmark testing
Feature testing (Freesync, etc.)
Automated testing includes (but is not limited to):
Script testing (scripts to automate some of the manual checks) IGT testing
The patchset consists of the amd-staging-drm-next branch (Head commit - 6bbcaa25b0c180dfb9c1a90155fc1cfe964f3e36 drm/amd/display: 3.2.234) with new patches added on top of it. This branch is used for both Ubuntu and Chrome OS testing (ChromeOS on a bi-weekly basis).
Tested on Ubuntu 22.04.1 and Chrome OS
Thank you,
Dan Wheeler
Sr. Technologist | AMD
SW Display
------------------------------------------------------------------------------------------------------------------
1 Commerce Valley Dr E, Thornhill, ON L3T 7X6
amd.com
-----Original Message-----
From: Hung, Alex <[email protected]>
Sent: May 2, 2023 9:39 PM
To: [email protected]
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Lakha, Bhawanpreet <[email protected]>; Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Zhuo, Qingqing (Lillian) <[email protected]>; Li, Roman <[email protected]>; Lin, Wayne <[email protected]>; Wang, Chao-kai (Stylon) <[email protected]>; Chiu, Solomon <[email protected]>; Kotarac, Pavle <[email protected]>; Gutierrez, Agustin <[email protected]>; Hung, Alex <[email protected]>; Wheeler, Daniel <[email protected]>
Subject: [PATCH 0/8] DC Patches May 02, 2023
This DC patchset brings improvements in multiple areas. In summary, we highlight:
* Block SubVP on displays that have pixclk > 1800Mhz
* Block SubVP high refresh when VRR active fixed
* Enforce 60us prefetch for 200Mhz DCFCLK modes
* Check Vactive for VRR active for FPO + Vactive
* Add symclk workaround during disable link output
* Show the DCN/DCE version in the log
* Add additional pstate registers to HW state query
Alvin Lee (4):
drm/amd/display: Check Vactive for VRR active for FPO + Vactive drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes drm/amd/display: Block SubVP high refresh when VRR active fixed drm/amd/display: Block SubVP on displays that have pixclk > 1800Mhz
Aric Cyr (1):
drm/amd/display: Promote DAL to 3.2.235
Leo Chen (1):
drm/amd/display: Add symclk workaround during disable link output
Rodrigo Siqueira (1):
drm/amd/display: Show the DCN/DCE version in the log
Sung Lee (1):
drm/amd/display: Add additional pstate registers to HW state query
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +- drivers/gpu/drm/amd/display/dc/core/dc.c | 5 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_helper.c | 56 ++++++++++++++++ drivers/gpu/drm/amd/display/dc/dc_stream.h | 2 + .../gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h | 2 + .../drm/amd/display/dc/dcn20/dcn20_hubbub.c | 6 ++ .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 6 ++ .../drm/amd/display/dc/dcn314/dcn314_hwseq.c | 65 +++++++++++++++++++ .../drm/amd/display/dc/dcn314/dcn314_hwseq.h | 2 + .../drm/amd/display/dc/dcn314/dcn314_init.c | 2 +- .../drm/amd/display/dc/dcn32/dcn32_resource.h | 1 + drivers/gpu/drm/amd/display/dc/dm_services.h | 2 + .../drm/amd/display/dc/dml/dcn32/dcn32_fpu.c | 10 ++- .../dc/dml/dcn32/display_mode_vba_32.c | 5 +- .../dc/dml/dcn32/display_mode_vba_32.h | 1 + .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 2 + 17 files changed, 164 insertions(+), 8 deletions(-)
--
2.40.0