Hersen Wu
8e65a1b711
drm/amd/display: Add NULL pointer check for kzalloc
...
[Why & How]
Check return pointer of kzalloc before using it.
Reviewed-by: Alex Hung <alex.hung@amd.com >
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-04-26 17:22:43 -04:00
Rodrigo Siqueira
75e77fb769
drm/amd/display: Remove legacy code
...
[Why & How]
Remove legacy code which is unnecessary.
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-03-20 13:38:12 -04:00
Rodrigo Siqueira
119badce8b
drm/amd/display: Enable fast update for DCN314
...
[Why & How]
Enable legacy fast update for DCN314
Acked-by: Wayne Lin <wayne.lin@amd.com >
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-03-20 13:38:12 -04:00
Nicholas Kazlauskas
d642b0100b
drm/amd/display: Update min Z8 residency time to 2100 for DCN314
...
[Why]
Some panels with residency period of 2054 exhibit flickering with
Z8 at the end of the frame.
[How]
As a workaround, increase the limit to block these panels.
Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Syed Hassan <syed.hassan@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-29 16:49:00 -05:00
Mounika Adhuri
8b8eed05a1
drm/amd/display: Refactor resource into component directory
...
[WHY]
Move all resource files to unique folder resource.
[HOW]
Created resource folder in dc, moved the
dcnxx_resource.c and dcnxx_resource.h files into
corresponding new folders inside the resource and
made appropriate changes for compilation in Makefiles.
Reviewed-by: Martin Leung <martin.leung@amd.com >
Acked-by: Alex Hung <alex.hung@amd.com >
Signed-off-by: Mounika Adhuri <moadhuri@amd.com >
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2023-11-17 09:30:50 -05:00