mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
drm/amd/display/dml2: use vzalloc rather than kzalloc
The structures are large and they do not require contiguous memory so use vzalloc. Fixes:70839da636("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 commit20c50a9a79) Cc: stable@vger.kernel.org
This commit is contained in:
parent
2036be3174
commit
cd9e6d6fdd
2 changed files with 10 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue