diff options
author | Dennis Li <Dennis.Li@amd.com> | 2021-02-22 13:22:57 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-27 01:00:56 +0300 |
commit | f89b881c81d9a6481fc17b46b351ca38f5dd6f3a (patch) | |
tree | 958d2078b6fc3da938eba6c81ae7b300b2a2e61e /drivers/gpu/drm/drm_fb_helper.c | |
parent | 6c65a582ee7616ee6b86eb954b0daac959dc5cc3 (diff) | |
download | linux-f89b881c81d9a6481fc17b46b351ca38f5dd6f3a.tar.xz |
drm/amdgpu: reserve backup pages for bad page retirment
To ensure user has a constant of VRAM accessible in run-time, driver
reserves limit backup pages when init, and return ones when bad pages
retired, to keep no change of unused memory size.
v2: refine codes to calculate badpags threshold
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Dennis Li <Dennis.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
0 files changed, 0 insertions, 0 deletions