drm/amdgpu: clean framebuffer with GPU
authorPixel Ding <Pixel.Ding@amd.com>
Tue, 24 Jan 2017 03:39:48 +0000 (11:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:40 +0000 (23:52 -0400)
commitcbabc8b343953e7bc6d70b5a22aaebbd73ae9934
treea75441cb274ebeaf34f7bb130ee6444f1a0060e8
parent9bc92b9c8d0919b61660300249fa67e291ae0ecc
drm/amdgpu: clean framebuffer with GPU

CPU is not efficient to clean framebuffer especially under
virtualization, then loading driver takes long time which causes
timeout of mailbox handshake.

Signed-off-by: Pixel Ding <Pixel.Ding@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c