drm/radeon: use a single doorbell for cik kms compute
authorAndrew Lewycky <Andrew.Lewycky@amd.com>
Wed, 13 Nov 2013 20:54:17 +0000 (15:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Nov 2013 20:56:22 +0000 (15:56 -0500)
commitd5754ab8f9b0f36ab3d6825a3555db48f28145d4
tree0c942f43eacfaee5c1b56ea0c5330cfa790f738a
parent4cc948b94a222c310ae089c36718aac7a03aec90
drm/radeon: use a single doorbell for cik kms compute

A single doorbell page is plenty for cik kms compute.
Use a single page and manage doorbell allocation by
individual doorbells rather than pages.  Identify
doorbells by their index rather than byte offset.

Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c