]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/gmc9: rework stolen vga memory handling
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Aug 2018 14:31:56 +0000 (09:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sun, 2 Sep 2018 15:16:51 +0000 (10:16 -0500)
commitbb7acb40e82fcc8d7e5d9e7572ba91174490fb6e
tree48d430cad8baa3e68a3ee506628c28675ff48e07
parent8c5b9cd649dcf4b3ac260a8870f3de1e75f69890
drm/amdgpu/gmc9: rework stolen vga memory handling

No functional change, just rework it in order to adjust the
behavior on a per asic level.  The problem is that on vega10,
something corrupts the lower 8 MB of vram on the second
resume from S3.  This does not seem to affect Raven, other
gmc9 based asics need testing.

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