All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/15] DC Patches July 29, 2020
@ 2020-07-24 21:06 Eryk Brol
  2020-07-24 21:06 ` [PATCH 01/15] drm/amd/display: Clean up global sync param retrieval Eryk Brol
                   ` (14 more replies)
  0 siblings, 15 replies; 22+ messages in thread
From: Eryk Brol @ 2020-07-24 21:06 UTC (permalink / raw)
  To: amd-gfx
  Cc: Eryk Brol, Sunpeng.Li, Harry.Wentland, Qingqing.Zhuo,
	Rodrigo.Siqueira, Bhawanpreet.Lakha

This DC patchset brings improvements in multiple areas. In summary, we highlight:

* Fixes in DP Compliance, ABM, and others;
* Enhancements in DSC;
* Improvements in FSFT, DCN, and others.

Alvin Lee (1):
  drm/amd/display: Don't compare dppclk before updating DTO

Anthony Koo (1):
  drm/amd/display: [FW Promotion] Release 0.0.26

Aric Cyr (2):
  drm/amd/display: 3.2.96
  drm/amd/display: Fix DP Compliance tests 4.3.2.1 and 4.3.2.2

Dmytro Laktyushkin (1):
  drm/amd/display: Clean up global sync param retrieval

Eryk Brol (4):
  drm/amd/display: Rename bytes_pp to the correct bits_pp
  drm/amd/display: Fix naming of DSC Debugfs entry
  drm/amd/display: DSC Clock enable debugfs write entry
  drm/amd/display: DSC Slice width debugfs write entry

Jun Lei (1):
  drm/amd/display: Disable idle optimizations before programming DCN

Martin Tsai (1):
  drm/amd/display: Check lane status again after link training done

Reza Amini (1):
  drm/amd/display: Allow asic specific FSFT timing optimization

Stylon Wang (1):
  drm/amd/display: Fix dmesg warning from setting abm level

Wyatt Wood (1):
  drm/amd/display: Use hw lock mgr

hersen wu (1):
  drm/amd/display: dchubbub p-state warning during surface planes switch

 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  32 ++-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h |   6 +
 .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 193 +++++++++++++++++-
 .../display/amdgpu_dm/amdgpu_dm_mst_types.c   |  17 +-
 .../display/dc/clk_mgr/dcn10/rv1_clk_mgr.c    |  69 ++++++-
 .../display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c  |   7 +-
 drivers/gpu/drm/amd/display/dc/core/dc.c      |  18 +-
 .../gpu/drm/amd/display/dc/core/dc_link_dp.c  |  49 +++++
 .../gpu/drm/amd/display/dc/core/dc_stream.c   |  18 +-
 drivers/gpu/drm/amd/display/dc/dc.h           |   2 +-
 drivers/gpu/drm/amd/display/dc/dc_stream.h    |   4 +-
 drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c |   2 +-
 .../amd/display/dc/dcn10/dcn10_hw_sequencer.c |   4 +-
 .../gpu/drm/amd/display/dc/dcn20/dcn20_dsc.c  |   2 +-
 .../drm/amd/display/dc/dcn20/dcn20_hwseq.c    |  27 +++
 .../drm/amd/display/dc/dcn20/dcn20_hwseq.h    |   5 +
 .../gpu/drm/amd/display/dc/dcn20/dcn20_init.c |   3 +
 .../drm/amd/display/dc/dcn20/dcn20_resource.c |  49 +----
 .../gpu/drm/amd/display/dc/dcn21/dcn21_init.c |   3 +
 .../drm/amd/display/dc/dml/display_mode_vba.c |  14 +-
 .../drm/amd/display/dc/dml/display_mode_vba.h |   7 +-
 drivers/gpu/drm/amd/display/dc/inc/hw/dsc.h   |   2 +-
 .../gpu/drm/amd/display/dc/inc/hw_sequencer.h |   5 +
 .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h   |   4 +-
 .../amd/display/include/link_service_types.h  |   2 +
 .../amd/display/modules/freesync/freesync.c   |   5 +-
 26 files changed, 451 insertions(+), 98 deletions(-)

