aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2018-06-14 11:02:07 +0000
committerAlex Deucher <[email protected]>2018-06-19 18:51:45 +0000
commit7303b39e46b2f523334591f05fd9566cf929eb26 (patch)
tree1fc6b696d761fc670ca1a41c2a63892a02e39f50 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentdrm/amdgpu: Refactor amdgpu_vram_mgr_bo_invisible_size helper (diff)
downloadkernel-7303b39e46b2f523334591f05fd9566cf929eb26.tar.gz
kernel-7303b39e46b2f523334591f05fd9566cf929eb26.zip
drm/amdgpu: Make amdgpu_vram_mgr_bo_invisible_size always accurate
Even BOs with AMDGPU_GEM_CREATE_NO_CPU_ACCESS may end up at least partially in CPU visible VRAM, in particular when all VRAM is visible. v2: * Don't take VRAM mgr spinlock, not needed (Christian König) * Make loop logic simpler and clearer. Cc: [email protected] Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions