]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc9: don't keep stolen memory on vega20
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2018 14:46:27 +0000 (09:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 2 Sep 2018 15:16:52 +0000 (10:16 -0500)
commit88eca4639fd11635ce18b98e3a46b771f8649b66
tree0fa7c13d77420aa12bc3f77211f0bee487bc9b7e
parent06caac39372a81f24774dc15ef534718eee3b5fa
drm/amdgpu/gmc9: don't keep stolen memory on vega20

Vega20 does not appear to be affected by the same issue
as vega10.  Enable the full stolen memory handling on
vega20.  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.

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