This DC patchset brings improvements in multiple areas. In summary, we
highlight:
- Update IPS checks to properly include all ASICs.
- Refactoring DSC enum dsc_bits_per_comp
- Remove redundant NULL check
- Revert "Refactor SubVP cursor limiting logic"
- Disable DPP RCG before DPP CLK enable
- Ad
d-by: Mounika Adhuri
Reviewed-by: Martin Leung
Signed-off-by: Bhuvanachandra Pinninti
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dsc/dcn20/dcn20_dsc.c | 7 ---
drivers/gpu/drm/amd/display/dc/dsc/dcn20/dcn20_dsc.h | 6 ++
drivers/gpu/drm/amd/display/dc/dsc/dcn401/dcn401_dsc.c
t;drm/amd/display: Protect FPU in
dml2_validate()/dml21_validate()")
Reviewed-by: Aurabindo Pillai
Signed-off-by: Roman Li
Signed-off-by: Ray Wu
---
.../amd/display/dc/dml2/dml2_translation_helper.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/
-off-by: Dominik Kaszewski
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dc_fused_io.c| 12
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 3 ++-
2 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_fused_io.c
b/drivers
From: Alex Hung
[WHY & HOW]
The null check for connector was dereferenced previously in the same
function and the caller.
Reviewed-by: Aurabindo Pillai
Signed-off-by: Alex Hung
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 -
1 file changed, 5 delet
From: Ovidiu Bunea
[why & how]
ASICs that require special RCG/PG programming are determined based
on hw_internal_rev. Update these checks to properly include all such
ASICs.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Ovidiu Bunea
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/displa
gate
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c | 25 +++-
1 file changed, 14 insertions(+), 11 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
b/drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c
index 28348734d900..002eb926cca4 100644
-
Signed-off-by: Ray Wu
---
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 4e7423cfe799..a9bd84469821 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers
ious SubVP
usage
- block SubVP if current HW cursor settings are incompatible
- provide interface for DM to determine if HW cursor should be disabled
due to an attempt to enable SubVP
Reviewed-by: Alvin Lee
Signed-off-by: Dillon Varone
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc
race condition in DPIA AUX transfer")
Cc: sta...@vger.kernel.org
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdg
From: Dillon Varone
[WHY&HOW]
When command submission is blocked by a full mailbox, only wait for
enough space to free to submit the command, instead of waiting for idle.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Dillon Varone
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/displa
-off-by: Meenakshikumar Somasundaram
Signed-off-by: Ray Wu
---
.../gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c| 4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn10/dcn10_resource.c
b/drivers/gpu/drm/amd/display/dc/resource/dcn10
ctual written bytes received from the sink.
Add some messages to facilitate debugging as well.
Fixes: ad6756b4d773 ("drm/amd/display: Shift dc link aux to aux_payload")
Cc: sta...@vger.kernel.org
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
.../di
ing section.
Fixes: ead08b95fa50 ("drm/amd/display: Fix race condition in DPIA AUX transfer")
Cc: sta...@vger.kernel.org
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 +---
1 file changed, 1 insertion(+),
n DPIA AUX transfer")
Cc: sta...@vger.kernel.org
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
From: Wayne Lin
[Why & How]
Fix the checking condition for detecting AUX_RET_ERROR_PROTOCOL_ERROR.
It was wrongly checking by "not equals to"
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
1 f
From: Ryan Seto
This reverts commit bf4cfa2b1854("drm/amd/display: Refactor SubVP cursor
limiting logic")
Reason for revert: Corruption
Reviewed-by: Alvin Lee
Signed-off-by: Ryan Seto
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 52 ++
.../g
From: Taimur Hassan
Summary
* Remove redundant NULL check
* Fix invalid context error in dml helper
* Prepare for Fused I2C-over-AUX
* Allow DSCClock disable
* Vmax / Vmin update for Vsync
Acked-by: Tom Chung
Signed-off-by: Taimur Hassan
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd
From: Charlene Liu
[why]
DPP CLK enable needs to disable DPPCLK RCG first.
The DPPCLK_en in dccg should always be enabled when the corresponding
pipe is enabled.
Reviewed-by: Hansen Dsouza
Signed-off-by: Charlene Liu
Signed-off-by: Ray Wu
---
.../amd/display/dc/dccg/dcn35/dcn35_dccg.c
Pillai
Signed-off-by: Alex Hung
Signed-off-by: Ray Wu
---
.../gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c | 6 --
1 file changed, 6 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
b/drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_re
within mode programming
or mode support.
Reviewed-by: Alvin Lee
Signed-off-by: Austin Zheng
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml21
From: JinZe Xu
[Why&How]
PMFW needs to flush page cache in IPSExit.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: JinZe Xu
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers
From: Austin Zheng
- Store state related info inside mode_lib.
- Fix bad DCFCLK deep sleep
- Update FAMS structure in DMUB header
Reviewed-by: Alvin Lee
Signed-off-by: Austin Zheng
Signed-off-by: Ray Wu
---
.../amd/display/dc/dml2/dml21/inc/dml_top.h | 1 -
.../dml21/inc
From: Nicholas Kazlauskas
This reverts commit b91fff88686e("drm/amd/display: turn off eDP lcdvdd and
backlight if not required")
Reason for revert: Causes S4 lightup regressions.
Reviewed-by: Gabe Teeger
Signed-off-by: Nicholas Kazlauskas
Signed-off-by: Ray Wu
---
drivers/g
From: Charlene Liu
[why]
when dscclk rcg disabled from usr reg option,
dsc clock will remain enabled because driver was doing two things
both dscclk and dsc rcg in the same routine.
Reviewed-by: Hansen Dsouza
Signed-off-by: Charlene Liu
Signed-off-by: Ray Wu
---
.../amd/display/dc/dccg
From: Leo Li
[Why & How]
0 dtbclk is supported by ASICs with DCN35 and above, so allow it during
driver init.
Reviewed-by: Aurabindo Pillai
Signed-off-by: Leo Li
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4
1 file changed, 4 insertions(+)
From: Taimur Hassan
Undefined unnecessary definition to avoid wrong referring
Acked-by: Tom Chung
Signed-off-by: Taimur Hassan
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dmub
freesync is supported,
then there is no harm in updating vmin/vmax registers.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3546
Reviewed-by: ChiaHsuan Chung
Signed-off-by: Aurabindo Pillai
Signed-off-by: Ray Wu
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c| 16
From: Kevin Gao
[Why]
Need option to skip rIOMMU calls for dcn21.
[How]
Added rIOMMU dc config option and check for whether to skip
rIOMMU calls.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Kevin Gao
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dc.h
instructed by vendor.
Add function to get embedded LTTPR target address offset.
Reviewed-by: Wenjing Liu
Signed-off-by: Michael Strauss
Signed-off-by: TungYu Lu
Signed-off-by: Ray Wu
---
.../dc/link/protocols/link_dp_capability.c| 8 +++
.../dc/link/protocols/link_dp_capability.h| 3
Hassan
Signed-off-by: Ray Wu
---
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 2230e36c4f12..c14390efe633 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
function
unconditionally on all pipes.
Reviewed-by: Dillon Varone
Reviewed-by: Aric Cyr
Signed-off-by: Sung Lee
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 25 ++-
.../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 2 +-
.../amd/display/dc/hwss
From: Samson Tam
[Why & How]
Default should be 1 to disable EASF narrow filter sharpening.
Reviewed-by: Alvin Lee
Signed-off-by: Samson Tam
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/sspl/dc_spl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dri
From: Wayne Lin
[Why]
It's unnecessary to set operation_result as invalid reply when
p_notify->result != AUX_RET_SUCCESS.
[How]
Set operation_result as p_notify->result to better understand
the reason for the error
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off
: Ray Wu
---
.../gpu/drm/amd/display/amdgpu_dm/Makefile| 1 +
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 152 +--
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 9 +
.../amd/display/amdgpu_dm/amdgpu_dm_quirks.c | 178 ++
4 files changed, 191 insertions
From: Taimur Hassan
Refactoring some IPS and panel replay structs
Acked-by: Tom Chung
Signed-off-by: Taimur Hassan
Signed-off-by: Ray Wu
---
.../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 50 +--
1 file changed, 46 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm
e4d/0x20d0 [amdgpu]
[ 35.752663] ? srso_alias_return_thunk+0x5/0xfbef5
[ 35.752669] dml21_validate+0x3d4/0x980 [amdgpu]
Reviewed-by: Austin Zheng
Signed-off-by: Aurabindo Pillai
Signed-off-by: Ray Wu
---
.../dc/dml2/dml21/dml21_translation_helper.c | 20 ++-
1 file c
eams prior to committing any
stream updates.
Reviewed-by: Wenjing Liu
Signed-off-by: George Shen
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/dc/
d-by: Aurabindo Pillai
Signed-off-by: Dillon Varone
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 8 +++-
drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 14 ++
drivers/gpu/drm/amd/display/dc/dc_plane.h| 3 +++
3 files changed, 20 insert
update inbox status whenever a message is sent to avoid the
race and determine message completion or idle as quickly as possible.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Dillon Varone
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c | 5 +-
drivers/gpu/drm/amd
From: Gabe Teeger
This reverts commit 2b2e690fcb12("drm/amd/display: Enable urgent latency
adjustment on DCN35")
Reason for revert: Negative power impact.
Reviewed-by: Nicholas Kazlauskas
Signed-off-by: Gabe Teeger
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc
This DC patchset brings improvements in multiple areas. In summary, we
highlight:
* Refactor DMI quirks
* Fix link-off issue triggered by quick unplug/replug
* Fix race condition when submitting DMUB commands
* Correct reply value when AUX Write incomplete
* Backup / restore plane config only on u
rg
Cc: Mario Limonciello
Cc: Alex Deucher
Reviewed-by: Ray Wu
Signed-off-by: Wayne Lin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
.../drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c| 10 --
2 files changed, 10 insertions(+), 3 de
;)
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3546
Reviewed-by: Sun peng Li
Signed-off-by: John Olender
Signed-off-by: Aurabindo Pillai
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++
drivers/gpu/drm/amd/display/dc/core/dc.c | 13
This DC patchset brings improvements in multiple areas. In summary, we
highlight:
* Remove unused tunnel BW validation
* Refactor DML21 initialization and configuration
* Fix link override sequencing when switching between DIO/HPO
* Ensure OLED minimum luminance
Cc: Daniel Wheeler
*** BLURB
hread synchronization
errors due to added programming in escape code path and potential HPD
interrupts.
Reviewed-by: George Shen
Signed-off-by: Michael Strauss
Signed-off-by: Mike Katsnelson
Signed-off-by: Ray Wu
---
.../amd/display/dc/hwss/dce110/dce110_hwseq.c | 2 +-
.../amd/display/dc/hwss/d
From: Taimur Hassan
Summary for changes in firmware:
* Add AMD brightness adjustment feature for edp
* Fix BL enable
* Revise low power init sequence
* Fix brightness delta after IPS1 entry
* Adjusted DP blanking sequence
Acked-by: Wayne Lin
Signed-off-by: Taimur Hassan
Signed-off-by: Ray Wu
From: Taimur Hassan
Summary:
* Remove unused tunnel BW validation
* Refactor DML21 initialization and configuration
* Fix link override sequencing when switching between DIO/HPO
* Ensure OLED minimum luminance
Acked-by: Wayne Lin
Signed-off-by: Taimur Hassan
Signed-off-by: Ray Wu
From: Mario Limonciello
[Why]
OLED panels can be fully off, but this behavior is unexpected.
[How]
Ensure that minimum luminance is at least 1.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4338
Reviewed-by: Alex Hung
Signed-off-by: Mario Limonciello
Signed-off-by: Ray Wu
ir pg_control functions
only if according power_gate flags are enabled.
Reviewed-by: Sun peng Li
Signed-off-by: Ivan Lipski
Signed-off-by: Ray Wu
---
.../amd/display/dc/hwss/dcn314/dcn314_hwseq.c | 37 +--
.../amd/display/dc/hwss/dcn314/dcn314_hwseq.h | 2 +
.../amd/display/d
From: Ilya Bakoulin
[Why/How]
Separate the checks for set_gsl and set_gsl_source_select, since
source_select may not be implemented/necessary.
Reviewed-by: Nevenko Stupar
Signed-off-by: Ilya Bakoulin
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 9
lock parameters and bounding box configurations
from various sources, including hardware defaults and software policies.
- Improved the clarity of the code by renaming functions and variables for
better understanding of their purposes.
Reviewed-by: Austin Zheng
Signed-off-by: Wenjing Liu
Signed-off-by:
gned-off-by: Ray Wu
---
.../drm/amd/display/dc/core/dc_link_exports.c | 5 -
drivers/gpu/drm/amd/display/dc/dc.h | 13 --
drivers/gpu/drm/amd/display/dc/inc/link.h | 3 -
.../gpu/drm/amd/display/dc/link/link_dpms.c | 5 +-
.../drm/amd/display/dc/link/link_factory.c|
From: Karthi Kandasamy
[Why & How]
Expose some function for new platform use
Reviewed-by: Nevenko Stupar
Signed-off-by: Karthi Kandasamy
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dsc/dcn401/dcn401_dsc.c | 6 ++
drivers/gpu/drm/amd/display/dc/dsc/dcn401/dcn401_dsc.h
by: Harold Sun
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/dc_hw_types.h| 1 +
drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 8
2 files changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
b/drivers/gpu/drm/amd/
From: Peichen Huang
[WHY]
Prevents null pointer dereferences to enhance function robustness
[HOW]
Adds early null check and return false if invalid.
Reviewed-by: Cruise Hung
Signed-off-by: Peichen Huang
Signed-off-by: Ray Wu
---
drivers/gpu/drm/amd/display/dc/core/dc.c | 6 --
1 file
56 matches
Mail list logo