]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: use kvzalloc again in dc_create_state
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 14:25:36 +0000 (10:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 21:17:22 +0000 (17:17 -0400)
commitd91d2dbd11222bac87f485838032bcd109cb3181
tree5f8e4befea6c2ec56118bc9d36dcda5b3e700877
parentfe335fe03bed3e3c901e2485aec24cb90c0d1da7
drm/amdgpu/display: use kvzalloc again in dc_create_state

It looks this was accidently lost in a follow up patch.
dc context is large and we don't need contiguous pages.

Fixes: 35baca9497f8 ("drm/amd/display: Multi display cause system lag on mode change")
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Aric Cyr <aric.cyr@amd.com>
Cc: Alex Xu <alex_y_xu@yahoo.ca>
Reported-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/dc/core/dc.c