summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ast/ast_fb.c
diff options
context:
space:
mode:
authorOak Zeng <ozeng@amd.com>2018-11-30 09:33:02 -0600
committerAlex Deucher <alexander.deucher@amd.com>2018-11-30 12:01:04 -0500
commit88dc26e46beb964d8c4d80f7eb33bef51fc70c9a (patch)
tree9108986ee2263f72b8089c788201326425c2e8c0 /drivers/gpu/drm/ast/ast_fb.c
parent082f0f21f71c522491a0cac4895b32bbab1b1006 (diff)
downloadtalos-obmc-linux-88dc26e46beb964d8c4d80f7eb33bef51fc70c9a.tar.gz
talos-obmc-linux-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 <ozeng@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/ast/ast_fb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud