]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: use kvmalloc for dc_state (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Aug 2019 05:29:23 +0000 (00:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Aug 2019 17:47:49 +0000 (12:47 -0500)
commit44f3dd09a8a103018df199345c669978a90c10c1
tree2483769c6034aba7d125efb64e4620007ae67626
parent62cfcb9e23d0e1c4457b27732c6daee3364508da
drm/amd/display: use kvmalloc for dc_state (v2)

It's large and doesn't need contiguous memory.  Fixes
allocation failures in some cases.

v2: kvfree the memory.

Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c