Backport DC commits to fix display corruption
Subsystems (3)
cover Backport DC commits to fix display corruption
From: Carlo Caione <[email protected]>
Hi,
on several laptops [0] we are seeing display corruption when using multiple / external displays. We already opened an issue upstream [1].
The following 4 patches are taken from agd5f/amd-staging-drm-next and they seem able to solve the issue.
Can those be included in 4.15?
Thank you,
[0] Acer Aspire E5-553G (AMD FX-9800P RADEON R7)
Acer Aspire E5-523G (AMD E2-9010 RADEON R2)
Acer Aspire A315-21 (AMD A4-9120 RADEON R3)
Acer Aspire A515-41G (AMD A10-9620 RADEON R5)[1] https://bugs.freedesktop.org/show_bug.cgi?id=104319
Harry Wentland (1):
drm/amd/display: Both timing_sync and multisync need stream_count > 1
Leo (Sunpeng) Li (1):
drm/amd/display: Change frontend/backend programming sequence
Mikita Lipski (2):
drm/amd/display: Adding DCN1 registers drm/amd/display: Multi display synchronization logic
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 54 ++++- drivers/gpu/drm/amd/display/dc/core/dc.c | 60 ++++- drivers/gpu/drm/amd/display/dc/dc.h | 3 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 16 ++ .../amd/display/dc/dce110/dce110_hw_sequencer.c | 46 +++- .../display/dc/dce110/dce110_timing_generator.c | 265 +++++++++++++++++---- .../display/dc/dce110/dce110_timing_generator.h | 6 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 29 ++- .../amd/display/dc/dcn10/dcn10_timing_generator.c | 66 ++++- .../amd/display/dc/dcn10/dcn10_timing_generator.h | 33 ++- .../drm/amd/display/dc/inc/hw/timing_generator.h | 6 +- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 5 + 12 files changed, 511 insertions(+), 78 deletions(-)
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20180103171108.17391-1-carlo-KA+7E9HrN00dnm+yROfE0A@public.gmane.org
PATCH 1/4 drm/amd/display: Adding DCN1 registers
From: Mikita Lipski <[email protected]>
Registers added to definition list that are required for multi display synchronization
--- .../amd/display/dc/dcn10/dcn10_timing_generator.h | 33 ++++++++++++++++++++-- 1 file changed, 30 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.h +30 -3
@@ -72,7 +72,10 @@SRI (OPTC_INPUT_GLOBAL_CONTROL ,ODM , inst),\SRI (OPPBUF_CONTROL ,OPPBUF , inst),\SRI (OPPBUF_3D_PARAMETERS_0 ,OPPBUF , inst),\ - SRI(CONTROL, VTG, inst) +SRI (CONTROL ,VTG , inst),\ +SRI (OTG_VERT_SYNC_CONTROL ,OTG , inst),\ +SRI (OTG_MASTER_UPDATE_MODE ,OTG , inst),\ + SRI(OTG_GSL_CONTROL, OTG, inst) #define TG_COMMON_REG_LIST_DCN1_0(inst) \ TG_COMMON_REG_LIST_DCN(inst),\
@@ -82,6 +85,9 @@struct dcn_tg_registers { +uint32_t OTG_VERT_SYNC_CONTROL; +uint32_t OTG_MASTER_UPDATE_MODE; +uint32_t OTG_GSL_CONTROL;uint32_t OTG_VSTARTUP_PARAM;uint32_t OTG_VUPDATE_PARAM;uint32_t OTG_VREADY_PARAM;
@@ -208,7 +214,18 @@ struct dcn_tg_registers {SF (OPPBUF0_OPPBUF_3D_PARAMETERS_0 ,OPPBUF_3D_VACT_SPACE1_SIZE , mask_sh),\SF (VTG0_CONTROL ,VTG0_ENABLE , mask_sh),\SF (VTG0_CONTROL ,VTG0_FP2 , mask_sh),\ - SF(VTG0_CONTROL, VTG0_VCOUNT_INIT, mask_sh) +SF (VTG0_CONTROL ,VTG0_VCOUNT_INIT , mask_sh),\ +SF (OTG0_OTG_VERT_SYNC_CONTROL ,OTG_FORCE_VSYNC_NEXT_LINE_OCCURRED , mask_sh),\ +SF (OTG0_OTG_VERT_SYNC_CONTROL ,OTG_FORCE_VSYNC_NEXT_LINE_CLEAR , mask_sh),\ +SF (OTG0_OTG_VERT_SYNC_CONTROL ,OTG_AUTO_FORCE_VSYNC_MODE , mask_sh),\ +SF (OTG0_OTG_MASTER_UPDATE_MODE ,MASTER_UPDATE_INTERLACED_MODE , mask_sh),\ +SF (OTG0_OTG_GSL_CONTROL ,OTG_GSL0_EN , mask_sh),\ +SF (OTG0_OTG_GSL_CONTROL ,OTG_GSL1_EN , mask_sh),\ +SF (OTG0_OTG_GSL_CONTROL ,OTG_GSL2_EN , mask_sh),\ +SF (OTG0_OTG_GSL_CONTROL ,OTG_GSL_MASTER_EN , mask_sh),\ +SF (OTG0_OTG_GSL_CONTROL ,OTG_GSL_FORCE_DELAY , mask_sh),\ + SF(OTG0_OTG_GSL_CONTROL, OTG_GSL_CHECK_ALL_FIELDS, mask_sh) + #define TG_COMMON_MASK_SH_LIST_DCN1_0(mask_sh)\ TG_COMMON_MASK_SH_LIST_DCN(mask_sh),\
@@ -317,7 +334,17 @@ struct dcn_tg_registers {type OPPBUF_3D_VACT_SPACE1_SIZE ;\type VTG0_ENABLE ;\type VTG0_FP2 ;\ -type VTG0_VCOUNT_INIT ; +type VTG0_VCOUNT_INIT ;\ +type OTG_FORCE_VSYNC_NEXT_LINE_OCCURRED ;\ +type OTG_FORCE_VSYNC_NEXT_LINE_CLEAR ;\ +type OTG_AUTO_FORCE_VSYNC_MODE ;\ +type MASTER_UPDATE_INTERLACED_MODE ;\ +type OTG_GSL0_EN ;\ +type OTG_GSL1_EN ;\ +type OTG_GSL2_EN ;\ +type OTG_GSL_MASTER_EN ;\ +type OTG_GSL_FORCE_DELAY ;\ +type OTG_GSL_CHECK_ALL_FIELDS ;struct dcn_tg_shift {TG_REG_FIELD_LIST (uint8_t )
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 2/4 drm/amd/display: Multi display synchronization logic
In reply to a message not in the archiveFrom: Mikita Lipski <[email protected]>
This feature synchronizes multiple displays with various timings to a display with the highest refresh rate
it is enabled if edid caps flag multi_display_sync is set to one
There are limitations on refresh rates allowed that can be synchronized. That would
prevent from underflow and other potential corruptions.
Multi display synchronization is using the same functions as timing_sync in order to minimize redunduncy and decision to disable synchronization is based on trigger parametre set in DM
Feature is developed for DCN1 and DCE11
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 54 ++++- drivers/gpu/drm/amd/display/dc/core/dc.c | 26 +- drivers/gpu/drm/amd/display/dc/dc.h | 3 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 16 ++ .../amd/display/dc/dce110/dce110_hw_sequencer.c | 46 +++- .../display/dc/dce110/dce110_timing_generator.c | 265 +++++++++++++++++---- .../display/dc/dce110/dce110_timing_generator.h | 6 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 29 ++- .../amd/display/dc/dcn10/dcn10_timing_generator.c | 66 ++++- .../drm/amd/display/dc/inc/hw/timing_generator.h | 6 +- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 5 + 11 files changed, 456 insertions(+), 66 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +53 -1
@@ -2330,6 +2330,56 @@ static int create_fake_sink(struct amdgpu_dm_connector *aconnector)return 0 ; } +static void set_multisync_trigger_params ( +struct dc_stream_state *stream) +{ +if (stream->triggered_crtc_reset.enabled) { + stream->triggered_crtc_reset.event =CRTC_EVENT_VSYNC_RISING ; + stream->triggered_crtc_reset.delay =TRIGGER_DELAY_NEXT_LINE ; + } +} + +static void set_master_stream (struct dc_stream_state *stream_set[], +int stream_count) +{ +int j, highest_rfr =0 , master_stream =0 ; + +for (j =0 ; j < stream_count; j++) { +if (stream_set[j] && stream_set[j]->triggered_crtc_reset.enabled) { +int refresh_rate =0 ; + + refresh_rate = (stream_set[j]->timing.pix_clk_khz*1000 )/ + (stream_set[j]->timing.h_total*stream_set[j]->timing.v_total); +if (refresh_rate > highest_rfr) { + highest_rfr = refresh_rate; + master_stream = j; + } + } + } +for (j =0 ; j < stream_count; j++) { +if (stream_set[j] && j != master_stream) + stream_set[j]->triggered_crtc_reset.event_source = stream_set[master_stream]; + } +} + +static void dm_enable_per_frame_crtc_master_sync (struct dc_state *context) +{ +int i =0 ; + +if (context->stream_count <2 ) +return ; +for (i =0 ; i < context->stream_count ; i++) { +if (!context->streams[i]) +continue ; +/* TODO: add a function to read AMD VSDB bits and will set +* crtc_sync_master.multi_sync_enabled flag +* For now its set to false +*/ +set_multisync_trigger_params (context->streams[i]); + } +set_master_stream (context->streams, context->stream_count); +} +static struct dc_stream_state * create_stream_for_sink(struct amdgpu_dm_connector *aconnector, const struct drm_display_mode *drm_mode,
@@ -4160,8 +4210,10 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state) } } -if (dm_state->context) +if (dm_state->context) { +dm_enable_per_frame_crtc_master_sync (dm_state->context);WARN_ON (!dc_commit_state (dm->dc, dm_state->context)); + }for_each_new_crtc_in_state (state, crtc, new_crtc_state, i) {struct amdgpu_crtc *acrtc =to_amdgpu_crtc (crtc);
drivers/gpu/drm/amd/display/dc/core/dc.c +25 -1
@@ -712,6 +712,28 @@ void dc_destroy(struct dc **dc) *dc =NULL ; } +static void enable_timing_multisync ( +struct dc *dc, +struct dc_state *ctx) +{ +int i =0 , multisync_count =0 ; +int pipe_count = dc->res_pool->pipe_count; +struct pipe_ctx *multisync_pipes[MAX_PIPES ] = {NULL }; + +for (i =0 ; i < pipe_count; i++) { +if (!ctx->res_ctx.pipe_ctx[i].stream || + !ctx->res_ctx.pipe_ctx[i].stream->triggered_crtc_reset.enabled) +continue ; + multisync_pipes[multisync_count] = &ctx->res_ctx.pipe_ctx[i]; + multisync_count++; + } + +if (multisync_count >1 ) { + dc->hwss.enable_per_frame_crtc_position_reset ( + dc, multisync_count, multisync_pipes); + } +} +static void program_timing_sync (struct dc *dc,struct dc_state *ctx)
@@ -888,7 +910,9 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c } result = dc->hwss.apply_ctx_to_hw (dc, context); -program_timing_sync (dc, context); +if (context->stream_count >1 ) +enable_timing_multisync (dc, context); +program_timing_sync (dc, context);dc_enable_stereo (dc, context, dc_streams, context->stream_count);
drivers/gpu/drm/amd/display/dc/dc.h +3 -0
@@ -617,6 +617,9 @@ struct dc_stream_state {/* from stream struct */ struct kref refcount; + +struct crtc_trigger_info triggered_crtc_reset; + };struct dc_stream_update {
drivers/gpu/drm/amd/display/dc/dc_hw_types.h +16 -0
@@ -664,6 +664,22 @@ enum dc_timing_3d_format { TIMING_3D_FORMAT_MAX, }; +enum trigger_delay { +TRIGGER_DELAY_NEXT_PIXEL =0 , +TRIGGER_DELAY_NEXT_LINE , +}; + +enum crtc_event { +CRTC_EVENT_VSYNC_RISING =0 , +CRTC_EVENT_VSYNC_FALLING +}; + +struct crtc_trigger_info { +bool enabled; +struct dc_stream_state *event_source; +enum crtc_event event; +enum trigger_delay delay; +};struct dc_crtc_timing {
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c +38 -8
70 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.c +219 -46
339 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator.h +6 -0
@@ -174,6 +174,12 @@ void dce110_timing_generator_setup_global_swap_lock(void dce110_timing_generator_tear_down_global_swap_lock (struct timing_generator *tg); +/* Reset crtc position on master VSync */ +void dce110_timing_generator_enable_crtc_reset ( +struct timing_generator *tg, +int source, +struct crtc_trigger_info *crtc_tp); +/* Reset slave controllers on master VSync */ void dce110_timing_generator_enable_reset_trigger( struct timing_generator *tg,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +27 -2
@@ -1833,14 +1833,15 @@ static void dcn10_enable_timing_synchronization(for (i =1 ; i < group_size; i++) grouped_pipes[i]->stream_res.tg->funcs->enable_reset_trigger ( - grouped_pipes[i]->stream_res.tg, grouped_pipes[0 ]->stream_res.tg->inst); - + grouped_pipes[i]->stream_res.tg, + grouped_pipes[0 ]->stream_res.tg->inst);DC_SYNC_INFO ("Waiting for trigger\n" );/* Need to get only check 1 pipe for having reset as all the others are * synchronized. Look at last pipe programmed to reset. */ +wait_for_reset_trigger_to_occur (dc_ctx, grouped_pipes[1 ]->stream_res.tg);for (i =1 ; i < group_size; i++) grouped_pipes[i]->stream_res.tg->funcs->disable_reset_trigger(
@@ -1849,6 +1850,29 @@ static void dcn10_enable_timing_synchronization(DC_SYNC_INFO ("Sync complete\n" ); } +static void dcn10_enable_per_frame_crtc_position_reset ( +struct dc *dc, +int group_size, +struct pipe_ctx *grouped_pipes[]) +{ +struct dc_context *dc_ctx = dc->ctx; +int i; + +DC_SYNC_INFO ("Setting up\n" ); +for (i =0 ; i < group_size; i++) + grouped_pipes[i]->stream_res.tg->funcs->enable_crtc_reset ( + grouped_pipes[i]->stream_res.tg, + grouped_pipes[i]->stream->triggered_crtc_reset.event_source->status.primary_otg_inst, + &grouped_pipes[i]->stream->triggered_crtc_reset); + +DC_SYNC_INFO ("Waiting for trigger\n" ); + +for (i =1 ; i < group_size; i++) +wait_for_reset_trigger_to_occur (dc_ctx, grouped_pipes[i]->stream_res.tg); + +DC_SYNC_INFO ("Multi-display sync is complete\n" ); +} +static void print_rq_dlg_ttu (struct dc *core_dc,struct pipe_ctx *pipe_ctx)
@@ -2926,6 +2950,7 @@ static const struct hw_sequencer_funcs dcn10_funcs = { .power_down = dce110_power_down, .enable_accelerated_mode = dce110_enable_accelerated_mode, .enable_timing_synchronization = dcn10_enable_timing_synchronization, + .enable_per_frame_crtc_position_reset = dcn10_enable_per_frame_crtc_position_reset, .update_info_frame = dce110_update_info_frame, .enable_stream = dce110_enable_stream, .disable_stream = dce110_disable_stream,
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_timing_generator.c +59 -7
91 lines not on this page · raw message
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h +5 -1
@@ -158,7 +158,11 @@ struct timing_generator_funcs { const struct dcp_gsl_params *gsl_params);void (*unlock)(struct timing_generator *tg);void (*lock)(struct timing_generator *tg); -void (*enable_reset_trigger)(struct timing_generator *tg,int source_tg_inst); +void (*enable_reset_trigger)(struct timing_generator *tg, +int source_tg_inst); +void (*enable_crtc_reset)(struct timing_generator *tg, +int source_tg_inst, +struct crtc_trigger_info *crtc_tp);void (*disable_reset_trigger)(struct timing_generator *tg);void (*tear_down_global_swap_lock)(struct timing_generator *tg); void (*enable_advanced_request)(struct timing_generator *tg,
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +5 -0
@@ -114,6 +114,11 @@ struct hw_sequencer_funcs {int group_size, struct pipe_ctx *grouped_pipes[]); +void (*enable_per_frame_crtc_position_reset)( +struct dc *dc, +int group_size, +struct pipe_ctx *grouped_pipes[]); +void (*enable_display_pipe_clock_gating)(struct dc_context *ctx,bool clock_gating);
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 3/4 drm/amd/display: Both timing_sync and multisync need stream_count > 1
In reply to a message not in the archiveFrom: Harry Wentland <[email protected]>
Previous code threw a warning about misleading indentation
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +2 -1
@@ -910,9 +910,10 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c } result = dc->hwss.apply_ctx_to_hw (dc, context); -if (context->stream_count >1 ) +if (context->stream_count >1 ) {enable_timing_multisync (dc, context);program_timing_sync (dc, context); + }dc_enable_stereo (dc, context, dc_streams, context->stream_count);
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 4/4 drm/amd/display: Change frontend/backend programming sequence
In reply to a message not in the archiveFrom: "Leo (Sunpeng) Li" <[email protected]>
This is a follow-up to the following change:
Yongqiang Sun: Program front end first when set mode.
Due to pipe-splitting features, how we handle stream enabling and disabling needs to change.
In the case of pipe split disable, two planes need to be combined back into the same stream. This needs to be done before any stream programming happens.
The previous patch addresses this, but breaks cross-platform compatibility. It's not guaranteed that a dc commit will be called separately to program planes and streams.
Therefore, we handle the combined commit case by doing plane programming both before and after stream programming, to handle pipe split disable and plane enable respectively.
--- drivers/gpu/drm/amd/display/dc/core/dc.c | 41 ++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 13 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc.c +28 -13
@@ -871,6 +871,33 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *cif (!dcb->funcs->is_accelerated_mode (dcb)) dc->hwss.enable_accelerated_mode (dc); +/* Combine planes if required, in case of pipe split disable */ +for (i =0 ; i < dc->current_state->stream_count; i++) { + dc->hwss.apply_ctx_for_surface ( + dc, dc->current_state->streams[i], + dc->current_state->stream_status[i].plane_count, + dc->current_state); + } + +/* Program hardware */ + dc->hwss.ready_shared_resources (dc, context); + +for (i =0 ; i < dc->res_pool->pipe_count; i++) { + pipe = &context->res_ctx.pipe_ctx[i]; + dc->hwss.wait_for_mpcc_disconnect (dc, dc->res_pool, pipe); + } + + result = dc->hwss.apply_ctx_to_hw (dc, context); + +if (result !=DC_OK ) + goto fail; + +if (context->stream_count >1 ) { +enable_timing_multisync (dc, context); +program_timing_sync (dc, context); + } + +/* Program all planes within new context*/ for (i =0 ; i < context->stream_count; i++) {const struct dc_sink *sink = context->streams[i]->sink;
@@ -902,19 +929,7 @@ static enum dc_status dc_commit_state_no_check(struct dc *dc, struct dc_state *c context->streams[i]->timing.pix_clk_khz); } - dc->hwss.ready_shared_resources (dc, context); - -for (i =0 ; i < dc->res_pool->pipe_count; i++) { - pipe = &context->res_ctx.pipe_ctx[i]; - dc->hwss.wait_for_mpcc_disconnect (dc, dc->res_pool, pipe); - } - result = dc->hwss.apply_ctx_to_hw (dc, context); - -if (context->stream_count >1 ) { -enable_timing_multisync (dc, context); -program_timing_sync (dc, context); - } - +fail:dc_enable_stereo (dc, context, dc_streams, context->stream_count);for (i =0 ; i < context->stream_count; i++) {
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Quoted 21 lines · Carlo Caione
From: Carlo Caione <[email protected]>
Hi,
on several laptops [0] we are seeing display corruption when using multiple / external displays. We already opened an issue upstream [1].
The following 4 patches are taken from agd5f/amd-staging-drm-next and they seem able to solve the issue.
Can those be included in 4.15?Thank you,
[0] Acer Aspire E5-553G (AMD FX-9800P RADEON R7)
Acer Aspire E5-523G (AMD E2-9010 RADEON R2) Acer Aspire A315-21 (AMD A4-9120 RADEON R3) Acer Aspire A515-41G (AMD A10-9620 RADEON R5)[1] https://bugs.freedesktop.org/show_bug.cgi?id=104319
Harry Wentland (1):
drm/amd/display: Bothtiming_syncand multisync needstream_count> 1
Quoted 7 lines
Leo (Sunpeng) Li (1):
drm/amd/display: Change frontend/backend programming sequenceMikita Lipski (2):
drm/amd/display: Adding DCN1 registers drm/amd/display: Multi display synchronization logic
I'm surprised Mikita and my patches are required here. Are you sure they make a difference for display corruption or did you simply add them to make pull Leo's patch more cleanly?
They're not bad changes. The "Multi display synchronization logic" patch is just very big and shouldn't have an impact expect in very unique situations.
Harry
Quoted 5 lines
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 54 ++++- drivers/gpu/drm/amd/display/dc/core/dc.c | 60 ++++- drivers/gpu/drm/amd/display/dc/dc.h | 3 + drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 16 ++ .../amd/display/dc/dce110/dce110_hw_sequencer.c | 46 +++-
Quoted 9 lines
.../display/dc/dce110/dce110_timing_generator.c | 265 +++++++++++++++++---- .../display/dc/dce110/dce110_timing_generator.h | 6 + .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 29 ++- .../amd/display/dc/dcn10/dcn10_timing_generator.c | 66 ++++- .../amd/display/dc/dcn10/dcn10_timing_generator.h | 33 ++- .../drm/amd/display/dc/inc/hw/timing_generator.h | 6 +- drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 5 + 12 files changed, 511 insertions(+), 78 deletions(-)
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): e9f61bee-e168-d863-1ca7-c83e57e6c806-5C7GfCeVMHo@public.gmane.org
Quoted 25 lines · Harry Wentland
Quoted 24 lines · Carlo Caione
From: Carlo Caione <[email protected]>
Hi,
on several laptops [0] we are seeing display corruption when using multiple / external displays. We already opened an issue upstream [1].
The following 4 patches are taken from agd5f/amd-staging-drm-next and they seem able to solve the issue.
Can those be included in 4.15?Thank you,
[0] Acer Aspire E5-553G (AMD FX-9800P RADEON R7)
Acer Aspire E5-523G (AMD E2-9010 RADEON R2) Acer Aspire A315-21 (AMD A4-9120 RADEON R3) Acer Aspire A515-41G (AMD A10-9620 RADEON R5)[1] https://bugs.freedesktop.org/show_bug.cgi?id=104319
Harry Wentland (1):
drm/amd/display: Bothtiming_syncand multisync needstream_count> 1Leo (Sunpeng) Li (1):
drm/amd/display: Change frontend/backend programming sequence
Quoted 6 lines
Quoted 4 lines
Mikita Lipski (2):
drm/amd/display: Adding DCN1 registers drm/amd/display: Multi display synchronization logicI'm surprised Mikita and my patches are required here. Are you sure they make a difference for display corruption or did you simply add them to make pull Leo's patch more cleanly?
Yes, the only strictly required patch is the patch by Leo. The others are just pulled in to make that apply cleanly.
Thanks,
Signature · 5 lines
Carlo Caione | +44.7384.69.16.04 | Endless _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx