]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Feb 2023 11:59:44 +0000 (12:59 +0100)
commit383e32fa274a330dbf2d2db538b6bf2f9ef390aa
tree30b8804f8e3be650086aa2e7116b628170565921
parent7dbd205349f1fb098057c28a9a2af244aa868f72
drm/amd/display: Unassign does_plane_fit_in_mall function from dcn3.2

[ Upstream commit 275d8a1db261a1272a818d40ebc61b3b865b60e5 ]

[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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_init.c