]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc9: don't keep stolen memory on Raven
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2018 14:41:12 +0000 (09:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 2 Sep 2018 15:16:51 +0000 (10:16 -0500)
commitb36e7510d4bc7506b67bbcaf018bf173179b2399
treedee0e299b6780f9e584d494dfc575fd1ba7d6cac
parentbb7acb40e82fcc8d7e5d9e7572ba91174490fb6e
drm/amdgpu/gmc9: don't keep stolen memory on Raven

Raven does not appear to be affected by the same issue
as vega10.  Enable the full stolen memory handling on
Raven.  Reserve the appropriate size at init time to avoid
display artifacts and then free it at the end of init once
the new FB is up and running.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106639
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c