..@ruhr-uni-bochum.de/
Cc: ly...@redhat.com
Cc: imre.d...@intel.com
Cc: sta...@vger.kernel.org
Cc: regressi...@lists.linux.dev
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 2 +-
drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 +---
This DC patchset brings improvements in multiple areas. In summary, we
highlight:
- Clear mpc_tree in init_pipes
- Program pixclk according to dcn revision
- Add stream clock source to DP DTO params
- Enabling urgent latency adjustment for DCN35
- To adjust dprefclk by down spread percentage
- Ad
From: Rodrigo Siqueira
[Why & How]
Remove redundant code
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/modules/info_packet/info_packet.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/modules/info_packet/info_packet.
From: Rodrigo Siqueira
In some of the merge conflict fixes, one '+' was accidentally left at
the beginning of the line. Fortunately, this did not cause any major
issues since it acted as a number signal. This commit addresses this
issue by removing the extra '+'.
Acked-by: W
From: Rodrigo Siqueira
[Why & How]
Enable 2to1 ODM policy for DCN35
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
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/displa
From: Alex Hung
[Why & How]
dcn32_smu_transfer_wm_table_dram_2_smu is defined twice so one is
removed. Also adjust prototype orders.
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
.../drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr_smu_msg.h | 3 +--
1 file changed, 1 insertion(+
From: Alex Hung
[Why & How]
This fixes indentations and adjust spaces for better readability and
code styles.
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
.../gpu/drm/amd/display/dc/bios/bios_parser.c | 1 +
.../gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c | 15 ---
.../displa
From: Rodrigo Siqueira
[Why & How]
DCN3_16_MIN_COMPBUF_SIZE_KB is defined in the dcn316_resource.c file.
This header fit better in the dcn31_fpu.h together with similar defines.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_f
From: Rodrigo Siqueira
[Why & How]
If the driver has issues retrieving the MALL size for the specific
hardware, it might fail since the current value is set to zero. This
commit addresses this issue by adding a simple constant value to give
the drive a chance to start.
Acked-by: Wayne
From: Rodrigo Siqueira
[Why & How]
Remove legacy code which is unnecessary.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
.../dc/resource/dcn314/dcn314_resource.c | 20 ---
1 file changed, 20 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/reso
From: Rodrigo Siqueira
[Why & How]
Enable legacy fast update for DCN314
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dc
From: Sherry Wang
[Why]
Hostvm should be enabled/disabled accordding to the status of
riommu_active, but hostvm always be disabled on DCN31 which causes
underflow
[How]
Set correct hostvm flag on DCN31
Acked-by: Wayne Lin
Signed-off-by: Sherry Wang
---
drivers/gpu/drm/amd/display/dc
From: Rodrigo Siqueira
[Why & How]
This commit just drop some old comments and update a typo in another
one.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
From: Rodrigo Siqueira
[Why & How]
Registers and offset are missing. Add it back
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
.../include/asic_reg/dcn/dcn_3_2_1_offset.h | 37 ++-
.../include/asic_reg/dcn/dcn_3_2_1_sh_mask.h | 16
2 files changed
Reviewed-by: Wenjing Liu
Acked-by: Wayne Lin
Signed-off-by: Leo Ma
---
.../gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
b/drivers/gpu/drm/amd/display/dc/hwss
ition state.
[how]
Backup stream ODM forcing option and clear it in minimal transition
state. Once minimal transition state is released, we will restore the
original debug option back.
Reviewed-by: Samson Tam
Acked-by: Wayne Lin
Signed-off-by: Wenjing Liu
---
drivers/gpu/drm/amd/display/dc/core
From: Martin Leung
why and how:
causes black screen on PNP on DCN 3.5
This reverts commit 520b0596f978 ("drm/amd/display: Exit idle
optimizations before HDCP execution")
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas
Acked-by:
From: Nicholas Kazlauskas
[Why]
Leave disabled by default due to sequencing issues around power states
where these flags aren't properly reset.
[How]
Allow re-enabling from DC debug option.
Reviewed-by: Gabe Teeger
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
drivers/gp
From: Zhongwei
[Why]
OLED panels show no display for large vtotal timings.
[How]
Check if spread spectrum is enabled and read from lut for spread spectrum
percentage. Adjust dprefclk as required.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Wayne Lin
Signed-off-by: Zhongwei
---
.../display
From: Gabe Teeger
This reverts commit 97c109f498da ("drm/amd/display: Add left edge pixel for
YCbCr422/420 + ODM pipe split")
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: George Shen
Reviewed-by: Charlene Liu
Reviewed-by: Jun Lei
Acked-by:
match the reference to existing ASIC
that also see increased latency at low FCLK.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Wayne Lin
Signed-off-by: Nicholas Susanto
---
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
d-by: Nicholas Kazlauskas
Reviewed-by: Charlene Liu
Acked-by: Wayne Lin
Signed-off-by: Ovidiu Bunea
---
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_init.c
b/drivers/gpu/d
From: Dillon Varone
[WHY&HOW]
Stream clock source is a required parameter for DP DTO programming.
Reviewed-by: Chris Park
Acked-by: Wayne Lin
Signed-off-by: Dillon Varone
---
drivers/gpu/drm/amd/display/dc/inc/hw/dccg.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm
From: Dillon Varone
[WHY&HOW]
Pixel clock programming should be built per dcn revision, not hardcoded to use
dcn20.
Reviewed-by: Chris Park
Acked-by: Wayne Lin
Signed-off-by: Dillon Varone
---
.../gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c | 7 ++-
1 file change
From: Samson Tam
[Why]
During init_pipes, otg master is not initialized. So mpc tree is
still configured even if mpc bottom is not active
[How]
For pipes that have tg enabled, check their mpc tree and clear
opp_list if mpc bottom is not active
Reviewed-by: George Shen
Acked-by: Wayne Lin
From: Anthony Koo
- Add a Replay residency mode which only calcuates the
entry time based on replay state 0/1 switch.
Acked-by: Wayne Lin
Signed-off-by: Anthony Koo
---
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm
/errors and remove redundant codes
- Add missing registers and offset
Acked-by: Wayne Lin
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
use a functional
issue, just a (potential) redundant operation.
Reviewed-by: Duncan Ma
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 23 +++-
1 file changed, 17 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/dr
g. It also causes
MPO to fail. We will temprarily revert this commit and investigate
the root cause further.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Chaitanya Dhere
Reviewed-by: Martin Leung
Acked-by: Wayne Lin
Signed-off-by: Wenjing Liu
---
drivers/g
From: Charlene Liu
[why]
need to apply the debug key check for max displayclk.
Reviewed-by: Chris Park
Acked-by: Wayne Lin
Signed-off-by: Charlene Liu
---
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/amd/display
From: Dillon Varone
[WHY&HOW]
Even if memory lower power feature policy states that it is disabled,
VPG memory should still be poweerd on if it is currently disabled when
requested.
Reviewed-by: Chris Park
Acked-by: Wayne Lin
Signed-off-by: Dillon Varone
---
drivers/gpu/drm/amd/displa
From: Natanel Roizenman
Added debug prints for zstate_support and StutterPeriod in
dcn35_decide_zstate_support for testing.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Wayne Lin
Signed-off-by: Natanel Roizenman
---
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 4
1 file changed
From: Charlene Liu
[why]
APU has different refclk as dGPU which is used for AUX_DPHY setup
Reviewed-by: Chris Park
Acked-by: Wayne Lin
Signed-off-by: Charlene Liu
---
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c | 2 +-
drivers/gpu/drm/amd/display/dc/dcn31
From: Natanel Roizenman
Increase Z8 watermark times from 210->250us and 320->350us.
Reviewed-by: Nicholas Kazlauskas
Acked-by: Wayne Lin
Signed-off-by: Natanel Roizenman
---
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dml/
From: Chris Park
[Why]
Disabling stream encoder invokes a function that no longer exists
in bring-up.
[How]
Check if the function declaration is NULL in disable stream encoder.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Charlene Liu
Acked-by: Wayne Lin
From: Xi Liu
[Why and how]
Bounding box clocks for DCN351 should be increased as per request
Reviewed-by: Swapnil Patel
Acked-by: Wayne Lin
Signed-off-by: Xi Liu
---
.../amd/display/dc/dml/dcn351/dcn351_fpu.c| 90 ---
1 file changed, 76 insertions(+), 14 deletions
unter that tracks the depth of the exit calls. Do not reallow
until the counter is zero.
Reviewed-by: Duncan Ma
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 14 --
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h | 1 +
2 fil
y if DMCUB is already in IPS2 since we know we need
to exit.
These are turned off by default.
Reviewed-by: Duncan Ma
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c| 7 +--
d
From: Nicholas Kazlauskas
[Why]
To reduce the handshake overhead for static screen and video playback.
[How]
Flip the debug option to enable by default.
Reviewed-by: Duncan Ma
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
drivers/gpu/drm/amd/display/dc/resource/dcn35
From: Xi Liu
[Why]
The hard coded DPM states are only used to fix mismatch states numbers from FW.
[How]
Remove when not needed.
Reviewed-by: Sung joon Kim
Acked-by: Wayne Lin
Signed-off-by: Xi Liu
---
.../display/dc/dml2/dml2_translation_helper.c | 17 +++--
1 file changed
From: Sung Joon Kim
[why & how]
To enable a new interface so alternate scrambling can be done via
security module.
Reviewed-by: Wenjing Liu
Acked-by: Wayne Lin
Signed-off-by: Sung Joon Kim
---
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
.../gpu/drm/amd/display/dc/link/link_dp
iewed-by: Duncan Ma
Acked-by: Wayne Lin
Signed-off-by: Nicholas Kazlauskas
---
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/di
l.org
Reviewed-by: Josip Pavic
Acked-by: Wayne Lin
Signed-off-by: Wenjing Liu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c
b/drivers/gpu/drm/amd/display/dc/core/dc.c
From: Chaitanya Dhere
[Why & How]
For DML2 to decouple it from other DML versions.
Reviewed-by: Dillon Varone
Acked-by: Wayne Lin
Signed-off-by: Chaitanya Dhere
---
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu
- Fix problems for dmub idle power optimization
Acked-by: Wayne Lin
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 673f36543f6c
rce should ignore the CSN event before source completeting topology
probing during resume.
Wayne Lin (3):
drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
drm/dp_mst: Skip CSN if topology probing is not done yet
drm/amd/display: Solve mst monitors blank out problem after resume
conditions.
Cc: Lyude Paul
Cc: Harry Wentland
Cc: Jani Nikula
Cc: Imre Deak
Cc: Daniel Vetter
Cc: sta...@vger.kernel.org
Fixes: 37dfdc55ffeb ("drm/dp_mst: Cleanup drm_dp_send_link_address() a bit")
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 ++-
: Harry Wentland
Cc: Jani Nikula
Cc: Imre Deak
Cc: Daniel Vetter
Cc: sta...@vger.kernel.org
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/display/drm_dp_mst_topology.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c
b/drivers/gpu
st in resume"). And adjust the reason to trigger
dc_link_detect by DETECT_REASON_RESUMEFROMS3S4.
Fixes: 202dc359adda ("drm/amd/display: Defer handling mst up request in resume")
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
1 file changed
This DC patchset brings improvements in multiple areas. In summary, we have:
- Clean up some files style problems
- Program the DET segment when initializing pipes in dcn10_hwseq
- Fix overlay with pre-blend color processing
- Disable SubVP if Hardware Rotation is Used
- Fix few things in DML
- Re
From: Rodrigo Siqueira
Include display_mode_vba_314 and display_rq_dlg_calc_314 to the dml
Makefile.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dml/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu
From: Rodrigo Siqueira
Remove some useless lines from DC Makefiles.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dml2/Makefile | 2 --
drivers/gpu/drm/amd/display/dc/resource/Makefile | 2 --
2 files changed, 4 deletions
From: Rodrigo Siqueira
Remove __cplusplus defines added by accident.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/spl/dc_spl.h | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/spl
From: Rodrigo Siqueira
Drop coasting_vtotal_high and pad from dmub_cmd_update_dirty_rect_data,
since it is not used.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 8
1 file changed, 8 deletions
From: Rodrigo Siqueira
[Why & How]
Identify few unused fileds in dc_caps. Remove them.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dc.h | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/displa
From: Rodrigo Siqueira
Add a callback that program the DET segment when initializing pipes.
Acked-by: Tom Chung
Signed-off-by: Rodrigo Siqueira
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers
ed-by: Rodrigo Siqueira
Signed-off-by: Michael Strauss
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
b/drivers/gpu/drm/amd/display/dc
From: Hansen Dsouza
[why & how]
Add new stream and char control functions based on DCCG spec
Reviewed-by: Muhammad Ahmed
Signed-off-by: Hansen Dsouza
Signed-off-by: Wayne Lin
---
.../amd/display/dc/dccg/dcn35/dcn35_dccg.c| 132 --
1 file changed, 122 insertions(+)
ize calculation.
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Aurabindo Pillai
Signed-off-by: Wayne Lin
---
.../src/dml2_core/dml2_core_dcn4_calcs.c | 93 ++-
1 file changed, 49 insertions(+), 44 deletions(-)
diff --git
a/drivers/gpu/drm/amd/display/dc/dml2/dml2
Signed-off-by: Fangzhi Zuo
Signed-off-by: Wayne Lin
---
.../gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
b/drivers/gpu/drm/amd/display/dc/link/protocols
From: Austin Zheng
[Why and How]
SubVP is not supported when hardware rotation is being used
Reviewed-by: Alvin Lee
Signed-off-by: Austin Zheng
Signed-off-by: Wayne Lin
---
.../display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion
From: Joshua Aberback
[Why]
Cursor size can change dynamically at runtime without re-validation,
so DML should calculate with the max size cursor to cover all cases.
Reviewed-by: Dillon Varone
Signed-off-by: Joshua Aberback
Signed-off-by: Wayne Lin
---
.../dc/dml2/dml21
enable causes urgent latency to be budgeted
properly into the prefetch schedule, avoiding the vulnerability.
Reviewed-by: Alvin Lee
Signed-off-by: Dillon Varone
Signed-off-by: Wayne Lin
---
.../amd/display/dc/dml2/dml21/dml21_translation_helper.c| 6 --
drivers/gpu/drm/amd/display/dc
From: Tom Chung
[Why & How]
Fixed the replay issues and now re-enable the panel replay feature.
Reported-by: Arthur Borsboom
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3344
Reviewed-by: Sun peng Li
Signed-off-by: Tom Chung
Signed-off-by: Wayne Lin
---
.../gpu/drm/amd/dis
From: Hansen Dsouza
[why & how]
Add clock source selection an control functions based on spec
Reviewed-by: Muhammad Ahmed
Signed-off-by: Hansen Dsouza
Signed-off-by: Wayne Lin
---
.../amd/display/dc/dccg/dcn35/dcn35_dccg.c| 281 --
1 file changed, 252 insertions(+)
From: Fudong Wang
[Why & How]
Add a dc debug option to keep crtc on when ips switch.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Fudong Wang
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/dis
recompute should be skipped if no mode change detected on the new
request. If detected, keep checking whether the stream is already on
current state or not.
Cc: Mario Limonciello
Cc: Alex Deucher
Cc: sta...@vger.kernel.org
Reviewed-by: Rodrigo Siqueira
Signed-off-by: Fangzhi Zuo
Signed-off-by:
From: Chris Park
[Why]
Coverity picks up a defect with regards to array underflow.
[How]
Address coverity issue as recommended.
Reviewed-by: Leo Ma
Signed-off-by: Chris Park
Signed-off-by: Wayne Lin
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c | 6 --
1 file changed
From: Hansen Dsouza
[why & how]
Add clock source selection control functions based on spec
Reviewed-by: Muhammad Ahmed
Signed-off-by: Hansen Dsouza
Signed-off-by: Wayne Lin
---
.../amd/display/dc/dccg/dcn35/dcn35_dccg.c| 153 +++---
1 file changed, 99 insertions(+)
From: Gabe Teeger
This reverts commit 4362962f41b8 ("drm/amd/display: Avoid overflow assignment
in link_dp_cts")
Due to regression causing DPMS hang.
Reviewed-by: Alex Hung
Signed-off-by: Gabe Teeger
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dc_
From: Dillon Varone
[WHY & HOW]
When DRR is active with variable refresh rate, add the ability to block DRR
clamped P-State strategies (such as SubVP).
Reviewed-by: Alvin Lee
Signed-off-by: Dillon Varone
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/
replay feature
- Fix null pointer dereference under mst+dsc
Acked-by: Tom Chung
Signed-off-by: Aric Cyr
Signed-off-by: Wayne Lin
---
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
boot on 128b/132b encoding
Swapnil Patel (1):
drm/amd/display: Change ASSR disable sequence
Wayne Lin (2):
drm/amd/display: Remove unnecessary files
drm/amd/display: Defer handling mst up request in resume
Webb Chen (1):
drm/amd/display: Revert "dc: Keep VBios pixel rate div setting
p.org/drm/amd/-/issues/2186
Reviewed-by: Agustin Gutierrez
Acked-by: Wayne Lin
Signed-off-by: Harry Wentland
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 79 ++-
.../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 +-
.../amd/display/amdgpu_dm/amdgpu_dm_plane.h
: Agustin Gutierrez
Reviewed-by: Sun peng Li
Acked-by: Wayne Lin
Signed-off-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd
From: Hersen Wu
[Why & How]
Check return pointer of kzalloc before using it.
Reviewed-by: Alex Hung
Acked-by: Wayne Lin
Signed-off-by: Hersen Wu
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 8
.../gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
index f7b5583ee609
From: Alex Hung
pipe_ctx has a size of MAX_PIPES so checking its index before accessing
the array.
This fixes an OVERRUN issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
.../drm/amd/display/dc/irq/dce110/irq_service_dce110.c| 8
From: Alex Hung
[WHY]
ENGINE_ID_UNKNOWN = -1 and can not be used as an array index. Plus, it
also means it is uninitialized and does not need free audio.
[HOW]
Skip and return NULL.
This fixes 2 OVERRUN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed
From: Hersen Wu
[WHY]
&mode_lib->mp.Watermark and &locals->Watermark are
the same address. memcpy may lead to unexpected behavior.
[HOW]
memmove should be used.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Reviewed-by: Alex Hung
Signed-off-by: Hersen Wu
---
drive
Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
size) instead.
This fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff
[Why & How]
We accidentally upstream unnecessary files. Remove them.
Reviewed-by: Tom Chung
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt | 6 --
drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt | 5 -
drivers/gpu/drm/amd/displa
From: Rodrigo Siqueira
Add REG_SEQ_SUBMIT and REG_SEQ_WAIT_DONE to optimize the burst write for
the regama lut.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
From: Rodrigo Siqueira
This commit add PP_SMU_VER_VG to the pp_smu_ver list.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dm_pp_smu.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dm_pp_smu.h
b
From: Rodrigo Siqueira
This commit just update the code style in two if conditions and in an
static array.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 8
drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c | 2 +-
2
From: Rodrigo Siqueira
Add VCO speed parameters in the bounding box array.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn31/dcn31_fpu.c
From: Rodrigo Siqueira
Add dcn301_fpu prefix to some of the FPU function with the required
adjustments.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
.../amd/display/dc/dml/dcn301/dcn301_fpu.c| 4 ++--
.../amd/display/dc/dml/dcn301/dcn301_fpu.h| 7 +++
.../dc/resource
boot on 128b/132b encoding
Swapnil Patel (1):
drm/amd/display: Change ASSR disable sequence
Wayne Lin (2):
drm/amd/display: Remove unnecessary files
drm/amd/display: Defer handling mst up request in resume
Webb Chen (1):
drm/amd/display: Revert "dc: Keep VBios pixel rate div setting
p.org/drm/amd/-/issues/2186
Reviewed-by: Agustin Gutierrez
Acked-by: Wayne Lin
Signed-off-by: Harry Wentland
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 79 ++-
.../amd/display/amdgpu_dm/amdgpu_dm_plane.c | 4 +-
.../amd/display/amdgpu_dm/amdgpu_dm_plane.h
: Agustin Gutierrez
Reviewed-by: Sun peng Li
Acked-by: Wayne Lin
Signed-off-by: Harry Wentland
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd
From: Hersen Wu
[Why & How]
Check return pointer of kzalloc before using it.
Reviewed-by: Alex Hung
Acked-by: Wayne Lin
Signed-off-by: Hersen Wu
---
.../gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 8
.../gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
b/drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c
index f7b5583ee609
From: Alex Hung
pipe_ctx has a size of MAX_PIPES so checking its index before accessing
the array.
This fixes an OVERRUN issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
.../drm/amd/display/dc/irq/dce110/irq_service_dce110.c| 8
From: Alex Hung
[WHY]
ENGINE_ID_UNKNOWN = -1 and can not be used as an array index. Plus, it
also means it is uninitialized and does not need free audio.
[HOW]
Skip and return NULL.
This fixes 2 OVERRUN issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed
From: Hersen Wu
[WHY]
&mode_lib->mp.Watermark and &locals->Watermark are
the same address. memcpy may lead to unexpected behavior.
[HOW]
memmove should be used.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Reviewed-by: Alex Hung
Signed-off-by: Hersen Wu
---
drive
Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c
size) instead.
This fixes 4 OVERRUN and 2 NEGATIVE_RETURNS issues reported by Coverity.
Reviewed-by: Rodrigo Siqueira
Acked-by: Wayne Lin
Signed-off-by: Alex Hung
---
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff
[Why & How]
We accidentally upstream unnecessary files. Remove them.
Reviewed-by: Tom Chung
Signed-off-by: Wayne Lin
---
drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt | 6 --
drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt | 5 -
drivers/gpu/drm/amd/displa
From: Rodrigo Siqueira
Add REG_SEQ_SUBMIT and REG_SEQ_WAIT_DONE to optimize the burst write for
the regama lut.
Acked-by: Wayne Lin
Signed-off-by: Rodrigo Siqueira
---
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
1 - 100 of 608 matches
Mail list logo