OSDN Git Service

drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2
authorGeorge Shen <george.shen@amd.com>
Thu, 19 Jan 2023 22:09:54 +0000 (17:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jan 2023 19:03:24 +0000 (14:03 -0500)
commitcf76ce68c214b78bf151e84abaa0a2704fd38574
tree7296380d547da68b3ab8853ca410d71dfb88584f
parent0c2bfcc338ebd920cb0f4ddcfe6ad8f07e0064b0
drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2

[Why]
The hwss function does_plane_fit_in_mall not applicable to dcn3.2 asics.
Using it with dcn3.2 can result in undefined behaviour.

[How]
Assign the function pointer to NULL.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_init.c