Sung Joon Kim
cb5b29178e
drm/amd/display: Rework power sequence and resource allocation logic
...
Rework part of the modifications made to the power sequence and resource
allocation logic.
Reviewed-by: Xi (Alex) Liu <xi.liu@amd.com >
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com >
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-04-16 21:24:52 -04:00
Sung Joon Kim
97d9e8cea2
drm/amd/display: Modify power sequence
...
Need to update the power sequence to help prevent potential issues
like multi-display or multi-plane.
Reviewed-by: Duncan Ma <duncan.ma@amd.com >
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com >
Signed-off-by: Sung Joon Kim <sungjoon.kim@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-04-12 00:36:40 -04:00
Xi (Alex) Liu
de2d1105a3
drm/amd/display: add root clock control function pointer to fix display corruption
...
[Why and how]
External display has corruption because no root clock control function. Add the function pointer to fix the issue.
Reviewed-by: Daniel Miess <daniel.miess@amd.com >
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Acked-by: Roman Li <roman.li@amd.com >
Signed-off-by: Xi (Alex) Liu <xi.liu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-04-09 22:04:23 -04:00
Sung Joon Kim
fbc836cdbf
drm/amd/display: Remove read/write to external register
...
[why&how]
We need to remove the reference to these registers to
prevent any usage in the future.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Acked-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Sung Joon Kim <sungkim@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-03-27 01:36:04 -04:00
Sung Joon Kim
be524af47a
drm/amd/display: Update dcn351 to latest dcn35 config
...
[why & how]
There were some fixes in dcn35 that need
to be ported over to dcn351 to prevent any
regression.
Signed-off-by: Sung Joon Kim <sungkim@amd.com >
Reviewed-by: Liu, Xi (Alex) <xiliu102@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-03-27 01:35:12 -04:00
Hamza Mahfooz
2728e9c7c8
drm/amd/display: add DC changes for DCN351
...
Add DC support for DCN 3.5.1.
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-03-04 15:59:08 -05:00
Allen Pan
db8391479f
drm/amd/display: correct static screen event mask
...
[Why]
Hardware register definition changed
Reviewed-by: Charlene Liu <charlene.liu@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Allen Pan <allen.pan@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-02-07 12:26:22 -05:00
Yiling Chen
9af68235ad
drm/amd/display: Fix static screen event mask definition change
...
[why]
The static screen event mask definition is different
betwnn DCN31 after and before.
[how]
Rename DCN30_set_static_screen_control to DCN31.
Reviewed-by: Charlene Liu <charlene.liu@amd.com >
Acked-by: Tom Chung <chiahsuan.chung@amd.com >
Signed-off-by: Yiling Chen <yi-ling.chen2@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-01-29 15:39:20 -05:00
Revalla
f6154d8bab
drm/amd/display: Refactor INIT into component folder
...
[why]
Move all init files to hwss folder.
[how]
moved the dcnxx_init.c and .h files into inside the hwss and cleared the
linkage errors.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Reviewed-by: Martin Leung <martin.leung@amd.com >
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com >
Signed-off-by: Revalla <hrevalla@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-01-03 10:47:29 -05:00