summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-06-14 13:02:07 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-06-19 13:51:45 -0500
commit7303b39e46b2f523334591f05fd9566cf929eb26 (patch)
tree1fc6b696d761fc670ca1a41c2a63892a02e39f50 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h
parent5e9244ff585239630f15f8ad8e676bc91a94ca9e (diff)
downloadlinux-7303b39e46b2f523334591f05fd9566cf929eb26.tar.bz2
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: stable@vger.kernel.org Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
0 files changed, 0 insertions, 0 deletions