]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: free the pre-OS console framebuffer after the first modeset
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Dec 2020 16:52:00 +0000 (11:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:06:30 +0000 (23:06 -0500)
commitd86c1ea2ce03738886463ad141992b4b04c5958a
tree617ea5bccc427089188fcc6c8bebd746fb3cc3ce
parentc8d5ae87d27b8b40769c85f445dc7c3441cf539d
drm/amdgpu: free the pre-OS console framebuffer after the first modeset

Rather than in late_init to avoid race conditions between freeing the
buffers and the initial modeset.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c