This DC patchset brings improvements in multiple areas. In summary, we
highlight:
- Fixes on DCN35, DCN401 and IPS
- Enhancements in DMUB and DSC
- Misc fixes for Coverity errors
Cc: Daniel Wheeler
Alex Hung (2):
drm/amd/display: Check null pointer before dereferencing se
drm/amd/display
From: Robin Chen
[WHY]
The calculated vtotal may has 1 line deviation. To get precisely
vtotal number, round the vtotal result.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Anthony Koo
Signed-off-by: Robin Chen
Signed-off-by: Alex Hung
---
drivers/gpu/drm
...@vger.kernel.org
Reviewed-by: Jun Lei
Signed-off-by: Samson Tam
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/core/dc.c| 12
drivers/gpu/drm/amd/display/dc/dc.h | 3 +++
.../gpu/drm/amd/display/dc/dc_spl_translate.c | 9 +
drivers/gpu/drm/amd
as normal.
Reviewed-by: Wenjing Liu
Signed-off-by: Ryan Seto
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 12
drivers/gpu/drm/amd/display/dc/dc_dsc.h | 1 +
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 10
-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
b/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
index f770828df149..0e243f4344d0 100644
--- a
-off-by: Alex Hung
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 20 +++
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display
...@vger.kernel.org
Reviewed-by: Roman Li
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Yihan Zhu
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c | 1 +
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c | 1 +
2 files changed, 2 insertions(+)
diff
From: Dillon Varone
[WHY & HOW]
If the output format is different for HDMI TMDS signals, they are not
synchronizable.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Alvin Lee
Signed-off-by: Dillon Varone
Signed-off-by: Alex Hung
---
.../dc/dml2/dml21
From: Samson Tam
[WHY]
Add options to change sharpen policy based on surface format
and scaling ratios.
[HOW]
Add sharpen_policy to change policy based on surface format
and scale_to_sharpness_policy based on scaling ratios.
Reviewed-by: Jun Lei
Signed-off-by: Samson Tam
Signed-off-by: Alex
e Liu
Signed-off-by: Nicholas Kazlauskas
Signed-off-by: Alex Hung
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c| 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
b/drivers/gpu/drm/amd/display/dc/clk_mgr/
: Charlene Liu
Signed-off-by: Martin Tsai
Signed-off-by: Alex Hung
---
.../amd/display/dc/hwss/dce110/dce110_hwseq.c | 50 +++
1 file changed, 50 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
b/drivers/gpu/drm/amd/display/dc/hwss/dce110
-off-by: Alex Hung
---
.../gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
b/drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
i
Signed-off-by: Peichen Huang
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 21 +
drivers/gpu/drm/amd/display/dc/dc.h | 6 +-
.../amd/display/dc/link/hwss/link_hwss_dpia.c | 31 ++-
.../dc/link/protocols/link_dp_training.c | 80
From: Relja Vojvodic
[WHAT & HOW]
Disable sharpening if not in fullscreen if this policy is selected
Reviewed-by: Samson Tam
Signed-off-by: Relja Vojvodic
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c | 3 +++
drivers/gpu/drm/amd/display/dc
y: Chris Park
Signed-off-by: Leo Ma
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dc_dsc.h | 3 ++-
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c | 5 +++--
3 files changed, 7 ins
vtotal
Reviewed-by: Alex Hung
Signed-off-by: Aric Cyr
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h
b/drivers/gpu/drm/amd/display/dc/dc.h
index 133cac4d9fc4..e659f4fed19f
[WHAT & HOW]
se is null checked previously in the same function, indicating
it might be null; therefore, it must be checked when used again.
This fixes 1 FORWARD_NULL issue reported by Coverity.
Acked-by: Alex Hung
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Alex Hung
---
drivers/gpu
-by: Alex Hung
Reviewed-by: Alvin Lee
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Alex Hung
---
.../amd/display/dc/dml/dcn20/display_rq_dlg_calc_20.c| 3 ---
.../amd/display/dc/dml/dcn20/display_rq_dlg_calc_20v2.c | 3 ---
.../drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c | 9 -
t is supposed to catch this corner case by
adding a check based on the parameters in the stream
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Dillon Varone
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Aurabindo Pillai
Signed-off-by: Alex Hung
---
.../drm/amd/displa
t DSC.
[HOW]
Check the DSC used on current pipe status when update stream.
Skip to enable if it has been off. The operation enable
DSC should happen when set power on.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Wenjing Liu
Signed-off-by: Zhikai Zhai
Signed-off-by:
eric transition behavior
Separating the two flows to make (3) non-generic is the best immediate
coarse of action.
DC can discern SSAMPO3 very easily from SDE.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Chris Park
Signed-off-by: Charlene Liu
Signed-off-by: Alex
Reviewed-by: Sun peng Li
Signed-off-by: Roman Li
Signed-off-by: Alex Hung
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 50 ---
1 file changed, 33 insertions(+), 17 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display
From: Charlene Liu
[WHY]
Driver could skip program watermarks when resume from S0i3/S4.
[HOW]
Clear the cached one first to make sure new value gets applied.
Reviewed-by: Alvin Lee
Reviewed-by: Roman Li
Signed-off-by: Charlene Liu
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display
dereferencing se
Acked-by: Alex Hung
Signed-off-by: Aric Cyr
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h
b/drivers/gpu/drm/amd/display/dc/dc.h
index 78ebe636389e..3992ad73165b
This DC patchset brings improvements in multiple areas. In summary, we
highlight:
* Fixes on HDCP, eDP and FW idle check.
* Enhancement in debug messages
* Improvement on updates sequences
* DPP refactoring to a new directory
* Enhancements in DMUB
Cc: Daniel Wheeler
Allen Pan (1):
drm/amd/d
;t.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Chaitanya Dhere
Acked-by: Alex Hung
Signed-off-by: Swapnil Patel
---
.../display/dc/dml2/dml2_translation_helper.c | 18 +++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/drive
From: Aurabindo Pillai
[WHY & HOW]
Enable DML2 related debug config options in DM for testing purposes.
Reviewed-by: Chaitanya Dhere
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +++
1 file changed, 3 insertions(+)
diff -
From: Aurabindo Pillai
[WHAT]
Add DML2 pipe and config struct forward declaration as a
preparation for DML2.
Reviewed-by: Chaitanya Dhere
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.h | 2 ++
1 file changed, 2 insertions
From: Aurabindo Pillai
Add DML2 compilation rule in the Makefile.
Reviewed-by: Chaitanya Dhere
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
drivers/gpu/drm/amd/display/dc/dml2/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dml2
From: Xi Liu
[WHY & HOW]
DCN351 and DCN35 should use the same bounding box and IP settings.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Jun Lei
Acked-by: Alex Hung
Signed-off-by: Xi Liu
---
.../gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c
: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Alvin Lee
Acked-by: Alex Hung
Signed-off-by: Sohaib Nadeem
---
.../gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c | 6 ++
.../gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c | 1 +
.../gpu/drm/amd/display/dc/resource
From: Roman Li
[WHY]
Incorrect function name in function banner.
[HOW]
Correct name and brief description.
Reviewed-by: Hersen Wu
Reviewed-by: Aurabindo Pillai
Acked-by: Alex Hung
Signed-off-by: Roman Li
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 2 +-
1 file changed, 1
: sta...@vger.kernel.org
Reviewed-by: Anthony Koo
Acked-by: Alex Hung
Signed-off-by: Josip Pavic
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 5211c1c
From: Muhammad Ahmed
[HOW]
Add debug key to allow disabling dtbclk
Reviewed-by: Charlene Liu
Acked-by: Alex Hung
Signed-off-by: Muhammad Ahmed
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c | 3 ++-
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
2
From: Nicholas Kazlauskas
[WHY]
To log commit states and when we transition in/out of allow and idle
states and the caller.
[HOW]
Add a new logging helper and wrap idle optimization calls to receive
the caller.
Reviewed-by: Duncan Ma
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
h the
link protection thread and the rest of DM operation.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Charlene Liu
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.c| 10 ++
drivers/gpu/dr
From: Anthony Koo
[WHY & HOW]
Add new counters in the shared IPS firmware state.
Acked-by: Alex Hung
Signed-off-by: Anthony Koo
---
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dmub
()
- Allow dirty rects to be sent to dmub when abm is active
- Add debug key to allow disabling dtbclk
- Add debug prints for IPS testing
- Exit idle optimizations before HDCP execution
- Add entry and exit counters
Acked-by: Alex Hung
Signed-off-by: Aric Cyr
---
drivers/gpu/drm/amd/display/dc/dc.h
6
vcount2 : 0, 1, 2, 3, 4,
Reviewed-by: Jun Lei
Acked-by: Alex Hung
Signed-off-by: ChunTao Tso
Signed-off-by: Robin Chen
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 33
drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 1 +
.../amd/display/dc/hwss/dcn35/dcn35_hwse
r
Cc: sta...@vger.kernel.org # 6.5.x
Cc: Tsung-hua Lin
Cc: Chris Chi
Reviewed-by: Wayne Lin
Acked-by: Alex Hung
Signed-off-by: Ryan Lin
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display
From: Dillon Varone
[WHY & HOW]
DPPCLK ranges should be obtained from the SMU when available.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Chaitanya Dhere
Acked-by: Alex Hung
Signed-off-by: Dillon Varone
---
.../display/dc/clk_mgr/dcn32/dcn32_clk_m
per OPP so we will need to
reprogram OPP based on the new pipe topology.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Dillon Varone
Acked-by: Alex Hung
Signed-off-by: Wenjing Liu
---
.../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 41
...@vger.kernel.org
Reviewed-by: Duncan Ma
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display
s not cover accesses from external clients outside of DM/DC
like firmware or the kernel mode driver.
Reviewed-by: Duncan Ma
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 9 +
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h | 1 +
2
From: Nicholas Kazlauskas
[WHY]
To control whether idle optimizations reallowed after the first cursor
update.
[HOW]
Add checks to the conditions.
Reviewed-by: Duncan Ma
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 4 ++--
1
From: Nicholas Kazlauskas
[WHY]
To have a log of the entry/exit counters in case the system hangs to
measure stability.
[HOW]
Read them from firmware state and pass them to the prints.
Reviewed-by: Duncan Ma
Acked-by: Alex Hung
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd
...@vger.kernel.org
Reviewed-by: Alvin Lee
Acked-by: Alex Hung
Signed-off-by: George Shen
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 4 ++
.../gpu/drm/amd/display/dc/core/dc_resource.c | 37 +++
.../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 10 +
.../gpu/drm/amd/display/dc
From: ChunTao Tso
[WHY]
The original coasting vtotal is 2 bytes, and it need to
be amended to 4 bytes because low hz case.
[HOW]
Amend coasting vtotal from 2 bytes to 4 bytes.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Alvin Lee
Acked-by: Alex Hung
From: Revalla Hari Krishna
[WHY & HOW]
Move all dpp files to a new dpp directory.
Reviewed-by: Martin Leung
Acked-by: Alex Hung
Signed-off-by: Revalla Hari Krishna
---
drivers/gpu/drm/amd/display/Makefile | 1 +
drivers/gpu/drm/amd/display/dc/Makefile | 2 +-
drivers
.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas
Acked-by: Alex Hung
Signed-off-by: Muhammad Ahmed
---
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/dr
that would use extra free pipes such as Dynamic
ODM/MPC Combine, MPO or SubVp. Therefore there is no longer a need to
specially handle compatibility problems with transitions among those
features as they are now transparent to the new sequence.
Reviewed-by: Wenjing Liu
Acked-by: Alex Hung
Signed-o
ed-by: Alex Hung
Signed-off-by: Wenjing Liu
---
.../amd/display/dc/hwss/dcn32/dcn32_hwseq.c | 23 +++
.../amd/display/dc/hwss/dcn32/dcn32_hwseq.h | 2 ++
.../amd/display/dc/hwss/dcn32/dcn32_init.c| 2 +-
3 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/driver
generator.
2. no pending dpg pattern update for each active OPP.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Alvin Lee
Acked-by: Alex Hung
Signed-off-by: Wenjing Liu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 56 ++-
.../gpu/drm/amd
From: Allen Pan
[How]
Check wheather state is NULL before releasing it.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Charlene Liu
Acked-by: Alex Hung
Signed-off-by: Allen Pan
---
drivers/gpu/drm/amd/display/dc/core/dc_state.c | 3 ++-
1 file changed, 2
- Add new flag to indicate if a new frame update needed for
ABM to ramp up into steady state
Acked-by: Alex Hung
Signed-off-by: Anthony Koo
---
.../gpu/drm/amd/display/dc/dce/dmub_replay.c | 2 +-
.../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 40 +--
2 files changed, 38
From: Rodrigo Siqueira
[WHY & HOW]
If the display is null when creating an HDCP session, return a proper
error code.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_p
From: Rodrigo Siqueira
[WHY & HOW]
This commit just adds some simple comments to help understand the
calculation of V total duration for Freesync. Also, remove a legacy TODO
comment from link service type.
Acked-by: Alex Hung
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/dis
calculation and drop legacy TODO
Acked-by: Alex Hung
Signed-off-by: Aric Cyr
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h
b/drivers/gpu/drm/amd/display/dc/dc.h
index 9629bd9252b4..e17ddda8ec38 100644
void needing to allocate large amounts of memory every time
we create a new DC state.
Reviewed-by: Wenjing Liu
Acked-by: Alex Hung
Signed-off-by: Alvin Lee
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 10 +-
.../gpu/drm/amd/display/dc/core/dc_state.c| 1 -
drivers/gpu/drm/amd/displa
This DC patchset brings improvements in multiple areas. In summary, we
highlight:
* Enable DCC on DCN401
* Fix cursor issues
* Misc Coverity fixes
Cc: Daniel Wheeler
Alex Hung (12):
drm/amd/display: Remove redundant checks for pipe_ctx->stream
drm/amd/display: Run DC_LOG_DC after check
Reviewed-by: Charlene Liu
Acked-by: Alex Hung
Signed-off-by: Nicholas Susanto
---
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
b/drivers/gpu/drm/amd
connected. This caused black
screens on driver disable with an MST daisy chain hooked up.
[HOW]
Refactored the function to correctly return the number of FEs connected to
the input BE. Also renamed it for clarity.
Reviewed-by: Wenjing Liu
Acked-by: Alex Hung
Signed-off-by: Relja Vojvodic
ll code with it from
'display_rq_dlg_calc_' functions in dml.
Reviewed-by: Alex Hung
Acked-by: Alex Hung
Signed-off-by: Ivan Lipski
---
.../display/dc/dml/dcn20/display_rq_dlg_calc_20.c | 14 +++---
.../dc/dml/dcn20/display_rq_dlg_calc_20v2.c| 14 +++---
Since the variable is only used for the conditional check,
but the check can never be true, the variable itself is
redundant.
[HOW]
Removed the variable 'need_recovery'.
Reviewed-by: Alex Hung
Acked-by: Alex Hung
Signed-off-by: Ivan Lipski
---
.../drm/amd/display/dc/hwss/dcn10/dcn10_
h HW rotations.
Reviewed-by: Sridevi Arvindekar
Acked-by: Alex Hung
Signed-off-by: Nevenko Stupar
---
.../amd/display/dc/dpp/dcn401/dcn401_dpp_cm.c | 50 ---
.../amd/display/dc/hubp/dcn401/dcn401_hubp.c | 38 -
.../amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 135 +++--
From: Michael Strauss
[WHY]
New register field added in DP2.1 SCR, needed for auxless ALPM
[HOW]
Echo value read from 0xF0007 back to sink
Reviewed-by: Wenjing Liu
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Michael Strauss
ira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c| 7 +++
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 4 ++--
.../gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c | 2 +-
3 files changed, 6 insertions(+), 7
[WHAT]
The DC_LOG_DC should be run after link->link_enc is checked, not before.
This fixes 1 REVERSE_INULL issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/link/link_factory.c | 6 +++---
1 file chan
From: Nevenko Stupar
[WHY & HOW]
Fix the cursor size between ODM slices.
Reviewed-by: Sridevi Arvindekar
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Nevenko Stupar
---
.../drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
[WHAT & HOW]
surf_linear_128_l/c are used in CalculateBytePerPixelAndBlockSizes
before they are assigned, so initializing them before passing them into
the function.
This fixes 2 UNINIT issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex
[WHAT & HOW]
clk_mgr_helper_get_active_display_cnt returns display count and itself
alone has no use.
This fixes 1 CHECKED_RETURN issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dc
[WHAT & HOW]
BIOS_CMD_TABLE_REVISION and link_transmitter_control can return error
codes and errors should be reported.
This fixes 3 CHECKED_RETURN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/
[WHAT & HOW]
dm_dmub_hw_init and drm_dp_mst_topology_mgr_set_mst can return error
codes and errors should be reported.
This fixes 2 CHECKED_RETURN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/amdgp
[WHAT & HOW]
Check mod_hdcp_execute_and_set() return values in authenticated_dp.
This fixes 3 CHECKED_RETURN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
.../amd/display/modules/hdcp/hdcp1_execution.c| 15 +-
From: Joan Lee
[WHY & HOW]
Driver side adding replay general cmd interface.
Replay general command will config at most two uint_32 parameters,
with a replay general command subtype to set relative configurations.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Alex Hung
Signed-off-by: Joan
re cursor.
Reviewed-by: Sun peng Li
Reviewed-by: Rodrigo Siqueira
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 34 ---
1 file changed, 29 insertions(+), 5
From: "Leo (Hanghong) Ma"
[WHY && HOW]
Some DP EDID CTS tests fail due to HPO disable, and we should keep it
enable on DCN4 dGPU.
Reviewed-by: Wenjing Liu
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Leo (Hanghong) Ma
From: TungYu Lu
[WHY]
Tiled displays showed not aligned on 8K60hz when system resumed
from S3/S4.
[HOW]
Do dc_trigger_sync to re-sync pipes to ensure OTG become synced.
Reviewed-by: Alvin Lee
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off
the display config can successfully be
mapped to a DPM level.
Reviewed-by: Chaitanya Dhere
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: George Shen
---
.../amd/display/dc/dml2/dml21/dml21_wrapper.c | 1 +
.../dc/dml2/dml21/src
ns to specify this pe platform as required.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Alex Hung
Signed-off-by: Sung-huai Wang
---
.../gpu/drm/amd/display/dc/dml2/dml2_wrapper.c| 15 +++
.../gpu/drm/amd/display/dc/dml2/dml2_wrapper.h| 2 ++
.../display/dc/resource/
From: Dillon Varone
[WHY & HOW]
Currently the force only works for a single display, make it so it can
be forced per stream.
Reviewed-by: Alvin Lee
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Dillon Varone
---
drivers/gpu/drm
rate and lane counts.
Reviewed-by: Wenjing Liu
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Daniel Sa
---
.../dc/link/protocols/link_dp_capability.c| 21 ++-
1 file changed, 11 insertions(+), 10 deletions(-)
diff
queira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
.../drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c | 10 ++
.../drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c | 10 ++
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c | 2 +-
drivers/gpu/drm/amd/display/d
ster. This fixes an underflow issue that occurs in scaled
mode with low refresh rate.
Reviewed-by: Nevenko Stupar
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Alvin Lee
---
.../gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.c
-by: Nicholas Kazlauskas
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Duncan Ma
---
.../drm/amd/display/dc/dsc/dcn20/dcn20_dsc.c | 24 +++-
.../drm/amd/display/dc/dsc/dcn20/dcn20_dsc.h | 9 +++
.../drm/amd/display/dc/dsc/dcn35
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Alvin Lee
---
.../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 23 +++
.../amd/display/dc/inc/hw/timing_generator.h | 1 +
.../amd/display/dc/optc/dcn10/dcn10_optc.h| 3 ++-
.../amd/display/dc/
From: Nevenko Stupar
[WHY & HOW]
Adjust hot spot positions between ODM slices when cursor
magnification is used.
Reviewed-by: Sridevi Arvindekar
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Nevenko Stupar
---
.../gpu/drm/amd/dis
-by: Alex Hung
Signed-off-by: Ryan Seto
---
.../gpu/drm/amd/display/dc/core/dc_stream.c | 29 +++
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
2 files changed, 30 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
b/drivers/gpu/drm/amd/display/dc
guaranteed to enter.
Therefore we are removing the if statements due to redundancy.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Wenjing Liu
---
.../display/modules/hdcp/hdcp1_execution.c| 27 +--
1 file changed, 12 insertions(+), 15 deletions(-)
diff
From: Ryan Seto
[WHY]
DSC was waiting for the wrong field to disconnect cleanly.
[HOW]
Changed field the DSC disconnect was waiting on.
Reviewed-by: Wenjing Liu
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Ryan Seto
---
drivers/gpu
only modify the 1D LUT in populate_mcm if 3D LUT was
enabled.
Added blend_tf function update for non-main planes if the 3D LUT path
was taken.
Reviewed-by: Ilya Bakoulin
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Relja Vojvodic
Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Acked-by: Alex Hung
Signed-off-by: Roman Li
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 3 ++
.../amd/display/amdgpu_dm/amdgpu_dm_crtc.c| 48 +++
.../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 5 +-
3 files
[WHAT & HOW]
Check cm3_helper_translate_curve_to_hw_format runs successfully so the
regamma_params is valid and can be used.
Also revmoed two result assignments.
This fixes 2 CHECKED_RETURN UNUSED_VALUE issues reported by Coverity.
Reviewed-by: Harry Wentland
Acked-by: Alex Hung
Signed-of
[WHAT & HOW]
Function return values must be checked before data can be used
in subsequent functions.
This fixes 4 CHECKED_RETURN issues reported by Coverity.
Reviewed-by: Harry Wentland
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dc_dmub_s
[WHAT & HOW]
advanced_pstate_switching was initialized to false and never assigned to
another value; as a result !advanced_pstate_switching is always true and
should be removed.
This fixes 2 DEADCODE issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-of
[WHAT & HOW]
The same display null check was a few lines above.
This fixes 1 DEADCODE issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_psp.c | 3 ---
1 file changed, 3 deletions(-)
From: Aurabindo Pillai
[WHAT]
Add the necessary register definitions to enable DCC on DCN4x
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
.../include/asic_reg/dcn/dcn_4_1_0_sh_mask.h | 110 ++
1 file changed, 110 insertions(+)
diff
From: Aurabindo Pillai
[WHAT]
Add registers and entry points to enable DCC on DCN4x
Reviewed-by: Rodrigo Siqueira
Acked-by: Alex Hung
Signed-off-by: Aurabindo Pillai
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 12 +
.../drm/amd/display/dc/core/dc_hw_sequencer.c | 11 +
drivers/gpu
factor dccg401_get_other_enable_symclk_fe
Acked-by: Alex Hung
Signed-off-by: Aric Cyr
---
drivers/gpu/drm/amd/display/dc/dc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h
b/drivers/gpu/drm/amd/display/dc/dc.h
index 40f183816e31..900892
Fixes the warning:
Function parameter or struct member 'program_3dlut_size' not described in
'mpc_funcs'
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/gpu/drm/amd/displa
1 - 100 of 519 matches
Mail list logo