]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: use vmalloc for struct dc_state
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Jun 2024 21:35:41 +0000 (17:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Jul 2024 20:06:52 +0000 (16:06 -0400)
commitb73581329adb9e8105277a463a4d1801868b22e7
tree1994b48d17a7675fa4c2714713b200d15466f825
parent15eb8573ad72a97b8f70e3c88b9bef6ddc861f77
drm/amd/display: use vmalloc for struct dc_state

This is a big structure so use vmalloc as malloc can
fail when there is memory pressure.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3454
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c