diff options
author | Christian König <christian.koenig@amd.com> | 2017-02-28 10:36:43 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-04 22:41:42 +0100 |
commit | d6895ad39f3b396be199f5b6fdfb8cde4be7bbf7 (patch) | |
tree | 1aca90d615917011d23ec0d8eeeb0980a30b1bc7 /drivers/gpu/drm/amd/amdgpu/vega10_ih.c | |
parent | drm/amdgpu: refine SR-IOV firmware VRAM reservation to protect data (diff) | |
download | linux-d6895ad39f3b396be199f5b6fdfb8cde4be7bbf7.tar.xz linux-d6895ad39f3b396be199f5b6fdfb8cde4be7bbf7.zip |
drm/amdgpu: resize VRAM BAR for CPU access v6
Try to resize BAR0 to let CPU access all of VRAM.
v2: rebased, style cleanups, disable mem decode before resize,
handle gmc_v9 as well, round size up to power of two.
v3: handle gmc_v6 as well, release and reassign all BARs in the driver.
v4: rename new function to amdgpu_device_resize_fb_bar,
reenable mem decoding only if all resources are assigned.
v5: reorder resource release, return -ENODEV instead of BUG_ON().
v6: squash in rebase fix
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vega10_ih.c')
0 files changed, 0 insertions, 0 deletions