-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [PATCH 12/15] drm/amd/display: Use hw lock mgr
@ 2020-08-09  2:10 Brandon Wright
  2020-08-10 12:05 ` Wood, Wyatt
  0 siblings, 1 reply; 22+ messages in thread
From: Brandon Wright @ 2020-08-09  2:10 UTC (permalink / raw)
  To: eryk.brol, amd-gfx, wyatt.wood


[-- Attachment #1.1: Type: text/plain, Size: 1698 bytes --]

Just curious, but I noticed this new lock manager isn't being used because
of the definitive false return value in display/dc/dce/dmub_hw_lock_mgr.c:
should_use_dmub_lock.
Was this supposed to be enabled?

From: Wyatt Wood <wyatt.w...@amd.com>
>
> [Why]
> Feature requires synchronization of dig, pipe, and cursor locking
> between driver and fw.
>
> [How]
> Set flag to force psr to use hw lock mgr.
>
> Signed-off-by: Wyatt Wood <wyatt.w...@amd.com>
> Reviewed-by: Anthony Koo <anthony....@amd.com>
> Acked-by: Eryk Brol <eryk.b...@amd.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
> b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
> index 82e67bd81f2d..5167d6b8a48d 100644
> --- a/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
> +++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
> @@ -233,8 +233,8 @@ static bool dmub_psr_copy_settings(struct dmub_psr *dmub,
>         copy_settings_data->frame_cap_ind                       =
> psr_context->psrFrameCaptureIndicationReq;
>         copy_settings_data->debug.bitfields.visual_confirm      =
> dc->dc->debug.visual_confirm == VISUAL_CONFIRM_PSR ?
>                                                                         true :
> false;
> +       copy_settings_data->debug.bitfields.use_hw_lock_mgr     = 1;
>         copy_settings_data->init_sdp_deadline                   =
> psr_context->sdpTransmitLineNumDeadline;
> -       copy_settings_data->debug.bitfields.use_hw_lock_mgr     = 0;
>
>         dc_dmub_srv_cmd_queue(dc->dmub_srv, &cmd);
>         dc_dmub_srv_cmd_execute(dc->dmub_srv);
> --
> 2.25.1
>
>

[-- Attachment #1.2: Type: text/html, Size: 2457 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2020-08-10 12:05 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24 21:06 [PATCH 00/15] DC Patches July 29, 2020 Eryk Brol
2020-07-24 21:06 ` [PATCH 01/15] drm/amd/display: Clean up global sync param retrieval Eryk Brol
2020-07-24 21:06 ` [PATCH 02/15] drm/amd/display: Rename bytes_pp to the correct bits_pp Eryk Brol
2020-07-24 21:06 ` [PATCH 03/15] drm/amd/display: Fix naming of DSC Debugfs entry Eryk Brol
2020-07-24 21:06 ` [PATCH 04/15] drm/amd/display: Don't compare dppclk before updating DTO Eryk Brol
2020-07-24 21:06 ` [PATCH 05/15] drm/amd/display: Check lane status again after link training done Eryk Brol
2020-07-24 21:06 ` [PATCH 06/15] drm/amd/display: Fix dmesg warning from setting abm level Eryk Brol
2020-07-24 21:06   ` Eryk Brol
2020-07-24 21:06 ` [PATCH 07/15] drm/amd/display: Disable idle optimizations before programming DCN Eryk Brol
2020-07-24 21:06 ` [PATCH 08/15] drm/amd/display: Allow asic specific FSFT timing optimization Eryk Brol
2020-07-24 21:06 ` [PATCH 09/15] drm/amd/display: DSC Clock enable debugfs write entry Eryk Brol
2020-07-24 21:06 ` [PATCH 10/15] drm/amd/display: [FW Promotion] Release 0.0.26 Eryk Brol
2020-07-24 21:06 ` [PATCH 11/15] drm/amd/display: dchubbub p-state warning during surface planes switch Eryk Brol
2020-07-24 21:06   ` Eryk Brol
2020-07-27 21:24   ` Sasha Levin
2020-07-27 21:24     ` Sasha Levin
2020-07-24 21:06 ` [PATCH 12/15] drm/amd/display: Use hw lock mgr Eryk Brol
2020-07-24 21:06 ` [PATCH 13/15] drm/amd/display: DSC Slice width debugfs write entry Eryk Brol
2020-07-24 21:06 ` [PATCH 14/15] drm/amd/display: 3.2.96 Eryk Brol
2020-07-24 21:06 ` [PATCH 15/15] drm/amd/display: Fix DP Compliance tests 4.3.2.1 and 4.3.2.2 Eryk Brol
2020-08-09  2:10 [PATCH 12/15] drm/amd/display: Use hw lock mgr Brandon Wright
2020-08-10 12:05 ` Wood, Wyatt

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.