drm/amd/display/dml2: use vzalloc rather than kzalloc
[ Upstream commit cd9e6d6f ] The structures are large and they do not require contiguous memory so use vzalloc. Fixes: 70839da6 ("drm/amd/display: Add new DCN401 sources") Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4126 Cc: Aurabindo Pillai <aurabindo.pillai@amd.com> Reviewed-by:Aurabindo Pillai <aurabindo.pillai@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 20c50a9a) Cc: stable@vger.kernel.org Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment