aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorOak Zeng <[email protected]>2018-11-30 15:33:02 +0000
committerAlex Deucher <[email protected]>2018-11-30 17:01:04 +0000
commit88dc26e46beb964d8c4d80f7eb33bef51fc70c9a (patch)
tree9108986ee2263f72b8089c788201326425c2e8c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/ttm: fix LRU handling in ttm_buffer_object_transfer (diff)
downloadkernel-88dc26e46beb964d8c4d80f7eb33bef51fc70c9a.tar.gz
kernel-88dc26e46beb964d8c4d80f7eb33bef51fc70c9a.zip
drm/amdgpu: Fix num_doorbell calculation issue
When paging queue is enabled, it use the second page of doorbell. The AMDGPU_DOORBELL64_MAX_ASSIGNMENT definition assumes all the kernel doorbells are in the first page. So with paging queue enabled, the total kernel doorbell range should be original num_doorbell plus one page (0x400 in dword), not *2. Signed-off-by: Oak Zeng <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions