Karen Chen
dbf58a9dad
drm/amd/display: Add more DC HW state info to underflow logging
...
[Why]
Debugging underflow issues frequently requires knowing the
HW state at the time of underflow. To enable capturing this
HW state information, interface functions are needed for the
various DC HW blocks.
[How]
This change adds the interface functions to read HW state for
the following DC HW blocks:
- HUBBUB
- HUBP
- DPP
- MPC
- OPP
- DSC
- OPTC
- DCCG
Reviewed-by: George Shen <george.shen@amd.com >
Signed-off-by: Karen Chen <Karen.Chen@amd.com >
Signed-off-by: Wayne Lin <wayne.lin@amd.com >
Tested-by: Dan Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-10-28 09:57:44 -04:00
Muhammad Ahmed
5dc0ec782e
drm/amd/display: Adding interface to log hw state when underflow happens
...
[why]
Will help us better debug underflow issues.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Muhammad Ahmed <Muhammad.Ahmed@amd.com >
Signed-off-by: Roman Li <roman.li@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-08-04 14:40:32 -04:00
Lo-an Chen
e01f07cb92
drm/amd/display: Fix seamless boot sequence
...
[WHY]
When the system powers up eDP with external monitors in seamless boot
sequence, stutter get enabled before TTU and HUBP registers being
programmed, which resulting in underflow.
[HOW]
Enable TTU in hubp_init.
Change the sequence that do not perpare_bandwidth and optimize_bandwidth
while having seamless boot streams.
Cc: Mario Limonciello <mario.limonciello@amd.com >
Cc: Alex Deucher <alexander.deucher@amd.com >
Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Lo-an Chen <lo-an.chen@amd.com >
Signed-off-by: Paul Hsieh <paul.hsieh@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2025-02-03 12:13:38 -05:00
Aurabindo Pillai
78f608d7af
drm/amd/display: Enable DCC on DCN401
...
[WHAT]
Add registers and entry points to enable DCC on DCN4x
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com >
Signed-off-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-06-27 17:10:39 -04:00
Revalla Hari Krishna
f9c7818c9d
drm/amd/display: Refactor HUBBUB into component folder
...
[why]
cleaning up the code refactor requires hubbub to be in its own component.
[how]
Move all files under newly created hubbub folder and fix the makefiles.
Reviewed-by: Martin Leung <martin.leung@amd.com >
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Revalla Hari Krishna <harikrishna.revalla@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-04-30 09:56:31 -04:00